定制 suzunone/hibana 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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-discover key in composer.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:clear if 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-15