11,184 questions
0
votes
0
answers
42
views
How to Change the Composer php path in a Laravel Project
My Composer is not Working anymore because I reinstalled PHP.
How to resolve Composer dependency issues after reinstalling PHP on my Laravel project.
Cannot run program "/opt/homebrew/Cellar/php/...
-3
votes
0
answers
41
views
I am getting an error: Fatal error: Uncaught Error: Class "Illuminate\Support\Facades\Route" not found in C:\xampp\htdocs\index.php
I am trying to setup a test environment on my local machine and installed composer, laravel and Xampp.
I have written the following basic code in the index.php file to test:
<?php
echo "Hello ...
-1
votes
0
answers
22
views
Laravel 10 php artisan freezed, no response coming after running composer install [closed]
I am using laravel 10 and installed on AWS ubuntu instance.
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Error logs:
[Sun Apr 20 15:27:55.389174 2025] ...
-3
votes
0
answers
41
views
Can I correct the download of composer.exe? [closed]
This is message error
The Composer installer script was not successful [exit code 1].
OpenSSL failed with a 'certificate verify failed' error. This
indicates a problem with the Certificate Authority ...
-1
votes
0
answers
42
views
Witch is better to autoloading classes in PHP ? using Composer or the spl_autoload_register [closed]
I'm stuck on choosing an autoloading method in several projects and I want to ask you one last time with a poll whether composer is better for autoloading or spl_autoload_register in PHP.
-4
votes
1
answer
75
views
i think i have any version issue but i'm not able to find out [closed]
PS E:\laravel\pratical\idcardapi\id card> composer create-project laravel/laravel:^8.0 idcard Creating a "laravel/laravel:^8.0" project at "./idcard" Cannot use laravel/laravel'...
-1
votes
0
answers
24
views
AWS Elastic Beanstalk failed update Composer on EC2
I have set up this ebextensions file to update Composer, by following this documentation -> https://docs.aws.amazon.com/en_us/elasticbeanstalk/latest/dg/php-configuration-composerupdate.html
Only ...
-1
votes
1
answer
51
views
Composer update and composer create-project are timing out getting the https://repo.packagist.org/packages.json file
How do you fix the composer create-project test command from timing out when retrieving the https://repo.packagist.org/packages.json file?
The command composer diagnose -vv gives this output:
> ...
-1
votes
1
answer
38
views
Composer version has upgraded versions of packages, site is break using PHP stan & PHP unit
I Ran
Composer update --ignore-platform-reqs
And now i have an error which is like That:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0&...
-1
votes
1
answer
43
views
Composer version control vendor directory with local repository
We don't want to run composer update on our production server we would rather version control the vendor folder. We have shared files between our webapplications and we have a git repository called &...
0
votes
0
answers
17
views
composer FAILD INSTALLATION [duplicate]
The Composer installer script was not successful [exit code 1].
OpenSSL failed with a 'certificate verify failed' error. This indicates a problem with the Certificate Authority file(s) on your system, ...
-1
votes
0
answers
34
views
npm start on WordPress Theme With Flynt, the file watcher is not working for js file change
I am developing the custom wordpress theme by using https://flyntwp.com/
I run 'npm start' to start the file watcher.
but the hot-realoading is working only for changes of php, twig and scss.
'npm ...
0
votes
0
answers
27
views
when i want to install composer i got this error [duplicate]
php -r "readfile('https://getcomposer.org/installer');"
PHP Warning: readfile(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify ...
-1
votes
1
answer
72
views
Impossible to install composer on windows 11 [duplicate]
I can't install composer on my Windows 11 machine.
And I got the error
OpenSSL failed with a 'certificate verify failed' error. This
indicates a problem with the Certificate Authority file(s) on your
...
-2
votes
3
answers
122
views
How to setup php project on web hosting [closed]
I developed a simple php project with some simple framework and now I want to host it on server, the server is shared server and I do not have SSH access, so I have uploaded all the files via cPanel. ...