anooserve / laravel-componentutils
A Laravel package to list your components and how often they are referenced.
1.1.1
2021-11-17 23:22 UTC
Requires
- php: ^7.4|^8.0
- illuminate/support: ~7|~8
Requires (Dev)
- orchestra/testbench: ~5|~6
- phpunit/phpunit: ~9.0
This package is auto-updated.
Last update: 2024-06-18 05:15:35 UTC
README
Installation
You can install the package via composer:
composer require --dev anooserve/laravel-componentutils
It is not recommended to install this package in a production environment unless you know what you are doing.
Usage
Visit
It's not a beautiful list, but it works. Usually.
Advanced Usage
You can publish the config file with:
php artisan vendor:publish --tag="componentutils-config"
These are the contents of the published config file
return [
/**
* The endpoint to access the components.
*/
'url' => 'components',
/**
* The middleware(s) to apply before attempting to access components page.
*/
'middlewares' => [],
/**
* The components to hide with regular expression.
*/
'hide_matching' => [],
];
You can publish the views with:
php artisan vendor:publish --tag="componentutils-views"
To Do
- Add component searching
- Add component filtering
- Atomic design helper functions
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.