fiko/magento2-adminurl 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

fiko/magento2-adminurl

Composer 安装命令:

composer require fiko/magento2-adminurl

包简介

Create direct URL to magento2 adminhtml.

README 文档

README

It's a magento 2 module to create a direct URL to adminhtml page without being redirected to dashboard.

How to install?

Via Composer

If you try to install via composer, just require your project to the module by running this command :

composer require fiko/magento2-adminurl

Manually

  1. Download this repo
  2. Create a Directory app/code/Fiko/AdminUrl
  3. Copy downloaded repo to this directory

Once you download it (both composer or manually), just run this commands to apply this module to your project :

php bin/magento setup:upgrade --keep-generated
php bin/magento setup:di:compile

How to use?

Simply just use the model

class Example
{
    public function __construct(
        .......
        \Fiko\AdminUrl\Model\Url $adminUrl
        .......
    ) {
        .......
        $this->adminUrl = $adminUrl;
        .......
    }

    public function execute()
    {
        $catalogUrl = $this->adminUrl->getUrl('catalog/index/index');
    }
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT © 2022

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固