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
votes0
answers22
viewsHow to fix error when installing Composer?
I have a mistake that always trying to install the commiserate via terminal it returns not found, and I did some research and it’s related to him not being able to find the folder of php or…
-
0
votes0
answers18
viewsProblems with Composer
The following error appears in Composer.json Problems loading Reference 'http://json.schemastore.org/composer': Unable to load schema from 'http://json.schemastore.org/composer': Request…
-
0
votes2
answers111
viewsLaravel does not install
kalil@debian:~$ composer global require "laravel/installer" Changed current directory to /home/kalil/.config/composer Using version ^2.0 for laravel/installer ./composer.json has been created…
-
0
votes2
answers1437
viewsAutoload Composer class not found
Good afternoon! I have a problem and do not know how to solve, creating a mini application, using the autoload of Composer, but is not working, is giving that class does not exist. This is my…
-
0
votes1
answer21
viewsCan I inherit namespaces?
I’m using composer with autoload in class namespaces, assuming I have the parent class Model: Model.php <?php namespace App\Model; use App\Utils; use \PDO; class Model {} And the daughter class…
-
0
votes0
answers35
viewssymfony error after update Composer
When I executed the commands Composer require symfony/filesystem Post update , is occurring the following error below in my project, on any route I access. Could you help me ? I am using symfony 3.0…
-
0
votes1
answer61
viewsProblems with the Composer
To learning to use the standard Composer psr-4, the class is not being found. My index where the user class is not found: <?php require_once ('vendor/autoload.php'); $user = new…
commiserateasked 5 years, 10 months ago user122195 -
0
votes0
answers105
viewsClasses of autoload Composer do not work
I’m using the composer to manage the classes of my project, in the archive composer.json defined the folders, in the classes I put their respective namespaces, but I can’t use them in other files.…
-
0
votes1
answer79
viewsComposer autoload
I’m having trouble in hr adding a class to my autoload, keeps giving Class Routes not found! Could someone help me? Composer.json "autoload": { "psr-4": { "App\\Http\\Controllers\\":…
-
0
votes1
answer103
viewsProblem when creating Symfony project
I have a problem to start a project, always appears the error: henrique@henrique-Lenovo-ideapad-330-15IKB:~/Documents$ composer create-project symfony/skeleton symfony Installing symfony/Skeleton…
-
0
votes1
answer104
viewsDocker Compose Wordpress Plugin Does Not Install: Connection Refused
I’m trying to create an application in wordpress, through Docker, however plug-ins are not getting installed: Docker-Compose.yml: version: '3' services: mysql: image: mariadb ports: - "3260:3260"…
-
0
votes1
answer249
viewsProblem with PSR-4 and Poser autoload
I’m having a problem with Poser’s autoload, the structure and code are all right, only he’s not finding the class. I’ve already updated the autoloads by bash and nothing... anyone knows what it…
-
0
votes0
answers1074
viewsConfiguring PHP Codesniffer in Vscode
I am unable to configure the phpcs extension in vscode. What I’ve already done I already downloaded and installed the Composer I installed the phpcs extension in vscode I’ve been trying to set this…
-
0
votes1
answer236
viewsProblems with the vendor/bin folder of an Laravel application
I’m trying to deploy a standard application to both AWS(Amazon Web Services) and Heroku, and both have reported phpunit errors inside the vendor folder. After several searches (which already cost me…
-
0
votes1
answer92
viewsComposer - files autoload - does not work
My code in Composer.json looks like this { "name": "testesocial/vinicius", "description": "Login com facebook", "type": "project", "minimum-stability": "stable", "autoload": { "psr-4": { "Source\\":…
-
0
votes0
answers494
viewsError in Poser when performing dumpautoload
I’m using Laravel 5.7 and when I execute the command composer dumpautoload -o I get the following error from commiserate: [Runtimeexception] File at…
-
0
votes0
answers83
viewsUsing new Class() or instead of new Namespace Class() in PHP autoload
I’m facing a problem to handle my classes with the composer autoload. All calls are made through Jquery, then it calls a PHP document that should assemble the class page and call the function I…
-
0
votes1
answer103
viewsClass not found. Namespace and Composer psr-4
Guys I did everything you say in the other questions on the subject, but it didn’t solve my problem. So I opened a new question. My class is not being found. this is my structure: project _app |--…
-
0
votes1
answer218
viewsCoffeecode Router Error 400 on all routes
Good morning, good afternoon or good night. I am learning to use the Coffeecode Router component but it always returns me the 400 error regardless of the route I access, I did a search and did not…
-
0
votes1
answer15
viewsHow to "Take" the value of the COMPOSER_PROCESS_TIMEOUT variable?
I’m using a script bash to define the variable COMPOSER_PROCESS_TIMEOUT, but before I change the value of it I need to know what is the value that is defined. I took a good look on the internet and…
-
0
votes0
answers17
viewsProblem loading Composer class to web server
I’m having trouble correctly running a site developed with the MVC architecture on web server. Locally, everything is going well. The folder structure is as follows: public_html(public directory of…
php commiserate server-side php-autoload internal-server-errorasked 3 years, 10 months ago ademir moreira 1 -
0
votes0
answers35
viewsProblem with class referenced! " Fatal error: Class [...] not found in..."
Good morning, folks. I am developing a login system (MVC) and tracking on youtube. The following error appears: Error to find the class I reviewed the code and couldn’t find the cause. Please, I…
-
0
votes1
answer65
viewsSumario to PDF with Dompdf/dompdf
I am using DOMPDF to compile my reports, however I can not relate in summary the contents of respective topics. session_start(); require __DIR__."/vendor/autoload.php"; use Dompdf\Dompdf; use…
-
-1
votes1
answer93
viewsHow to customize the Doctrine library to work with the Timestamp type
I’m using Composer with Doctrine in my application, and it’s getting wonderful. But I need to customize some Doctrine features, changing the classes Doctrine\DBAL\Platforms\AbstractPlatform and…
-
-1
votes2
answers48
viewsHow do I print a specific JSON item in PHP?
<?php require __DIR__ . '/vendor/autoload.php'; $accessToken = "----------------------------"; use TotalVoice\Client as TotalVoiceClient; $client = new TotalVoiceClient($accessToken); $response =…
-
-1
votes1
answer14
viewsError trying to create the first dependency with the Composer init command
Good evening, I’m studying php, I’m on the part of learning to use Poser, when creating the first dependency of Poser when it comes to a part it gives the following error ... I have looked for the…
-
-1
votes1
answer358
viewsError accessing localhost after installing Laravel
As I said in a previous question I am starting my studies and have already done the search for this error now in several places. Recently I installed Composer and Laravel on my note and when I run…
-
-1
votes1
answer224
viewsValidation of data on the Laravel
Hey, hey, it’s okay!? I have implemented a business rule in which I need to validate data, I have created an external repository to http folder and I am using the library prettus/Laravel-validation…
-
-1
votes1
answer21
viewserror installing Composer on linux
I changed some things in Composer-setup.php, to try to force the installation and cheat some ifs, but generated this error The zlib extension is not loaded, this can slow down Composer a lot. If…
-
-2
votes1
answer302
viewsNeed to install Composer on the server?
I’m studying php and learning how to use autoload and Composer. I got a server to use during my studies. The server must be installed for autoload to work?
-
-2
votes0
answers21
viewsHow to install Composer on your Mac manually
I’m having trouble installing Composer on my mac from the terminal, is there any way to install without using the terminal? I had already installed before but now for some reason unknown is gone and…
-
-2
votes1
answer92
viewsI can’t create an Laravel 5.7 project
I can create Laravel projects in versions 8, 7 and 6 with Composer. However, when trying to create a project in version 5.7 or even 5.8, the console has an error. And the error presented is:…
-
-2
votes0
answers11
viewsError in PHP Storm Composer
help me. I’m trying to install Composer in my project by PHP Storm. I give the init Composer, but when I click to install it returns this error. What can be? install --no-Interaction --no-ansi Could…
-
-2
votes2
answers465
viewsComposer install does not run
Hello I am facing a problem here in which I am unable to run Composer install and am getting the following error: Error running Composer install Do not run Composer as root/super user! See…
-
-2
votes0
answers13
viewsclickSign API
I’m new to php, I need to do an integration with the Clicksign api, but I can’t do it at all, someone has already done this integration? $document_key = "9955"; $name ="Juliete"; $email =…
-
-3
votes1
answer83
viewsxampp error on linux Ubuntu
Error updating Poser, please someone can help me.…
-
-4
votes1
answer249
viewsComposer/Laravel...[BUGS]
Hello, I’m with a system in php to give maintenance...only I wanted to upload the application to do the tests and I’m not succeeding,I searched the net did some things, and even so I come across…
-
-4
votes1
answer1258
viewsProblem generating PDF with mPDF in hosting
The following is, I installed mPDF via Composer to develop the localhost project (on the PC). Everything works normally on the machine. I uploaded the VENDOR folder to the hosting, but it’s not…
-
-4
votes1
answer34
viewsComposer PHP: how to load "repositories" after "autoload"
I have a question/problem regarding php Composer. Come on, my PHP projects are now mostly using Composer, to "modularize" some parts I started using the property repositories on Composer.json. I’m…