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
-
2
votes1
answer201
viewsHow to build a reusable and manageable symfony Bundle via Composer
Even after reading the best practices for code reuse in symfony and research on the use of commiserate, I still can’t understand how in practice I should create my Barcode to be reusable. I know the…
-
2
votes1
answer1459
viewsTimeout when trying to use Composer
When I’m running the remote composer ìnstall or composer update, I am receiving this message after a certain waiting time: The "https://packagist.org/packages.json" file could not be downloaded:…
-
2
votes1
answer2964
viewsDoes Poser autoload not work?
I’m trying to use the autoload of composer and I can’t, he says the class not found and trying to load a class from an external library. I’ve already executed on the command line: composer install…
-
2
votes1
answer248
viewsError including Composer (Class not found)
I’m getting the following error: Fatal error: Class 'wkhtmltopdf Pdf' not found in /Applications/XAMPP/xamppfiles/htdocs/common/class/Prepagoconsulta.php on line 480 Excerpt from the code: use…
-
2
votes0
answers64
viewsCorrect way to work with Composer in php
Hello, I really like php and for some time I’m using the concept of MVC in my application, but without using Composer and its autoloader. In search to elevate my knowledge, I installed the same and…
-
2
votes2
answers5677
viewsComposer Returning Memory Allocation Error
I just installed Composer and I am trying to download some files from sendgrid, however it is returning me memory error. Someone knows what’s causing this and how to fix it? Installing…
-
2
votes2
answers470
viewsHow to use namespaces without classes with autoload from Composer?
I’m trying to use the classless namespaces with the Poser autoload, but I believe it is failing, for example: /Foo/Bar.php namespace Foo\Bar { function baz() { echo 'Funcionou'; } } /index php.…
-
2
votes1
answer78
viewsSubmitted form, returns Class not found autoload Composer
I tried to see if anyone had been through this problem but so far I haven’t found anything on the Internet. I’ve been trying to figure it out for two days and I’m almost giving up. Directory…
-
2
votes1
answer111
viewsProblem updating
I am the following version of php PHP 7.2.19 (cli) (built: May 29 2019 13:58:59) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c)…
-
1
votes1
answer135
viewsPackage for validations per service
I’m developing a large project with Laravel and I need to validate my data. Initially I had thought to use Ardent, but this is not compatible/advisable for those who use the repository standard.…
-
1
votes2
answers330
viewsClass not found, but in another project worked
I had already inserted the Class Agent in another project using the Laravel 4, everything was working correctly, but now that I’m trying to put in another project the Laravel is returning the error:…
-
1
votes1
answer76
viewsProblems with Composer, mcrypt and Laravel on Ubuntu 14.04
I already have a pre-existing project and I need to install the Lockable in it, however it gives this: $ php ../composer.phar create-project laravel/laravel Installing laravel/laravel (v4.2.11)…
-
1
votes1
answer177
viewsManaging Composer Dependencies
Well, I started using the dependency manager for PHP Composer. I already downloaded it and it’s working. But I added a dependency to the file composer.json, and need to do an update. How can I do…
-
1
votes1
answer2084
viewsHow to use Github private repository in Packagist and reuse code in Composer
I have some private repositories on github, I would like to reuse the code in my applications that are being made in Symfony, because I will need modules that already exist in more than one project…
-
1
votes1
answer82
viewsyii2-Braintree installation problem via Composer
I have successfully installed the Braintree component by Composer. Now, I need to install another component, the yii2-Braintree. I added, as the tutorial says, the line "bryglen/yii2-braintree": "*"…
commiserateasked 9 years, 9 months ago felipe.zkn 166 -
1
votes0
answers130
viewsCakepdf for Cakephp 3.x, DOUBT!
I’m using Cakepdf, pro cake 3.x Follow the link : https://github.com/FriendsOfCake/CakePdf/tree/3.0 I’m having problems, because I did it according to myself.. and when I type .pdf.. is the best…
-
1
votes2
answers4659
viewsLaravel update via Composer
[Runtimeexception] Error Output: PHP Warning: PHP Startup: Unable to load Dynamic library /usr/lib/php5/20121212+lfs/Curl.so' - /usr/lib/i386-linux-gnu/libgssapi.so. 3: Symbol…
-
1
votes0
answers19
viewsComposer new config.Platform parameter
In the last Composer update alpha11 a new parameter for configurations independent of the platform version was introduced with the config.platform which is genius. I find little or no documentation.…
-
1
votes1
answer106
viewsBuild failing PHP project in Travis-CI
I’m trying to make night builds of a PHP project on Travis-CI but I’m catching on. My builds are failing because Travis-CI says they can’t find Composer. There are more details in the log below.…
-
1
votes2
answers777
viewsError installing Composer on Windows 7 64bit with Wampserver 2.5
I am trying to install Composer on W7 64bits. Using the Windows installer that the Composer website provides (Composer-Setup.exe). I have installed Wampserver 2.5 with php5.5.12 and Apache2.4.9.…
commiserate installation openssl windows-7 file-get-contentsasked 9 years, 7 months ago LeoFelipe 1,455 -
1
votes1
answer256
viewsFatal error: Class 'mikehaertl wkhtmlto PDF' not found
I’m not very familiar with Composer and need to use the library phpwkhtmltopdf. I use Windows 8.1. I did the installation by normal setup, and it seems that it is working normally: I did the…
-
1
votes1
answer5291
viewsLaravel Project Deploy by Git
I need to deploy an Laravel project installed on a dev pc on a Linux server. After downloading everything via Git, some folders are ignored by .gitignore. How do I run Composer to reinstall all…
-
1
votes1
answer42
viewsEncoding problem in the Composer
Currently my Poser file has started to show some errors in the messages that seem encoding errors, has anyone gone through it and know how to fix it? I did a little research to see if I could find…
-
1
votes1
answer151
viewsComposer giving error
I tried to install the phpunit for composer in Windows 7, but is not allowing. Nor the phpunit and no other tool/package/framework. The error you’re displaying is this: and my file of json that’s…
-
1
votes1
answer27
viewsHow does Composer behave when upgrading packages?
I have the version ^1.0.0 of a package. As well as autoload prefix "\\Empresa\\Pacote": "lib/". In case I rename the directory lib/ for src/. The right thing would be to make the package available…
commiserateasked 8 years ago Fábio Jânio 3,407 -
1
votes3
answers1379
viewsHow can I see upgraded package versions via Composer?
It’s nice and beautiful to see Composer installing the reports according to the version we determined in PHP. I have many applications where I use the Composer and, at that point, needed to update…
-
1
votes0
answers77
viewsHow to change dev-master releases to stable
I’m creating a package for sockets in PHP for Laravel, but I can’t just use Composer require because the package is in dev-master and of course I don’t want to change all my main application to…
-
1
votes0
answers1124
viewsComposer error 'File or directory not found'
installed the following Composer website instructions, passing the directory /usr/local/bin and file name composer. But when I do: $ composer install or another Composer command returns the error:…
-
1
votes0
answers39
viewsConnection error in Composer install?
I’m having trouble turning the remote composer install no Laravel. I am very beginner in the use of it yet, so I have no idea what could generate this error: > php artisan clear-compiled Erro na…
-
1
votes0
answers514
viewsAny command with Artisan is not working
I went to try to install a dependency: https://github.com/barryvdh/laravel-dompdf . But at the end of the installation, an error message appeared: Installation failed, reverting ./composer.json to…
-
1
votes1
answer100
viewsFatal Error: Silex Application::share()
I am developing an API in Silex and while trying to test it on my server, I am encountering following error: Fatal error: Call to Undefined method Silex Application::share() in…
-
1
votes2
answers1496
viewsComposer installation error: 'could not find the specified module (php_intl.dll)'
I am using windows 10, 64 bits. While trying to install Composer, it displays error: The php that is being indicated in the Composer installation is the Wamp one (located at…
-
1
votes0
answers802
viewsError Class not found with Composer
Good people, next, I’m doing a project here and giving me some problems, I think I’m mixing things up. I installed Composer to use autoload and other dependencies, but now I have a problem: The…
-
1
votes1
answer170
viewsError installing Composer and Variable
I uninstalled and reinstalled a newer version of Vertrigo Server to have PHP 7, but when I try to do something with Laravel or Composer on CMD there appears a message saying: "the program cannot be…
-
1
votes1
answer1359
viewsCorrect way to install Laravel on Linux
I’m starting on the Laravel Framework and I’m having some problems with the installation on Linux. I did the installation by Composer using the command php Composer.phar global require…
-
1
votes1
answer550
viewsHow to use psr-4 in the Composer with different subfolders
I am creating a test framework. I use Composer to create the structure of my project. The file Composer.json looks like this: { "autoload": { "psr-4": { "App\\": "src/app/mvc/" } } } I divided my…
-
1
votes1
answer157
viewsLaravel: "Could not open imput file: Artisan". What can it be?
I’m learning how to use Laravel and I was downloading Composer. I installed via program, everything ok, but when installing Laravel and testing php Artisan serves, it appears in the image. It seems…
-
1
votes1
answer96
viewsCreate an event / plugin for Composer
I have developed a Webserver Portable and am also creating a Portable console to use Composer. I have a problem. I need to create a plugin for Composer. I need that when downloading any package with…
-
1
votes0
answers95
viewsInstallation of Composer Package
I can’t install a package from commiserate on my windows computer that I needed because a Codeigniter documentation library depends on that package to run. I am using Windows 7 with Gitbash and…
-
1
votes0
answers27
viewsCakephp with Vendors
Hello, good morning, sir. I have a project done on Cakephp 2, and the need arose to use HTML2PDF, installable by Composer, which was never used in this project. When I install HTML2PDF by Composer,…
-
1
votes1
answer2171
viewsExtremely slow and inconsistent composer
A few days ago I’m having a problem in my Composer that doesn’t make much sense (it doesn’t have a fault/standard logic, the errors are almost random), so I’m not able to solve, what happens is the…
-
1
votes0
answers361
viewsHow to install Composer on Windows 10?
I am trying to install Composer on Windows 10, but the following error message is appearing: The PHP exe file you specified Did not run correctly: C: Program Files Vertrigoserv Php php.exe The…
-
1
votes0
answers62
viewsAutoload of the Poser does not find class 2
I saw a question similar to mine, but I tried the proposed solution and it does not find the class at all. I’m already getting discouraged in using the Poser autoloader. Important: My environment is…
-
1
votes1
answer531
viewsAutoload of Poser is not working
Good night (or any shift in case you’re from the future). Well, my problem is objective, but so far unsolved. I developed an entire project on my windows PC using XAMPP. As the system has several…
-
1
votes0
answers319
viewsComposer error: SSL Operation failed with code 1
I found some topics in the OS in English but could not solve the problem by la. Any library, Fw, anything in case I try to install with Composer, I get this SSL error. NOTE: I have SSL installed on…
-
1
votes2
answers78
viewsAutoload does not find PSR-0 class
I made an application using Poser with autload, configured the file Composer.js and set the namespace correctly, but when executing the code one of the classes is not found generating the error…
-
1
votes2
answers343
viewsDoubt about autoload using Poser
I created a very simple example of using autoload using Composer and PSR-7, but I would like to understand a question, below what I did: Inside my composer.json, added the following: "autoload" : {…
-
1
votes0
answers146
viewsDoctrine Inflector error while saving files in the database with Tinker
The error happens when trying to save the updates in the database, when I give the command $contact->save(); it returns me the error: PHP Deprecated: The "Doctrine Common Inflector…
-
0
votes1
answer195
viewsUsing libraries downloaded by Composer in Zend Framework 1
How best to use libraries downloaded by Composer together with Zend Framework 1? I saw in the following link, explaining how to do this but in a way that does not seem to be very correct. In a…
-
0
votes1
answer108
viewsAutoload error when using Highchartsphp
I’m including in my Komposer "ghunti/highcharts-php": "~3.0" and after that my autoload stops working resulting in the fatal error below, which could be? Fatal error: Call to Undefined method…