PHPackages                             sergmoro1/yii2-resort - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sergmoro1/yii2-resort

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

sergmoro1/yii2-resort
=====================

Rooms and price management for resort or inn.

v1.1.2(6y ago)050MITPHPPHP &gt;=5.4.0

Since Sep 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sergmoro1/yii2-resort)[ Packagist](https://packagist.org/packages/sergmoro1/yii2-resort)[ RSS](/packages/sergmoro1-yii2-resort/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (4)Used By (0)

Yii2 module for resort rooms &amp; price management
===================================================

[](#yii2-module-for-resort-rooms--price-management)

Advantages
----------

[](#advantages)

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

Installation
------------

[](#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.

2. Init yii2-blog-tools

Blog init and configs as explained in [sergmoro1/yii2-blog-tools](https://github.com/sergmoro1/yii2-blog-tools).

3. Run migration

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

4. 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.

5. Prepare and run migration use an example

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

Configuration
-------------

[](#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
-----

[](#start)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Total

3

Last Release

2423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47754c3aa326cd8f607f8207a47193bb3286eac44fded6dd5a312da13358e76c?d=identicon)[sergmoro1](/maintainers/sergmoro1)

---

Top Contributors

[![sergmoro1](https://avatars.githubusercontent.com/u/5292104?v=4)](https://github.com/sergmoro1 "sergmoro1 (25 commits)")

---

Tags

yii2managementpriceroomresort

### Embed Badge

![Health badge](/badges/sergmoro1-yii2-resort/health.svg)

```
[![Health](https://phpackages.com/badges/sergmoro1-yii2-resort/health.svg)](https://phpackages.com/packages/sergmoro1-yii2-resort)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
