incipient/structura
Composer 安装命令:
composer require incipient/structura
包简介
structura is a Laravel package for seamlessly managing and visualizing organizational hierarchies. It provides intuitive tools to define reporting relationships, handle employee data, and generate dynamic organizational charts. With support for AI-driven insights and modern charting libraries, struc
关键字:
README 文档
README
Structura
Structura is a Laravel package for seamlessly managing and visualizing organizational hierarchies. It provides intuitive tools to define reporting relationships, handle employee data, and generate dynamic organizational charts.
Installation
Follow these steps to install and set up Structura in your Laravel project:
Step 1: Install via Composer
Run the following command to install the package:
composer require incipient/structura
Step 2: Publish Resources
Publish the package's resources using the following command:
php artisan vendor:publish --provider="incipient\structura\Providers\OrganizationalChartServiceProvider"
This will publish:
- Configuration file:
config/organizational_chart.php - Migrations:
database/migrations/ - Views:
resources/views/vendor/organizationalchart/ - Controllers:
app/Http/Controllers/Vendor/Structura/
Step 3: Run Migrations
Apply the published migrations to your database:
php artisan migrate
Step 4: Customize Configuration (Optional)
Modify the configuration file config/organizational_chart.php to suit your needs.
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-25