gerardbalaoro / laravel-installer
Alternative Laravel Application Installer
v2.3.1
2020-03-31 15:34 UTC
Requires
- ext-zip: *
- composer/semver: ^1.5
- guzzlehttp/guzzle: ~6.0
- symfony/console: ~3.0|~4.0|~5.0
- symfony/filesystem: ~3.0|~4.0|~5.0
- symfony/process: ~3.0|~4.0|~5.0
Requires (Dev)
- phpunit/phpunit: ^8.0
Replaces
README
An alternate version of the Laravel installer that reimplements creating projects using previous Laravel versions (which was removed from the original version).
Installation
Install using composer, this will automatically replace the laravel/installer
package
composer global require gerardbalaoro/laravel-installer dev-master
Usage
laravel new [options] [--] [<name> [<version>]]
- Create a new Laravel application
Arguments: name version Install specified Laravel version Options: --dev Installs the latest "development" release --auth Installs the Laravel authentication scaffolding -f, --force Forces install even if the directory already exists
laravel cache [options] [--] [<versions>...]
- Download Laravel packages to cache
Arguments: versions Versions to download [default: ["master"]] Options: -a, --all Downloads all releases --clean Cleans cache directory
laravel versions
- Show available Laravel versions
Example
To create a new Laravel 5.8 project, run the command:
$ laravel new blog 5.8
Caching
This package automatically caches the Laravel package every time the new
command is executed.
This is very useful when creating projects while offline.
Updates
Updates to laravel/installer
will be merged to this one.