php artisan tinker
DevelopmentInteract with your application via REPL
Examples
Common usage examples
Start Tinker REPL
php artisan tinkerNotes
- Test code interactively
- Access models, helpers, and application features
- Exit with 'exit' or Ctrl+C
Related Commands
You might also find these useful