Skip to main content

Questions tagged [composer-php]

Composer is an application-level package manager for the PHP programming language. It provides a standard format for managing with ease PHP-based project dependencies (libraries) and was strongly inspired by Node.js's "npm" and Ruby's "bundler". Use with the [php] tag

0 votes
0 answers
14 views

Can't make Laravel DebugBar work on my environment

The debugbar doesn't seem to work on my environment (Laravel Framework 9.52.16) I have required the package with composer: composer require barryvdh/laravel-debugbar --dev In my .env file APP_DEBUG ...
HeytalePazguato's user avatar
0 votes
0 answers
31 views

Unable to use mpdf library in php [closed]

I'm beginner to the mpdf/mpdf library and I'm facing an issue with it. I have installed the mpdf/mpdf library in my php project and was testing the if everything is setup fine. But I'm unable to ...
mrz's user avatar
  • 3
0 votes
0 answers
16 views

How to use PHP namespaces and autoloading? [closed]

Namespaces help organize code by grouping classes that logically belong together. Autoloading helps in automatically loading classes without manually including them. How to create a composer.php file ...
Sarbjit Singh's user avatar
-1 votes
1 answer
18 views

NGinX bad gateway after using command to install composer

Title says it all. Prior to installing composer with a "command" in my compose.yml file my PHP and NGinX stack was working fine. phpinfo would display on my test page. Now I just get a 502 ...
PHP Addict's user avatar
-4 votes
0 answers
44 views

unable to install composer with php 7.1.11 [closed]

I am trying to install composer but it returns this error: The Composer installer script was not successful [exit code 1]. OpenSSL failed with a 'certificate verify failed' error. This indicates a ...
Muhammad Fareed Khan's user avatar
-1 votes
0 answers
28 views

Composer Install Error - Windows 10 & WAMPMANAGER [closed]

I am successfully running this version of php, however, This is the error it gives me when I try to install composer: The PHP exe file you specified did not run correctly [exit code -1073741643]: C:\...
Gabe O'Neill's user avatar
-2 votes
1 answer
34 views

Why does my deployment fail with an error about PHP's sqlite3 extension?

Trying to deploy a Shopify webapp using Heroku (following Shopify documentation) I am pushing from a branch (to test before merging into master) running git push heroku <branch name>:refs/head/...
arodmcmxcix's user avatar
-1 votes
1 answer
41 views

Composer is not updating the dependencies, complaining about package names [closed]

I'm currently trying to update the MediaWiki. My current MW version: 1.27.0 Version I want to update to: 1.35.0 PHP: 7.0.3 OS: Ubuntu 24.04 When I'm trying to run composer update or composer install, ...
Dixit Dominus's user avatar
0 votes
0 answers
18 views

Need to use Hyperledger Fabric for a research project, is Composer good to use for a quick solution? [closed]

is it a good idea to use Composer for a research project for experimentation? I already built a composer network for my thesis proposal, but tried to build a Hyperledger Fabric network afterwards ...
Zee's user avatar
  • 1
0 votes
1 answer
31 views

Automatically running "composer install" after container is built

setting up a web development stack with NGinX, PHP and composer. My docker file looks like this: FROM php:fpm # Install dependencies and PHP extensions RUN apt-get update && apt-get upgrade -...
PHP Addict's user avatar
-1 votes
1 answer
45 views

My laravel custom package gives ServiceProvider not found error on docker

I developed a laravel package download link here https://packagist.org/packages/dcyilmaz/livewiredatatable source codes here https://github.com/duran004/livewiredatatable (not advertising, I need to ...
DCYılmaz's user avatar
  • 101
-1 votes
2 answers
68 views

Base table or view not found: 1146 Table 'example_app.sessions' doesn't exist

I am trying to set up Laravel 11 on Windows 11. I am using WAMPServer for Apache/PHP/MySql. I have installed the installer globally using Composer. I then run this command to create a Laravel project: ...
Joshua Rogers's user avatar
0 votes
0 answers
26 views

Composer Install Fails with File Deletion Error in Docker on Windows

I am experiencing an issue with running composer install inside a Docker container on my Windows 11 machine. The installation fails while trying to delete a directory, and I receive the following ...
Santhosh Kumar O's user avatar
-1 votes
0 answers
43 views

I can't install Composer on my XAMPP with Xdebug [closed]

When I try to install Composer I get the following message: The PHP exe file you specified did not run correctly: C:\\xampp\\php\\php.exe Program Output: Xdebug: \[Step Debug\] Time-out connecting to ...
Matías Bacher's user avatar
-1 votes
1 answer
36 views

Why the php-actions/composer action fails despite having installed pdo_mysql

I have this actions that allows me to run unit tests upon PR: name: on-pr-unittest on: pull_request: branches: - dev jobs: run_unit_test: runs-on: ubuntu-latest services: ...
Dimitrios Desyllas's user avatar

15 30 50 per page
1
2 3 4 5
745