All Projects → beyondcode → tinkerwell-helper

beyondcode / tinkerwell-helper

Licence: MIT license
Open Tinkerwell right from your Laravel apps.

Programming Languages

PHP
23972 projects - #3 most used programming language

Tinkerwell Helper

Immediately open Tinkerwell from within your Laravel applications. Think of it as a dd on steroids.

Installation

You can install the package via composer:

composer require --dev beyondcode/tinkerwell-helper

Usage

Note: You need Tinkerwell version 2.2.0+ in order to use this package.

Use the tinker method to open Tinkerwell with the given variables available in the Tinkerwell scope.

For example:

$user = User::find(1);

tinker($user);

This will open Tinkerwell and you will have the $user variable available within Tinkerwell immediately.

You can also tinker with data that is not explicitly in a temporary variable:

tinker(User::find(1));

In this case, the scoped variable(s) are named $temp0, $temp1, etc.

Changelog

Please see CHANGELOG for more information on 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

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].