2017 © Pedro Peláez
 

library laravel-artisan-commands

Additional artisan commands for Laravel

image

novius/laravel-artisan-commands

Additional artisan commands for Laravel

  • Tuesday, December 12, 2017
  • by novius
  • Repository
  • 4 Watchers
  • 2 Stars
  • 1,089 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 13 % Grown

The README.md

Laravel Artisan Commands

Packagist Release Licence, (*1)

This package contains some useful Artisan commands., (*2)

Requirements

This version is compatible with Laravel >= 11 and <= 12 and PHP >= 8.2., (*3)

For Laravel 10.0 please use 4.* version., (*4)

For Laravel >= 7.0 and < 10.0 please use 3.* version., (*5)

For Laravel >= 6.0 and < 7.0 please use 2.* version., (*6)

For Laravel >= 5.7 and < 6.0 please use 1.* version., (*7)

For Laravel >=5.5.0 and < 5.7 please use 0.3 version., (*8)

Installation

In your terminal:, (*9)

composer require novius/laravel-artisan-commands

Usage & Features

db:configure

This command replaces some variables into .env and config/database.php files, in order to configure database name, user and password when you create a new project., (*10)

php artisan db:configure

db:create

This command tries to create a database, for a given connection:, (*11)

php artisan db:create --connection=[connection]

[connection] have to be a valid connection, defined into config/database.php configuration file., (*12)

For instance, php artisan db:create --connection=mysql will call config('database.connections.mysql') to get driver, host, database name, etc., (*13)

db:get-name

This command print the database name for a given connection (or the current connection if not specified) :, (*14)

php artisan db:get-name
php artisan db:get-name --connection=dev

[connection] have to be a valid connection, defined into config/database.php configuration file., (*15)

Testing

Run the tests with:, (*16)

./test.sh

Lint

Run php-cs with:, (*17)

./cs.sh

Contributing

Contributions are welcome! Leave an issue on Github, or create a Pull Request., (*18)

Licence

This package is under GNU Affero General Public License v3 or (at your option) any later version., (*19)

The Versions

12/12 2017

0.3.x-dev

0.3.9999999.9999999-dev

Additional artisan commands for Laravel

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel console commands artisan

12/12 2017

0.3.0

0.3.0.0

Additional artisan commands for Laravel

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel console commands artisan

01/09 2017

0.2.x-dev

0.2.9999999.9999999-dev

Additional artisan commands for Laravel

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel console commands artisan

01/09 2017

0.2.0

0.2.0.0

Additional artisan commands for Laravel

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel console commands artisan

25/08 2017

0.1.x-dev

0.1.9999999.9999999-dev

Additional artisan commands for Laravel

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel console commands artisan

25/08 2017

0.1.0

0.1.0.0

Additional artisan commands for Laravel

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel console commands artisan