patinthehat / new-laravel-project by patinthehat

Easily generate a new Laravel project of any version from the command line.
9
0
3
Package Data
Maintainer Username: patinthehat
Maintainer Contact: trick.developer@gmail.com (Patrick Organ)
Package Create Date: 2017-01-29
Package Last Update: 2017-01-29
Language: PHP
License: MIT
Last Refreshed: 2024-11-13 15:02:20
Package Statistics
Total Downloads: 9
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 2
Total Open Issues: 0

New Laravel Project Installer


Easily create a new Laravel project of any version. Additionally, you can also optionally install composer packages at the same time the project is created.


Installation

composer -g install patinthehat/new-laravel-project


Sample Usage

Create a project with the latest Laravel version:

`new-laravel-project create myproject`

Create a Laravel 5.3 project:

`new-laravel-project create myproject 5.3`

Create a Laravel 5.4 project with optional packages:

`new-laravel-project create myproject 5.4 --packages=laracasts/flash,guzzlehttp/guzzle`

References

Portions of this code were borrowed from the laravel installer, found at https://github.com/laravel/installer.


Notes

This uses composer create-project to create the project skeleton, not the laravel new command.


License

This project is licensed under the MIT License.