Questions tagged as 'composer'

1
answer

With Docker, should I use Composer in the container or the host?

I have some doubts about the development environment. I have a project in Laravel and I'm using Docker. When will you use Laravel's Composer or Artisan, what is the right place to do it? On my host machine or in the Docker container?     
asked by 05.10.2017 / 21:47
1
answer

How does the composer behave when updating packages?

I have the ^1.0.0 version of a package. As well as autoload prefix "\Empresa\Pacote": "lib/" . If I rename the directory lib/ to src/ . The right thing would be to make the package available as v1.0.1 o...
asked by 17.11.2016 / 20:58
1
answer

Composer encoding problem

Currently my composer file started to present some errors in the messages that seem like encoding errors, someone has already gone through this and knows how to solve? I asked if there was anything I could find but I did not find any answer abou...
asked by 23.08.2016 / 16:39
3
answers

Composer does not install packages

Recently I installed ubuntu on my machine and I'm preparing the environment to work with Laravel. Everything is working except that I can not create the Laravel project, when I execute command composer create-project laravel/laravel projeto...
asked by 03.03.2016 / 19:45
2
answers

Error installing Composer on Windows 7 64bit with Wampserver 2.5

I'm trying to install Composer on W7 64bits. Using the installer for Windows that the Composer Web site provides (Composer-Setup.exe). I have installed Wampserver 2.5 with php5.5.12 and Apache2.4.9. Openssl is enabled in php.ini. I'm havin...
asked by 19.04.2015 / 12:47
1
answer

Composer Autoload is not working

Good evening (or any shift if you are from the future). Well, my problem is objective, but so far without a solution. I developed an entire project on my windows PC using XAMPP. As the system has several classes I'm using autoload of th...
asked by 19.06.2018 / 02:17
1
answer

Composer extremely slow and inconsistent

Some days I'm having a problem with my composer that does not make much sense (it does not have a default / default logic, the errors are almost random), so I'm not able to solve it, what happens is as follows I have a mini framework, and I'm...
asked by 14.08.2017 / 19:42
1
answer

Fatal Error: Silex \ Application :: share ()

I'm developing an API in Silex and when trying to test it on my server, I'm encountering the following error:    Fatal error: Call to undefined method Silex \ Application :: share () in /var/www/App/Config/config.php on line 24 And the...
asked by 24.07.2017 / 21:34
1
answer

Create an event / plugin for Composer [closed]

I've developed a WebServer Portable and I'm also creating a portable console to use Composer. I have a problem. I need to create a plugin for Composer. I need you to download any package with Composer, it will edit the compositor.json "scr...
asked by 26.07.2017 / 20:26
1
answer

Correct way to install Laravel on Linux

I'm starting in the Laravel Framework and I'm having some problems with installing on Linux. I made the installation by composer using the command php composer.phar global require "laravel / installer" , set the $ PATH path export PATH="$ PATH...
asked by 11.03.2017 / 04:28