Skip to content

๐Ÿ Quickly initialize a Laravel/Lumen project using terminal.

Notifications You must be signed in to change notification settings

cba85/laravel-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Laravel (quick) init

Quickly initialize a Laravel/Lumen project using terminal.

This package:

  1. Clean vendor and node_modules folder if provided
  2. โš ๏ธ Reset your local MySQL laravel or homestead database or create it
  3. Install Composer/NPM dependencies
  4. Create .env file based on .env.example file and generate APP_KEY
  5. Clear Laravel caches (route, config, cache)
  6. Migrate and seed database

Why creating this package?

I work as a web development teacher and frequently give assignments to my students. I teach them how to use Laravel, and then, they have to create many different Laravel projects for educational purpose.

That's why I need to quickly set up their Laravel project to be able to test and mark their projects.

Requirements

Composer

Make sure Composer is installed globally.

Install

$ composer global require cba85/laravel-init

Then make sure you have the global Composer binaries directory in your PATH.

This directory is platform-dependent, see Composer documentation for details.

Update

$ composer global update cba85/laravel-init

Usage

Go inside a Laravel project folder.

$ laravel-init

Options

--lumen

Initialize a Lumen project.

$ laravel-init --lumen

--npm

Initialize a laravel project using npm.

$ laravel-init --npm

Dependencies

Tests

No test yet.

About

๐Ÿ Quickly initialize a Laravel/Lumen project using terminal.

Topics

Resources

Stars

Watchers

Forks

Languages