bubbaops / macro-collection
A collection of macros for Collections.
dev-main
2023-07-03 06:59 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.30|^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0|^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.21|^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^1.1|^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-11-20 05:13:52 UTC
README
A collection of macros that we regularly use in development, gathered in one convenient spot.
Installation
You can install the package via composer:
composer require bubbaops/macro-collection
You can publish and run the migrations with:
php artisan vendor:publish --tag="macro-collection-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="macro-collection-config"
This is the contents of the published config file:
return [
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="macro-collection-views"
Usage
$macroCollection = new BubbaOps\MacroCollection(); echo $macroCollection->echoPhrase('Hello, BubbaOps!');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.