Skip to content

This package is a collection of artisan commands for speed up development with laravel.

License

Notifications You must be signed in to change notification settings

guysolamour/laravel-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel commands

Packagist Packagist Packagist

This package is a collection of artisan commands for speed up developmemt with laravel framework.

Installation

Install via composer

composer require guysolamour/laravel-commands

Usage

Create database

php artisan cmd:db:create

Fill .env database credentials before using this command.

NB:

  • Supported drivers are (mysql & sqlite)

Dump database

php artisan cmd:db:dump {filename=dump.sql}

Fill .env database credentials before using this command.

NB:

  • Supported drivers are (mysql & sqlite)

Drop a database

php artisan cmd:db:drop

Fill .env database credentials before using this command.

NB:

  • Supported drivers are (mysql & sqlite)

Seed database

php artisan cmd:db:seed

If you want to run all seed --all option

php artisan cmd:db:seed --all

If you want to run a specific class you can use --class option

php artisan cmd:db:seed --class=UsersTableSeeder

Run seed in production --force option

php artisan cmd:db:seed --force

Create helper file

php artisan cmd:make:helper helpername

Folder name can be changed with --folder option

php artisan cmd:make:helper helpername --folder={folder}

Security

If you discover any security related issues, please email instead of using the issue tracker.

About

This package is a collection of artisan commands for speed up development with laravel.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages