beyondcode/tinkerwell-helper

Open Tinkerwell from your Laravel project.
99,833 59
Install
composer require beyondcode/tinkerwell-helper
Latest Version:1.5.0
PHP:^7.2|^8.0
License:MIT
Last Updated:May 12, 2024
Links: GitHub  ·  Packagist
Maintainer: beyondcode

Tinkerwell Helper

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

Installation

This package only works with Tinkerwell for macOS

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 marcel@beyondco.de instead of using the issue tracker.

Credits

License

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

Related Packages

beyondcode/laravel-self-diagnosis

Perform various self diagnosis tests on your Laravel application.

1,212,521 1,451
beyondcode/laravel-er-diagram-generator

Generate ER diagrams from your Laravel models.

1,639,193 2,021
beyondcode/laravel-dump-server

Symfony Var-Dump Server for Laravel

45,121,824 1,557
beyondcode/laravel-query-detector

Laravel N+1 Query Detector

8,042,444 2,056
beyondcode/laravel-confirm-email

Add email verification to your Laravel projects.

57,589 553