Questions tagged as 'composer'

0
answers

Install Laravel with Laradock

I just installed docker and consequently laradock, how do I install laravel now? since the composer command does not work     
asked by 15.01.2018 / 15:25
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

Installing and configuring the composer on my localhost

To use the local composer should I install it in the folder where my projects are located? In case C: / Users / Eu / Jobs ... And as there are several projects (sites), for each one I must have composer.json right? But what about the libr...
asked by 14.10.2017 / 14:36
2
answers

Composer installation error: 'could not find the specified module (php_intl.dll)'

I'm using windows 10, 64 bit. When you try to install the composer, it displays the error: The php that is being nominated in the composer installation is Wamp (located at c: /wamp64/bin/php/php7.0.10), and I have already checked that t...
asked by 21.08.2017 / 20:32
0
answers

Composer with Bootstrap?

How can I call bootstrap using composer , I tried for some time but unfortunately I could not get anyone to have any ideas? Vendor folder path of composer <?php require "../../vendor/autoload.php"; ?> Code usi...
asked by 30.07.2017 / 06:22
1
answer

My autoload by the composer is not working

I'm learning to do autoload using the composer, but I'm getting the following error while performing the tests:    Fatal error: Class 'App \ Model \ Database' not found in /var/www/Library/index.php on line 5 It's like he's not finding th...
asked by 01.07.2017 / 21:23
0
answers

How to use psr-4 in composer with different subfolders

How do you configure my directories in composewr.json, My directories are like this and are not right Vizuare -vendor -composer -php-class -src -DB -Model -Page.php -phpmailer -rain...
asked by 04.07.2017 / 22:50
0
answers

How to connect the things I downloaded from the composer with my project?

I downloaded the Composer stuff (do not know if it's okay). I downloaded the composer exe there from the official website and git bash. Then I wanted to use a github project that is OPEN TICKET. Then I put that require "kriansa / openboleto": "v...
asked by 12.06.2017 / 16:48
0
answers

Class PHPUnit \ DbUnit \ TestCase not found

Galera When I run a test in phpunit whose class extends from \ PHPUnit \ DbUnit \ TestCase I get this message: PHP Fatal error: Class 'PHPUnit\DbUnit\TestCase' not found But when I run a test of a class that extends from \ PHPUnit \ Fra...
asked by 06.05.2017 / 01:36
1
answer

Composer Autoload does not find class

I registered the autoload on composer.json "autoload": { "psr-4": { "Racioly\MeuPackage\": "src/" } } I created a folder called test in the project root, and I also created a file teste.php , this...
asked by 04.04.2017 / 18:52