承接 sergmoro1/yii2-resort 相关项目开发

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

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

sergmoro1/yii2-resort

Composer 安装命令:

composer require sergmoro1/yii2-resort

包简介

Rooms and price management for resort or inn.

README 文档

README

Advantages

The definition of rooms by category. Description of rooms, services provided. Determination of prices for rooms depending on the category, food, treatment.

Installation

  1. Install package.

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist sergmoro1/yii2-resort

or add

"sergmoro1/yii2-blog-tools": "~1.1"

to the require section of your composer.json.

  1. Init yii2-blog-tools

Blog init and configs as explained in sergmoro1/yii2-blog-tools.

  1. Run migration

php yii migrate --migrationPath=@vendor/sergmoro1/yii2-resort/src/migrations

  1. Copy predefined files to appropriate folders by bathch file initresort

To get it make a command in app directory.

cp ./vendor/sergmoro1/yii2-resort/src/initresort ./
php initresort

To start the application, you need to determine the names of buildings of your hotel, room categories, accommodation options, food. As an example, you can run a migration.

  1. Prepare and run migration use an example

php yii migrate --migrationPath=@app/migrations/resort

Configuration

Change common/config/main.php.

return [
  ...
  'modules' => [
    ...
    'resort' => ['class' => 'sergmoro1\resort\Module'],
    'slide' => ['class' => 'sergmoro1\slide\Module'],
    ],

Replace default frontend/config/main.php.

return [
  'email' => [
    'admin' => 'admin@your-site.ru',
    'contact' => 'admin@your-site.ru',
  ],
  'commentsPerPage' => 5,
  'authorShow' => true,
  // Header menu (example)
  'header-menu' => [
    'items' => [
      ['label' => 'Service', 'title' => 'About your serveces', 'url' => ['site/index']],
      ['label' => 'Blog', 'title' => 'Posts about ...', 'url' => ['post/index']],
      ['label' => 'Feedback', 'title' => 'Send us a short message by email', 'url' => ['site/feedback']],
    ],
  ],
  // Footer menus (example)
  'footer-menu' => [
    'first' => [
      ['label' => 'Service', 'title' => 'About your serveces', 'url' => ['site/index']],
      ['label' => 'Blog', 'title' => 'Posts about ...', 'url' => ['post/index']],
    ],
    'second' => [
      ['label' => 'Feedback', 'title' => 'Send us a short message by email', 'url' => ['site/feedback']],
    ],
  ],
  // fab fa-$icons[$id] fa-stack-1x fa-inverse
  'icons' => [
    'yandex' => 'yandex',
    'vkontakte' => 'vk',
  ],
  'common' => [
    'slides' => [
      ['id' => 1, 'caption' => 'Реклама'],
      ['id' => 2, 'caption' => 'Характерная черта'],
      ['id' => 3, 'caption' => 'Ключевая услуга'],
    ],
    // Description format
    // Title # Subtitle # Slogan # Link
    'highlights' => ['h4', 'p', 'small', 'b', 'p', 'small'],
  ],
];

Start

Enter http://your-app/backend/web and Login.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固