croacworks/yii2basic

Basic Features for Yii2

v1.1.5 2025-08-10 17:08 UTC

This package is auto-updated.

Last update: 2025-08-10 17:09:22 UTC


README

basic Features for yii2

Installation

The preferred way to install this extension is through composer.

Either run

composer require croacworks/yii2basic  --with-all-dependencies

or add

"croacworks/yii2basic": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, you can config the path mappings of the view component:

    'modules' => [
        'common' => [ 'class' => '\croacworks\yii2basic\Module', ]
    ],

Up Docker

    docker compose -f vendor/croacworks/yii2basic/src/server/docker-compose.yml up -d

Run migration

    php yii migrate --migrationPath=@vendor/croacworks/yii2basic/src/migrations --interactive=0