suzunone/hibana
Composer 安装命令:
composer require suzunone/hibana
包简介
Transform your Laravel project into static websites.
README 文档
README
Installation
Require this package with composer using the following command:
composer require --dev suzunone/hibana dev-main
Note
If you encounter version conflicts with doctrine/dbal, please try:
composer require --dev suzunone/hibana --with-all-dependencies
This package makes use of Laravels package auto-discovery mechanism, which means if you don't install dev dependencies in production, it also won't be loaded.
If for some reason you want manually control this:
- add the package to the
extra.laravel.dont-discoverkey incomposer.json, e.g."extra": { "laravel": { "dont-discover": [ "suzunone/hibana" ] } }
- Add the following class to the providers array in bootstrap/providers.php
Suzunone\Hibana\Providers\HibanaServiceProvider::class
If you want to manually load it only in non-production environments, instead you can add this to your AppServiceProvider with the register() method:
if ($this->app->isLocal()) { $this->app->register(\Suzunone\Hibana\Providers\HibanaServiceProvider::class); }
Note: Avoid caching the configuration in your development environment, it may cause issues after installing this package; respectively clear the cache beforehand via
php artisan cache:clearif you encounter problems when running the commands
- Publish the config file to change implementations (ie. change the storage disk from the default) or set defaults for hibana.
php artisan vendor:publish --provider="Suzunone\Hibana\Providers\HibanaServiceProvider" --tag=config
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-15