Skip to content

An Interactive Shell to Lumen Framework.

Notifications You must be signed in to change notification settings

john-tuck/lumen-tinker

 
 

Repository files navigation

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.*
5.3 1.3.0
5.4+ 1.3.*

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%