Skip to content

Sprocket will new up or tear down a MySQL database on your Laravel project

Notifications You must be signed in to change notification settings

PeterDKC/sprocket

Repository files navigation

Laravel Utils

A set of utilities for Laravel projects.

Installation

Install through composer:

composer require --dev peterdkc/sprocket

Usage

Databases

To create a local database (currently only support MySQL):

php artisan sprocket:makedb

Enter your root (or otherwise privileged) username and password.

To destroy your database:

php artisan sprocket:makedb -t

Enter your root (or otherwise privileged) username and password.