{"id":86480,"library":"illuminate-events","title":"Illuminate Events","description":"The Illuminate Events package.","status":"active","version":"12.51.0","language":"php","source_language":null,"source_url":"https://github.com/illuminate/events","tags":["events","laravel","illuminate","dispatcher"],"install":[{"cmd":"composer require illuminate/events","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Dispatcher","correct":"use Illuminate\\Events\\Dispatcher;"}],"quickstart":{"code":"use Illuminate\\Events\\Dispatcher;\n\n$events = new Dispatcher();\n$events->listen('user.login', function ($user) {\n    echo \"User {$user} logged in.\";\n});\n$events->dispatch('user.login', ['John']);","lang":"php","description":"Create an event dispatcher, register a listener, and dispatch an event."},"warnings":[],"env_vars":null,"search_vec":"'dispatch':10 'event':2,5,7 'illumin':1,4,9 'laravel':8 'packag':6","created_at":"2026-06-19T08:02:23.239781+00:00","updated_at":"2026-06-19T08:02:23.239781+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://laravel.com","github":"https://github.com/illuminate/events","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}