4imobile / 4i-artisan-commands
Artisan commands for base project setup
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:commands
Requires
- php: >=7
- doctrine/dbal: ^2.9
- laravel/framework: ^5.8
- laravel/tinker: ^1.0
- twilio/sdk: ^5.32
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.6
- doctrine/dbal: ^2.9
- phpunit/phpunit: ^7.5
- rhaarhoff/laravel-artisan-commands: ^1.1
- twilio/sdk: ^5.32
README
Description
This package provides some useful Artisan commands for generating everything to do with base project setup and hopefully more in the future.
Installation
Require this package with Composer using the following command:
composer require 4imobile/4i-artisan-commands
After updating Composer, add the service provider to the providers
array in config/app.php
:
FourIMobile\FourIArtisanCommands\CommandServiceProvider::class
Run the dump-autoload
command:
composer dump-autoload
In Laravel, instead of adding the service provider in the config/app.php
file, you can add the following code to your app/Providers/AppServiceProvider.php
file, within the register()
method:
public function register() { if ($this->app->environment() !== 'production') { $this->app->register(\FourIMobile\FourIArtisanCommands\CommandServiceProvider::class); } // ... }
Commands
Below you can find all the commands that you can use, including the parameters that you can specify.
COMMAND PARAMETER DESCRIPTION
-----------------------------------------------------------------------------------------------------------------------
make:device:auth -b Generates a basic auth structure, including everything except OTP
make:device:auth -a Generates the entire auth structure
make:device:migrations Generates the device base migrations
License
The Laravel Artisan Commands is open-sourced software licensed under the MIT license.