ended3월 15일· 3 sources
Clean Laravel Macros with PHP Attributes
PHP Attribute를 활용한 깔끔한 Laravel Macro 등록
Why it matters
Laravel macros traditionally require manual registration via closures and service providers, creating boilerplate and scattered logic. The laravel-macro-attribute package leverages PHP 8 attributes to let developers define macros directly on static methods with a #[Macro(...)] attribute, eliminating the need for separate registration and keeping macro logic co-located.
3
Sources
+0
24h
—
Growth
187d
Active
ai sdkcrypto tradingjson:api resourceslaravellaravel 13laravel-macro-attributemacrosphp 8.3php attributesphp sdkzoomexzoomex-php