A reloadable Laravel Tinker with magic model shortcuts for faster development.
Laravel Tinx was a developer tool that enhanced Laravel Tinker with session reloading and magic model shortcuts. It allowed developers to reboot their REPL session without exiting, and provided auto-generated shortcuts for common Eloquent operations like `first()`, `find()`, and `where()` queries.
Laravel developers who frequently use Tinker for interactive debugging, testing, and data exploration during development.
It significantly sped up the Tinker workflow by eliminating the need to restart sessions for code changes and reducing keystrokes for common model operations, making development more fluid and efficient.
⛔️ Laravel Tinx is archived and no longer maintained.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows calling re() to reboot the Tinker session without exiting, enabling immediate testing of code changes as demonstrated in the README's gif and usage section.
Auto-generates shortcuts like $u for User::first() and u(3) for User::find(3), reducing keystrokes for common Eloquent operations as detailed in the magic models table.
Supports multiple strategies such as 'pascal' and 'shortestUnique' for model shortcut names, allowing customization via the config/tinx.php file.
Facilitates quick test data generation with shortcuts like factory(u())->create(), speeding up development workflows as highlighted in the fast factories section.
Archived since December 2019 with no updates, fixes, or support, making it risky for modern projects, as explicitly stated in the README's deprecation notice.
May not work with newer Laravel or PHP versions due to lack of maintenance, as hinted by the provided workaround script for reloading without Tinx.
Requires publishing and editing a config file for advanced customization, adding setup complexity compared to standard Tinker, as shown in the configuration section.