2017 © Pedro Peláez
 

library laradeck-commands

A set of useful Laravel artisan commands

image

ngtfkx/laradeck-commands

A set of useful Laravel artisan commands

  • Wednesday, September 13, 2017
  • by ngtfkx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

Laradeck Commands

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A set of useful Laravel artisan commands, (*2)

  • php artisan laradeck:view {name} Create a new view
  • php artisan laradeck:download {url} Download file from url

Install

Downloading

Via Composer, (*3)

``` bash $ composer require ngtfkx/laradeck-commands, (*4)


### Registering the service provider If you're using Laravel 5.5+, you can skip this step. The service provider will have already been registered thanks to auto-discovery. Otherwise, add line `Ngtfkx\Laradeck\Commands\LaradeckCommandsServiceProvider::class,` manually in your `config\app.php` file. ## Usage ### laradeck:view ``` bash # Create a new view php artisan laradeck:view admin.users.show

``` bash, (*5)

Create a new view and rewrite old with same name

php artisan laradeck:view admin.users.show --force, (*6)


``` bash # Create a new view with @extends directive php artisan laradeck:view admin.users.show --extends=layouts.app

``` bash, (*7)

Create a new view with @section directive

php artisan laradeck:view admin.users.show --section=content --section=sidebar, (*8)


``` bash # Create a new view with @section directive (other syntax) php artisan laradeck:view admin.users.show --section=content,sidebar

Similarly for @push (--stack) and @component (--component) directives., (*9)

laradeck:download

``` bash, (*10)

download file and save it as storage/app/8SE_CIgzZw8.jpg

php artisan laradeck:download https://pp.userapi.com/c7008/v7008434/a3dc5/8SE_CIgzZw8.jpg, (*11)


``` bash # download file and save it as storage/app/123.jpg php artisan laradeck:download https://pp.userapi.com/c7008/v7008434/a3dc5/8SE_CIgzZw8.jpg --name=123.jpg

``` bash, (*12)

download file and save it as storage/app/test/photo/123.jpg

php artisan laradeck:download https://pp.userapi.com/c7008/v7008434/a3dc5/8SE_CIgzZw8.jpg --name=123.jpg --path=test/photo ```, (*13)

Change log

Please see CHANGELOG for more information on what has changed recently., (*14)

Credits

License

The MIT License (MIT). Please see License File for more information., (*15)

The Versions

13/09 2017

dev-master

9999999-dev https://github.com/ngtfkx/laradeck-commands

A set of useful Laravel artisan commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel console commands artisan ngtfkx laradeck laradeck-commands

13/09 2017

1.0.0

1.0.0.0 https://github.com/ngtfkx/laradeck-commands

A set of useful Laravel artisan commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel console commands artisan ngtfkx laradeck laradeck-commands