承接 valearkot/yii2-module 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

valearkot/yii2-module

Composer 安装命令:

composer require valearkot/yii2-module

包简介

Test module

README 文档

README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist valearkot/yii2-module "*"

or add

"valearkot/yii2-module": "*"

to the require section of your composer.json file.

  • Migrate to create the desired table in the database (console):
yii migrate --migrationPath=@valearkot/yii2module/migrations --interactive=0
  • Migrate i18n datebase:
./yii migrate --migrationPath='@yii/i18n/migrations'
  • In config.php :
<?php 
$config = [
    'id' => 'basic',
    'language' => 'en',
    'sourceLanguage' => 'en',

And then add this to your application configuration:

<?php
return [

    // ...

    'components' => [
        // ...

        // Override the urlManager component
        'urlManager' => [
            'class' => 'codemix\localeurls\UrlManager',

            // List all supported languages here
            // Make sure, you include your app's default language.
            'languages' => $params['language'],
        ]

        // ...
    ]
];

Add in params.php:

<?php
return [


    'language' =>
            [
                'ru',
                'de',
                'en'
                //For example
            ],
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固