anooserve / laravel-componentutils
一个Laravel扩展包,用于列出您的组件以及它们被引用的频率。
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-09-18 05:47:33 UTC
README
安装
您可以通过composer安装此包
composer require --dev anooserve/laravel-componentutils
不推荐在生产环境中安装此包,除非您知道自己在做什么。
使用方法
访问
这不是一个漂亮的列表,但它可以工作。通常。
高级使用
您可以使用以下命令发布配置文件
php artisan vendor:publish --tag="componentutils-config"
以下是发布配置文件的内容
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' => [],
];
您可以使用以下命令发布视图
php artisan vendor:publish --tag="componentutils-views"
待办事项
- 添加组件搜索功能
- 添加组件过滤功能
- 原子设计辅助函数
变更日志
有关最近更改的更多信息,请参阅变更日志。
鸣谢
许可协议
MIT许可协议(MIT)。有关更多信息,请参阅许可文件。