vluzrmos / tinker
An Interactive Shell to Lumen Framework.
Installs: 465 064
Dependents: 4
Suggesters: 0
Security: 0
Stars: 113
Watchers: 3
Forks: 13
Open Issues: 0
Type:package
Requires
- laravel/lumen-framework: ^5.3
- psy/psysh: ^0.9
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- fzaninotto/faker: ~1.4
- phpunit/phpunit: ~5.0
README
Please consider to use the official Laravel Tinker, it is also compatible with Lumen: laravel/tinker
Lumen Artisan Tinker
An Interactive Shell to Lumen Framework.
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
Credits
That package is a partial modification of illuminate/framework and that is copyright of Taylor Otwell.