定制 novius/laravel-backpack-redirection-manager 二次开发

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

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

novius/laravel-backpack-redirection-manager

Composer 安装命令:

composer require novius/laravel-backpack-redirection-manager

包简介

This packages provides an interface to manage redirections via the Backpack admin panel

README 文档

README

Travis Packagist Release Licence

This package provides an admin panel to manage redirections with spatie/laravel-missing-page-redirector.

Installation

You can install the package via composer:

composer require novius/laravel-backpack-redirection-manager

The package will automatically register itself.

Next you must register the Spatie\MissingPageRedirector\RedirectsMissingPages middleware :

//app/Http/Kernel.php

protected $middleware = [
    ...
    \Spatie\MissingPageRedirector\RedirectsMissingPages::class,
],

Finally you can add a link in the Backpack sidebar :

<li>
    <a href="{{ route('crud.redirection.index') }}">
        <i class="fa fa-arrows-h"></i>
        <span>{{ trans('backpack-redirection-manager::crud.sidebar_title') }}</span>
    </a>
</li>

Configuration

This package provides a configuration file whose values overwrite the configuration of spatie/laravel-missing-page-redirector.

You can publish the configuration file if you want to change these values :

php artisan vendor:publish --provider="Novius\Backpack\RedirectionManager\RedirectionManagerServiceProvider" --tag=config

You can also publish the migrations, lang and routes :

php artisan vendor:publish --provider="Novius\Backpack\RedirectionManager\RedirectionManagerServiceProvider" --tag=migrations
php artisan vendor:publish --provider="Novius\Backpack\RedirectionManager\RedirectionManagerServiceProvider" --tag=lang
php artisan vendor:publish --provider="Novius\Backpack\RedirectionManager\RedirectionManagerServiceProvider" --tag=routes

Lint

Run php-cs with:

./cs.sh

Contributing

Contributions are welcome! Leave an issue on Github, or create a Pull Request.

Licence

This package is under GNU Affero General Public License v3 or (at your option) any later version.

统计信息

  • 总下载量: 2.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2018-03-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固