New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

patinthehat/new-laravel-project

Easily generate a new Laravel project of any version from the command line.
9
Install
composer require patinthehat/new-laravel-project:dev-master
License:MIT
Last Updated:Jan 29, 2017
Links: GitHub  ·  Packagist
Maintainer: patinthehat

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

442,489,569 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

412,228,818 4,664