Most voted "commiserate" questions
Composer is a tool for managing dependencies in PHP. It allows you to declare the libraries your project depends on and it will manage (install / update) them for you.
Learn more…189 questions
Sort by count of
-
0
votes1
answer564
viewsComposer error while downloading phpdoc
Operating System: Ubuntu 14.04 PHP 5.3.10 Curl 7.22.0 I am trying to download phpdocumentor 2.0.0. But it gives this error: Your requirements could not be resolved to an installable set of packages.…
-
0
votes1
answer67
viewsError Running Phpdoc in Ubuntu
After downloading phpdoc by Composer.phar What happened successfully. I try to execute: ~$ ./phpdoc In Terminal and get the following error message: ubuntualex@ubuntualex-VirtualBox:~/vendor/bin$…
-
0
votes1
answer1032
viewsPHP Artisan Make:Model Command Does Not Work
I’m using Composer to generate my PHP files and other things. I think it makes programming much easier. For example, to generate a Controller I do so: php artisan controller:make NomeController…
-
0
votes1
answer126
viewsError using Doctrine installed via Poser
I installed Doctrine via Poser: { "require": { "doctrine/common": "2.4.*", "doctrine/dbal": "2.4.*", "doctrine/orm": "2.4.*", "phpunit/phpunit": "3.7.*" } } When running unit tests, the file…
-
0
votes0
answers89
viewsMINGW32 Composer: command not found - windows 8
Hello, I installed git in windows 8 and I have a problem with "cmd" Composer works and MINGW32 that came in git appears the message "Composer: command not found" someone knows how I fix this? NOTE:…
-
0
votes0
answers122
viewsMigration problem from PSR-0 to PSR-4
I’m new here but I’ve been programming for over 10 years in PHP and I’ve been programming Object Oriented for a short time. Doing some tests I saw that the PSR-0 is deprecated and then a project of…
-
0
votes0
answers83
viewsProblem with Composer - PSR-4
I am studying Composer and its autoload forms (classmap, file, psr-0, psr-4), but in my example it is appearing with the following error: Fatal error: Class 'Library\Exemplo' not found…
-
0
votes1
answer173
viewsZF2 - Runtimeexception: Module (Zfcuserdoctrineorm) could not be initialized
I just downloaded the Composer installer. This is what I have in my Composer.json: "require": { "php": ">=5.3.3", "zf-commons/zfc-user": "dev-master", "zendframework/zendframework": "2.3.*",…
-
0
votes1
answer185
viewsTest autoload problem with Phpunit and Composer on Windows
I’m having a problem with the Composer on Windows 7. I developed a project with the following structure: Simpla_HTML |--/src | |--/Simpla | |--/Html | |--/Element.php /---tests | |--/Simpla |…
-
0
votes1
answer42
viewsFailed to execute git status when updating Doctrine
I’m servicing a system, and I need to upload some changes to the production server. Some of these changes involve mapping and adding new entities to the bank. The problem: the file .…
-
0
votes0
answers50
viewsIs it possible to install Koel on a simple php server?
I was wondering if it’s possible to install the Koel, on a simple PHP server, basic hosting. If yes, how can I install correctly ?
php laravel commiserate hosting configurationasked 8 years, 5 months ago Jefferson Mello Olynyki 864 -
0
votes1
answer1030
viewsComposer update problem - Laravel
Good afternoon to all I am trying to install a package by Composer on the Laravel, and by typing "Composer require Bert/ldap-Authenticator" it does the installation, but produces the following…
-
0
votes0
answers89
viewsProblems with Composer and Laravel 5.0 on Mac El Capitan
I have the following error, after running a command to install a versioned project. Script php Artisan clear-Compiled Handling the pre-update-cmd Event returned with an error [Runtimeexception]…
-
0
votes1
answer355
viewsInstall Laravel 5.3 on Ubuntu 14.04.5 server
When executing the command composer create-project --prefer-dist laravel/laravel blog Laravel 5.2 is installed. My machine is installed with php 5.5.9 but php 5.6.26 is installed on the site. Why is…
-
0
votes1
answer25
viewsHow to define the required operating system in the Composer?
I built a PHP package for deployment via Composer, but this only works on Windows machines. In Composer.json it is possible to specify this restriction?
commiserateasked 8 years ago Fábio Jânio 3,407 -
0
votes1
answer51
viewsComposer init, creates file in different directories
I installed Composer, git, github on partition C:, I have Apache24 server and php7 innate on partition D:, I entered htdocs/SBFC folder my server site on command line and did an init Composer, it…
commiserateasked 8 years ago Valdeir Pereira 83 -
0
votes1
answer44
viewsRespect Rest does not work when trying to implement in my project
I am testing a web application, but I need to implode the use of hoarding and I thought better to work with Respect Rest. I followed all the instructions of use of the class, but I can not print if…
-
0
votes1
answer623
viewsI need Error Help when trying to install Composer
I am doing maintenance and improvements on a site using Codeigniter v2.x and one of my client’s requirements, was to log in using Facebook. The problem is I need to install the Composer and I’m not…
-
0
votes0
answers138
viewsPhpunit Dbunit Testcase class not found
Galley When I run a test on 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…
-
0
votes2
answers298
viewsError installing Slim framework
How to fix the error below by using Composer. Code of Composer.json already created in bin folder\ : { "require": { "slim/slim": "2.*" } }…
-
0
votes0
answers30
viewsHow do I connect the things I downloaded from Composer with my project?
I downloaded the stuff from Composer(ñ sei se ta td certo). I downloaded the exe Composer from the official website there and the git bash. So I wanted to use a github project that is OPEN BOLETO.…
-
0
votes1
answer124
viewsHow do I download via Github URL or SSH
In the code json below I can only clone from the repository the dependencies of Phpmailer, if the url of the Cpanelinc/xmlapi-php are not set in repositories in the código, when if https or ssh url…
-
0
votes2
answers1982
viewsAccess files outside public_html
It is possible to consistently access files outside the public_html folder on the server to render a View? What I need is to call files js and css and point out the images that are inside the layer…
-
0
votes1
answer291
viewsMy autoload by Poser is not working
I am learning to autoload using Composer, but am getting the following error while running the tests: Fatal error: Class 'App Model Database' not found in /var/www/Library/index.php on line 5 it’s…
-
0
votes0
answers51
viewsHow to use psr-4 in the Composer with different subfolders
How to configure my directories in composewr.json, My directories are like this and not right Vizuare -vendor -composer -php-class -src -DB -Model -Page.php -phpmailer -rain -slim -autoload.php…
-
0
votes0
answers320
viewsComposer with a bootstrap?
What can I call the bootstrap using the composer, I tried for a while but unfortunately I didn’t get anyone has any idea? Path to vendor folder composer <?php require "../../vendor/autoload.php";…
-
0
votes0
answers105
viewsError in Composer when trying to create a Cakephp project
I’m using a Linux (Ubuntu) virtual machine to develop a Cakephp project. I’ve installed everything he needs (Apache, PHP, Mysql, Curl, Git, INTL and Composer). So far, so good, until I tried to…
-
0
votes0
answers30
viewsHow does installing packages from the same vendor work on Composer?
I have a question, let’s assume that I have two libraries (different packages) that can be installed via name in the Composer.json file is respectively: Enterprise/financial Company/teams The first…
commiserateasked 8 years ago Fábio Jânio 3,407 -
0
votes1
answer1083
viewsError while running Composer install
I’m cloning a Github repository Gitscrum and when I will execute the command Composer Install, it returns me the following error: C: www Gitscrum>Composer install [32mLoading Composer…
-
0
votes2
answers574
viewsInstalling and configuring Composer on my localhost
To use the local Composer I should install it in the folder where my projects are located? In case C:/Users/Me/Jobs... And as there are several projects (sites), for each one I must have the…
-
0
votes0
answers164
viewsProblem with Composer when sending to a server
I am using Composer to create a site in php OO, however, when sending the files from the site to the server (which in case I am using the free service of atwebpages for external testing), the site…
-
0
votes1
answer95
viewsHow to Deploy Api with Composer / Slimframework
I have an api working on localhost how do I send it to my ftp? I have these folders, downloaded with Composer slimframwork just send everything?…
-
0
votes0
answers241
viewsChange the PHP version of Composer
Composer on my server is recognizing PHP 5.6, but I am using PHP 7.1 in another directory. How do I change the PHP version of Composer?
-
0
votes0
answers174
viewsError installing PHP Cli-Menu
I was installing PHP Cli-menu as indicated on the Github page: Composer require php-school/cli-menu Then came this mistake: Problem 1 - Installation request for php-school/cli-menu 2.1 ->…
-
0
votes0
answers216
viewsPDO class not found in namespace other than global
I’m creating a class that uses PDO, but in a different namespace than global: namespace Classes\Config; use \PDO; class Connection { public static function getConnection() { $dbhost = "algumhost";…
-
0
votes1
answer1218
viewsAutoload of Poser does not find class
I registered the autoload in the composer.json "autoload": { "psr-4": { "Racioly\\MeuPackage\\": "src/" } } I created a folder called test at the root of the project, and also created a file…
-
0
votes0
answers29
viewsrequire_once in helper codeigniter
I installed the mpdf library via Composer in codeigniter 2 and made a helper file where I call this library to generate the pdf. So within this helper I call autoload with require_once and it works…
-
0
votes1
answer50
viewsWhat Ips and Ports do I need to have cleared to work with Composer and Git?
The company in which I work will implement an enterprise network in which, there are several blocks of Ips and Ports. I need to raise all the Ips and ports I need to use to request the release of…
-
0
votes2
answers685
viewsGit does not push to the master branch
I was using . git normally in my project, yesterday I typed something wrong and git started sending me an alert from the corrupted index file. Okay, I did a git reset, I came back a commit and…
-
0
votes1
answer122
viewsDownload Laravel dependencies via Composer in AWS EC2
I cloned an Laravel project on a linux server EC2 and when I will download the dependencies via Build it gives the error Do not run Composer as root/super user! See https://getcomposer.org/root for…
-
0
votes1
answer344
viewsError installing dependency or running update on Composer
I’m having a certain problem installing any dependency using Composer. I’ve used Composer update and the Composer update -v. I need to do tests on a backup tool using Laravel at the moment. But in…
-
0
votes1
answer68
viewsError installing/updating package with Composer
I am installing/Updating the package using Composer, but this error appears: Composer.json { "require": { "phpmailer/phpmailer": "~6.0", "mpdf/mpdf": "8.0.2" } } What should I do to correct the…
-
0
votes3
answers280
viewsRun cmd command with CD
I’m looking to execute a specific command of composer update by cmd. However, I always need to access my api folder with cd to execute such. Example: C:\Users\Luiz>cd api…
-
0
votes1
answer28
viewsExt-zip problem in Composer
Good morning, I need to install the class phpoffice/phpspreadsheet via Poser, but always tell me that ext-zip is not installed on my machine, the big problem is that I have installed all the…
-
0
votes1
answer4300
viewsHow to install and use Bootstrap via Composer
Hello, People how can I use Bootstrap in a project managed by Composer, I know that the command Composer require twbs/bootstrap Composer will download and place the files in the folder vendor…
-
0
votes0
answers146
viewsI cannot mount autoload with PSR-4 for multiple folders and subfolders
I’m trying to pass a project to MVC and then created the following structure: pasta_projeto -App --Controllers ---Classes --Models ---Classes --views ---html -vendor --Controller ---Action.php…
-
0
votes2
answers100
viewsInstall Composer in Windows 2012
My operating system has two Apaches running two phps (5 and 7.1 respectively). I am trying to install Composer for PHP7, but it is giving the following message: The PHP exe file you specified Did…
-
0
votes0
answers13
viewshow to install an internal package of requeriment.txt in python?
For example, I have a python code that uses the library import geocoder. In my machine I’ve used the pip install geocoder, but when a colleague made a git-clone it didn’t run for lack of this…
-
0
votes1
answer78
viewsView data is disappearing at a certain time
Here’s the thing, from what I understand the whole project follows the MVC Standard. I just have a big problem. A view of requests there is a refresh 30 seconds simple, looking for new orders. So…
-
0
votes0
answers34
viewsHow to add Laravel HTTP-Tests to a PHP package?
I am creating a PHP package, with Composer for when it is finished being published in Packagist. This package consists of many requests in other Apis, in case I am using the Guzzle. To perform the…