Questions tagged as 'composer'

4
answers

NPM, Bower and Composer, which one to use?

Can anyone explain the difference between NPM, Bower and Composer. They are all package managers, correct? But when should each be used?     
asked by 05.01.2017 / 20:09
1
answer

Netbeans project with git and Composer repository

I'm developing a PHP project that requires two separate libraries. I am required to use NETBEANS. To develop the three separately but at the same time and because the main project "MAIN PROJECT" needs the other two, I have idealized: All...
asked by 06.03.2015 / 16:55
1
answer

What is ~ (useful) and ^ (circumflex) in the Composer versioning scheme?

In some cases, I see that some libraries that use Composer , place ~ or ^ at the beginning of the library version, so : "orchestra/testbench" : "^3.6" Or "phpunit/phpunit" : "~7.0" I wanted to know what the purpose of...
asked by 18.07.2018 / 17:55
2
answers

How to find out the version of Laravel installed in my project?

I was with the version of Laravel 4.2.7 installed on my computer. I missed two important methods in Illuminate\Database\Eloquent\Builder , which is whereDoesntHave and doesntHave . When running a composer update...
asked by 03.02.2015 / 20:19
2
answers

How to use Packages in Laravel 4?

I am new to the Laravel 4 framework. In Laravel 3 it was simple to use Bundles. In version 4 it was removed the use of the Bundles and started to use Packages, but I did not understand how it is used, even seeing in the documentation. For exampl...
asked by 13.12.2013 / 17:38
1
answer

Install Codeigniter 3 with Doctrine and Composer

How best to install doctrine via
asked by 04.05.2015 / 23:35
1
answer

How to change the version of PHP in which Composer runs on Linux?

I installed the composer on my Ubuntu through the following command: apt-get install composer Ubuntu currently supports multiple versions of PHP installed. I have PHP5.6, PHP7.0 and PHP7.1 installed on my machine. When I only had PHP5.6,...
asked by 16.03.2017 / 16:22
2
answers

How to create my own composite package in github?

I never distribute a library using a repository with composer, I have no experience with this, what I tried to do is was to create a folder structure like this: ./ |-- composer.json |-- src/ |-- Test/ |-- Foo.php In the% r...
asked by 24.11.2015 / 20:57
2
answers

Merge project when using the "create-project composer" command

I have a project (a blog) based on laravel / laravel (note that this is the application and not the framework only) , but I want to send to my repository only the contents of the folders app/ and resources/ (folder native to Lara...
asked by 27.05.2016 / 08:02
1
answer

Composer - What is it and what is it for?

I have seen several times in projects the file composer.json ! Would you like to know what it is and what it is used for?     
asked by 04.03.2016 / 01:49