An open API service indexing awesome lists of open source software.

https://github.com/beyondcode/tinkerwell-helper

Open Tinkerwell right from your Laravel apps.
https://github.com/beyondcode/tinkerwell-helper

Last synced: 8 months ago
JSON representation

Open Tinkerwell right from your Laravel apps.

Awesome Lists containing this project

README

          

# Tinkerwell Helper

Immediately open [Tinkerwell](https://tinkerwell.app) 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:

```bash
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:
``` php
$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:

``` php
tinker(User::find(1));
```

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

### Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.

## Credits

- [Marcel Pociot](https://github.com/mpociot)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.