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.
- Host: GitHub
- URL: https://github.com/beyondcode/tinkerwell-helper
- Owner: beyondcode
- License: mit
- Created: 2020-02-10T09:20:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-12T17:39:04.000Z (over 1 year ago)
- Last Synced: 2025-04-02T21:09:34.718Z (9 months ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 58
- Watchers: 4
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
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.