Three pieces of plumbing hold a Laravel 2,157 application together. Events let one part of the code announce that something happened without knowing who reacts. The service container builds almost every object you have met: controllers, middleware, listeners and commands. Artisan is also a framework for your own command-line tools.
The examples extend the bookshop with products, orders and order_items, a Checkout service that charges through a PaymentGateway interface, and a shop:restock command. They ran on Laravel 13.33.0 and PHP 8.5.4 against SQLite 4,756 ; PHP snippets ran through php artisan tinker --execute, and log lines come from storage/logs/laravel.log.