{"id":93325,"library":"hyperf-macroable","title":"Hyperf Macroable","description":"Hyperf Macroable package which come from illuminate/macroable.","status":"active","version":"3.1.63","language":"php","source_language":null,"source_url":"https://github.com/hyperf/macroable","tags":["hyperf","macroable","trait","illuminate"],"install":[{"cmd":"composer require hyperf/macroable","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Macroable","correct":"use Hyperf\\Macroable\\Macroable;"}],"quickstart":{"code":"<?php\nuse Hyperf\\Macroable\\Macroable;\n\nclass MyClass {\n    use Macroable;\n}\n\nMyClass::macro('hello', function() {\n    return 'Hello';\n});\necho MyClass::hello();","lang":"php","description":"Add macros to a class using the Macroable trait."},"warnings":[],"env_vars":null,"search_vec":"'come':7 'hyperf':1,3,10 'illumin':13 'illuminate/macroable':9 'macroabl':2,4,11 'packag':5 'trait':12","created_at":"2026-06-19T09:46:17.690627+00:00","updated_at":"2026-06-19T09:46:17.690627+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://hyperf.io","github":"https://github.com/hyperf/macroable","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}}