Laravel : Your requirements could not be resolved to an installable set of packages

Parnit Das

I am trying to install Laravel in local system and i am getting error.

OS : ubuntu 12.04 LTS

Webserver : Nginx

PHP : PHP 5.3.10

step 1 :

$ git clone https://github.com/laravel/laravel.git my_project

step2 :

my_project$ composer install

I am getting following error.

Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/framework v4.2.1 requires php >=5.4.0 -> no matching package found.
    - laravel/framework v4.2.0 requires php >=5.4.0 -> no matching package found.
    - Installation request for laravel/framework 4.2.* -> satisfiable by laravel/framework[v4.2.0, v4.2.1].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Nanhe Kumar

Open your composer.json file and change framework version to the following:

"laravel/framework": "4.0.*"

instead of

"laravel/framework": "4.2.*"

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Your requirements could not be resolved to an installable set of packages. Laravel 5.6?

Laravel - Your requirements could not be resolved to an installable set of packages

Your requirements could not be resolved to an installable set of packages for laravel

Composer install Laravel: Your requirements could not be resolved to an installable set of packages

PHP Laravel error - Your requirements could not be resolved to an installable set of packages

Your requirements could not be resolved to an installable set of packages

Composer update :Your requirements could not be resolved to an installable set of packages

PHP Composer not installing - Your requirements could not be resolved to an installable set of packages

Your requirements could not be resolved to an installable set of packages. - Symfony Project

Your requirements could not be resolved to an installable set of packages for pinterest API

Error:Your requirements could not be resolved to an installable set of packages.(on server)

composer update: Your requirements could not be resolved to an installable set of packages

composer install - Your requirements could not be resolved to an installable set of packages

Error: Your requirements could not be resolved to an installable set of packages

Composer require. "Your requirements could not be resolved to an installable set of packages"

Laravel 8 Your requirements could not be resolved to an installable set of packages when running composer require laravel/passport

Your requirements could not be resolved to an installable set of packages. - Laravel Lumen Mail

I am getting this error with laravel scout: Your requirements could not be resolved to an installable set of packages

Your requirements could not be resolved to an installable set of packages Dingo/api does not install on laravel v5.5.24

Laravel on Linux: Create new project Error: Your requirements could not be resolved to an installable set of packages

Laravel 8 ERROR: Your requirements could not be resolved to an installable set of packages While Installing payping-client

"Composer update for Laravel: Requirements could not be resolved to an installable set of packages."

Composer Update Error "Requirements could not be resolved to an installable set of packages" in Laravel

How can I resolve "Your requirements could not be resolved to an installable set of packages" error?

Drupal 8 Composer Your requirements could not be resolved to an installable set of packages - commerceguys/intl

How to fix "Your requirements could not be resolved to an installable set of packages" for installing Avalara?

composer update error: requirements could not be resolved to an installable set of packages

Composer Requirements could not be resolved to an installable set of packages. -kreait/laravel-firebase

Composer error - Your requirements could not be resolved - Laravel 4.2 on Mediatemple

TOP Ranking

HotTag

Archive