#### Category : composer-php

when I whrite this in cmd Creating a "laravel/laravel" project at "./example-app" the command shows the following error: [ErrorException] curl_setopt(): Unable to create temporary file. create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [<package>] [<directory>] [<version>] PS E:xampphtdocsproject1> [ErrorException] ..

I get this error while installing laravel sanctum by composer Your requirements could not be resolved to an installable set of packages. Problem 1 – laravel/sanctum[v2.9.0, …, 2.x-dev] require illuminate/contracts ^6.9|^7.0|^8.0 -> found illuminate/contracts[v6.10.0, …, 6.x-dev, v7.0.0, …, 7.x-dev, v8.0.0, …, 8.x-dev] but these were not loaded, likely because it conflicts with another require. – ..

i have cloned project from git placed inside htdocs folder as i am using xampp. After composer install it is installing latest vesion of laravel. How can i install speficic laravel version in cloned project? Want to have 6.20.9 but it is showing 6.20.22 everytime i install composer. Everytime i find solution for new create ..

in my laravel project the barryvdh debugger was installed, I was trying to make pdf using barryvdh pdf package for that i run the composer command on my dev server which was composer require barryvdh/laravel-dompdf after that it was showing an error of class not found for that i used the command php artisan vendor:publish ..

following this guide: https://laravel-angular.io/docs/1/jwt-auth-install/ I’ve installed tymon/jwt-auth:^[email protected] correctly. It’s all okay but, when I run: composer require irazasyed/jwt-auth-guard, this error appears. composer require irazasyed/jwt-auth-guard Using version ^1.0 for irazasyed/jwt-auth-guard ./composer.json has been updated Running composer update irazasyed/jwt-auth-guard Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set ..

I’m working on ec2, running some web-app built with laravel. Recently, i’ve had to install some new packages and update the overall system.. After running ‘composer update’ – it simply stucks for a while and forces me to cancel the process. So I ran ‘composer update -vvv’ to see the progress in my eyes, and ..

PHP Version => 7.4.1 Laravel version => 5.2 I run command composer install but it returns this error, can anyone please help. composer.json looks like below Sourc..

Hi I was wondering if is there a list of composer minimum version list that compatible in laravel I’ve notice some laravel version not compatible with composer version 2, I’m search around and can not find some expected result. Thank you Sourc..

Why am I getting this error while running php artisan serve command on downloaded laravel projects. Error given below: enter image description here Someone suggested to run composer update. After running composer update I get another errors like below : Your requirements could not be resolved to an installable set of packages. Problem 1 – ..

I have downloaded some laravel projects to learn. But when I run command "composer update –no-scripts" from cmd I am getting this error – Your requirements could not be resolved to an installable set of packages. Problem 1 – laravel/framework[v5.8.0, …, 5.8.x-dev] require php ^7.1.3 -> your php version (8.0.0; overridden via config.platform, same as ..

I am trying to install composer but it throws me this error " Problem 1 – mpdf/mpdf[v8.0.0, …, v8.0.3] require php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your php version (7.4.16) does not satisfy that requirement. – mpdf/mpdf[v8.0.4, …, v8.0.10] require ext-gd * -> it is missing from your system. Install ..

example branch master dev staging I want it to only be installed in master this package : ext-atatus Sourc..

I am facing a problem of error 500 in my laravel production website. My application used to work well before a composer update command I ran from ssh to ubuntu server. I used to use forge for deployment and after deploying via ssh I faced this issue. when I check nginx error logs I get ..

I am trying to install the laravel package debugbar to my website using this command composer require barryvdh/laravel-debugbar –dev package link: https://github.com/barryvdh/laravel-debugbar But it shows error on the terminal Installation failed, reverting ./composer.json and ./composer.lock to their original content. [ErrorException] file_get_contents(): Filename cannot be empty I have searched a lot but cannot find the proper ..

I am trying to install the Debugbar Laravel package to my website using this command: composer require barryvdh/laravel-debugbar –dev But it shows error on the terminal Installation failed, reverting ./composer.json and ./composer.lock to their original content. [ErrorException] file_get_contents(): Filename cannot be empty I have searched a lot but cannot find the proper solution, I have ..

I have created a simple laravel blog and I want to host it on heroku. It was working fine while I was hosting it locally, however when I tried to deploy it in heroku from github I ran into an error and I cannot solve it. This is the error RuntimeException In order to use ..

it gives me an error. my current dbal version is ^3.0 Problem 1 – lotuashvili/laravel-tbcpay[1.1.0, …, 1.1.4] require doctrine/dbal ^2.9 -> found doctrine/dbal[v2.9.0, …, 2.13.x-dev] but it conflicts with your root composer.json require (^3.0). – Root composer.json requires lotuashvili/laravel-tbcpay ^1.1 -> satisfiable by lotuashvili/laravel-tbcpay[1.1.0, …, 1.1.4]. Use the option –with-all-dependencies (-W) to allow upgrades, downgrades ..

Everytime I would try to install $composer require torann/currency I would get this error Problem 1 – torann/currency[1.1.0, …, 1.1.1] require illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, …, 6.x-dev, v7.0.0, …, 7.x-dev, v8.0.0, …, 8.x-dev] but these were not loaded, likely because it conflicts with another require. – Root composer.json requires torann/currency ^1.1 -> satisfiable .. Read more Recently I had a problem with install package using composer in my laravel project enter image description here please Help me thanks Sourc.. Read more I am trying to update Larvel to v7.0 using composer update, but I’m getting that Laravel and immulinate view cannot co-exist. I’ve tried various version combinations, yet get the same error. How do I handle this? I’m running on CentOS 8, with PHP 7.2.24. This is the result of my update: – Root composer.json requires .. Read more When I try to install voyager on laravel 8 with composer: composer require tcg/voyager It starts installing, but then flashes error message: Install of tcg/voyager failed Installation failed, reverting ./composer.json and ./composer.lock to their original content. [RuntimeException] Failed to clone https://github.com/the-control-group/voyager.git, git was not found, check that it is installed and in your PATH env. .. Read more I created a package with some of my vue components which needs to be shared between several apps. In this package I wrote this line in composer.json : "autoload": { "psr-4": { "SharedAppSharedComponents": "src/components", } } in my website, where I load the package, in a vue file, I import the template like this : .. Read more Github action deployment fails because of not matching composer-runtime-api ^2.0.0 even though actions/[email protected] is used that uses composer v2 laravel.yml: name: Deploy to staging on: push: branches: [ staging ] jobs: vapor: name: Check out, build and deploy using Vapor runs-on: ubuntu-latest steps: – uses: actions/[email protected] – uses: ubient/[email protected] env: VAPOR_API_TOKEN:${{ secrets.VAPOR_API_TOKEN }} with: ..