Comments (8)
The recommended way to install Laravel is composer create-project
, rather than this installer, as of Composer 2.0.0's release (I think??? // cc @driesvints).
from installer.
The installer only works with the latest Laravel version and not Laravel 6.
from installer.
Who is talking about laravel 6?
from installer.
You are:
- illuminate/support v6.18.41
from installer.
C:\Users\Florian>composer global require laravel/installer
Changed current directory to C:/Users/Florian/AppData/Roaming/Composer
Using version ^4.1 for laravel/installer
./composer.json has been updated
Running composer update laravel/installer
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/support v6.18.41 requires php ^7.2 -> your php version (8.0.0) does not satisfy that requirement.
- laravel/envoy v1.6.5 requires illuminate/support ~4.1 || ~5.0 || ^6.0 -> satisfiable by illuminate/support[v6.18.41].
- laravel/envoy is locked to version v1.6.5 and an update of this package was not requested.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
from installer.
You're trying to require the laravel installer globally without updating the underlying dependencies that other global packages have already set.
Try: composer global require laravel/installer -W
from installer.
composer global update and then upgrade the installer worked. You command didnt
from installer.
Update your composer.json file with my below code and then add your added package under "require": { } object, It will work
don't forget run command update composer
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.40",
"laravel/socialite": "^5.3",
"laravel/tinker": "^2.5",
"dompdf/dompdf": "^1.0",
"intervention/image": "^2.5",
"maatwebsite/excel": "^3.1",
"softon/indipay": "^1.2"
},
"require-dev": {
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"laravel/ui": "^3.3",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3"
},
"autoload": {
"psr-4": {
"App\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
],
"files": [
"app/helper/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
from installer.
Related Issues (20)
- "globally installing the Laravel installer via Composer" $PATH issue? HOT 2
- Installer doesn't setup scaffolding for inertia ssr when combined by typescript option HOT 1
- Using the --dev switch produces an unresolvable composer.json file. HOT 1
- Option --branch isn't working HOT 3
- Installation not working HOT 14
- Not installing usable Jetstream + Livewire scaffolding HOT 1
- Docs link broken/missing from docs HOT 2
- Error installing Laravel on a Github Codespace (it worked yesterday 2023-12-18) HOT 4
- Call to `http://cabinet.laravel.com/*.zip` is returning a 404 HOT 11
- Add check to installer to see if you're on the latest version
- Database option HOT 1
- Incorrect version of the Pest package HOT 5
- issues when install laravel with mysql HOT 3
- [11.x] The config files are back in the skeleton HOT 2
- Laravel 11 laravel/installer 5.6 not tagged HOT 1
- Removing unnecessary migration prompt when database connection settings are not configured HOT 1
- Option to select database type from command line HOT 1
- Database name is set to directory even with an actual DBMS set in options HOT 2
- Database.sqlite is created even if you slect mysql HOT 1
- breeze installs breeze without --dev flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.