Libraries tagged by macros
spatie/laravel-collection-macros
2648963 Downloads
A set of useful Laravel collection macros
jawira/case-converter
3647872 Downloads
Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation.
aimeos/macro
69011 Downloads
Customize classes using closures
reinink/advanced-eloquent
349232 Downloads
A set of advanced Eloquent macros for Laravel
henzeb/enumhancer
92972 Downloads
Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums
mpyw/eloquent-has-by-non-dependent-subquery
313491 Downloads
Convert has() and whereHas() constraints to non-dependent subqueries.
tutorigo/laravel-ide-macros
286849 Downloads
Generating a helper file for IDEs to support Laravel's macros.
mpyw/laravel-local-class-scope
60084 Downloads
A tiny macro that reuse a global scope class as a local scope
milo/embedded-svg
295627 Downloads
Latte macro to embed SVG from file into HTML
mpyw/eloquent-has-by-join
94818 Downloads
Convert has() and whereHas() constraints to join() ones for single-result relations.
ghostwriter/case-converter
75861 Downloads
Convert strings from and to AdaCase, CamelCase, CobolCase, KebabCase, Lowercase, MacroCase, PascalCase, SentenceCase, SnakeCase, TitleCase, TrainCase, and Uppercase
genealabs/laravel-casts
66495 Downloads
Useful form macros for Laravel's Blade template engine.
guidocella/eloquent-insert-on-duplicate-key
539799 Downloads
Macros for INSERT ON DUPLICATE KEY UPDATE and INSERT IGNORE with Eloquent
yurunsoft/macro
71613 Downloads
支持在 PHP 代码中使用类似 C/C++ 中的宏,进行代码预编译。可以方便兼容不同版本和环境下运行的 PHP 代码。
werxe/laravel-collection-macros
21957 Downloads
Custom Laravel Collection macros.