carving-i-t/hierarchies
最新稳定版本:1.1.0
Composer 安装命令:
composer require carving-i-t/hierarchies
包简介
Management of organizational hierarchies in your Laravel app.
README 文档
README
Laravel package for managing hierarchies within your application
Installation
composer require carving-i-t/hierarchies
php artisan vendor:publish --provider="CarvingIT\Hierarchies\HierarchiesServiceProvider"
php artisan migrate
The package downloads font-awesome under vendor/components. Create a symbolic link pointing to that under public/.
cd public/assets
ln -s ../../vendor/components/font-awesome
Views
To include hierarchies in your view (that has the header/footer and navs), just include the view.
@include('vendor.hierarchies.index')
The view also gets published so you can make changes.
Configuration
config/hierarchies.php can be edited to adjust the following settings.
-
base_path
-
fontawesome_path that is relative to the document root of your application
-
middleware[s] that apply to this module.
Models
-
Position - Model for positions created.
-
PositionUser - Model recording association of a user with a position.
Screenshot
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-07