Download the PHP package beyondcode/laravel-tinker-server without Composer
On this page you can find all versions of the php package beyondcode/laravel-tinker-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download beyondcode/laravel-tinker-server
More information about beyondcode/laravel-tinker-server
Files in beyondcode/laravel-tinker-server
Package laravel-tinker-server
Short Description Tinker with your variables while working on your application.
License MIT
Homepage https://github.com/beyondcode/laravel-tinker-server
Informations about the package laravel-tinker-server
Laravel Tinker Server
This package will give you a tinker server, that collects all your tinker
call outputs and allows you to interact with the variables on the fly.
About this package
This package was built as part of my PHP Package Development video course. Register for the course to learn how this package was built.
Installation
You can install the package via composer:
The package will register itself automatically.
Optionally you can publish the package configuration using:
This will publish a file called laravel-tinker-server.php
in your config
folder.
In the config file, you can specify the dump server host that you want to listen on, in case you want to change the default value.
Usage
Start the tinker server by calling the artisan command:
And then you can put tinker
calls in your methods to dump variable content as well as instantly making them available in an interactive REPL shell.
In addition to the tinker
method, there is also a td
method, that behaves similar to dd
. It tinkers the variable and dies the current request.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Marcel Pociot
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of laravel-tinker-server with dependencies
clue/stdio-react Version ^2.2
illuminate/support Version 5.6.*|5.7.*|5.8.*
laravel/tinker Version ^1.0
psy/psysh Version ^0.9.9
react/socket Version ^1.2