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,...
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...
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...
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...
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...
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...
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...
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...
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...