tralves / lumen-tinker

An Interactive Shell to Lumen Framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lumen Artisan Tinker

Join the chat at https://gitter.im/vluzrmos/lumen-tinker

Latest Stable Version Total Downloads License Build Status StyleCI Scrutinizer Code Quality

An Interactive Shell to Lumen Framework.

Preview

Installation

Package Versions:

Lumen Tinker
5.0 1.0.*
5.1 1.1.*

Download from packagist:

composer require vluzrmos/tinker

Add the Service Provider to the artisan file:

if(class_exists('Vluzrmos\Tinker\TinkerServiceProvider')) {
    $app->register('Vluzrmos\Tinker\TinkerServiceProvider');
}

Note: This will not affect the performance of your application.

And that is it, to see if it works do php artisan, and be sure to see the command tinker there.

To use the shell:

php artisan tinker

Known Issues

Lumen UrlGenerator do not generate correctly urls for non-browser requests, if you want to generate url on console commands or tests, I recommend you to install that package to fix it:

Credits

That package is a partial modification of illuminate/framework and that is copyright of Taylor Otwell.

About

An Interactive Shell to Lumen Framework.


Languages

Language:PHP 100.0%