{"id":94338,"library":"watson-active","title":"Watson Active","description":"Laravel helper for recognising the current route, controller and action","status":"active","version":"7.3.0","language":"php","source_language":null,"source_url":"https://github.com/dwightwatson/active","tags":["laravel","routing","helper","active"],"install":[{"cmd":"composer require watson/active","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Active","correct":"use Watson\\Active\\Active;"}],"quickstart":{"code":"use Watson\\Active\\Active;\n\n$active = new Active();\nif ($active->checkRoute('home')) {\n    echo 'Home page';\n}","lang":"php","description":"Check if current route matches a named route"},"warnings":[],"env_vars":null,"search_vec":"'action':12 'activ':2,16 'control':10 'current':8 'helper':4,15 'laravel':3,13 'recognis':6 'rout':9,14 'watson':1","created_at":"2026-06-19T10:04:51.767820+00:00","updated_at":"2026-06-19T10:04:51.767820+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://github.com/dwightwatson/active","github":"https://github.com/dwightwatson/active","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","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}}