mikicaivosevic / tinker1984
Auditable REPL for the Laravel framework.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 133
pkg:composer/mikicaivosevic/tinker1984
Requires
- php: ^7.2.5|^8.0
- illuminate/console: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/contracts: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- psy/psysh: ^0.11.1|^0.12.0
- symfony/var-dumper: ^4.3.4|^5.0|^6.0|^7.0
Requires (Dev)
- mockery/mockery: ~1.3.3|^1.4.2
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^8.5.8|^9.3.3|^10.0
Suggests
- illuminate/database: The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0).
This package is auto-updated.
Last update: 2025-11-14 22:36:25 UTC
README
Tinker1984 is a powerful REPL for the Laravel framework with built-in session recording and auditing capabilities.
This project is inspired by Rails console1984, which brings security and accountability to Rails console sessions. Tinker1984 aims to provide similar functionality for Laravel applications by:
- Recording console sessions - Every command executed in Tinker is logged with timestamps and user information
- Auditing capabilities - Track who accessed the console, when, and what commands they ran
- Enhanced security - Maintain accountability and compliance in production environments
- User tracking - Associate console sessions with users
Why Tinker1984?
Just like console1984 helps Rails teams maintain security and accountability in their console sessions, Tinker1984 extends Laravel's Tinker with the same philosophy.
Features
- All standard Laravel Tinker functionality
- Automatic session recording to database
- Command history tracking
- User association for audit trails
Installation
composer require mikicaivosevic/tinker1984
After installation run migrations:
php artisan migrate
Usage
Use Tinker1984 just like regular Tinker:
php artisan tinker
All your commands will be automatically recorded for auditing purposes.
License
Tinker1984 is open-sourced software licensed under the MIT license.