vonuki / easyqueue
Yii 2 Basic Project Template
v1.2
2021-02-02 19:10 UTC
Requires
- php: >=5.4.0
- codemix/yii2-localeurls: ^1.7
- dektrium/yii2-rbac: 1.0.0-alpha@dev
- dektrium/yii2-user: ^0.9.14
- endroid/qr-code: ^3.7
- kartik-v/yii2-widget-datetimepicker: dev-master
- kartik-v/yii2-widget-select2: dev-master
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-jui: ^2.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
Requires (Dev)
- codeception/base: ~2.3.0
- codeception/specify: ~0.4.6
- codeception/verify: ~0.4.0
- insolita/yii2-migration-generator: ~3.1
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.1.0
This package is auto-updated.
Last update: 2025-03-01 00:28:58 UTC
README
Easyqueue project
INSTALLATION
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this project template using the following command:
Get last version
php composer.phar create-project --prefer-source --stability=dev vonuki/easyqueue easyqueue
Get stable version
php composer.phar create-project --prefer-source --stability=stable vonuki/easyqueue easyqueue
As rsult you will have geet access via:
http://localhost/basic/web/
CONFIGURATION
Database
Edit the file config/db.php
with real data, for example:
return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=yii2basic', 'username' => 'root', 'password' => '1234', 'charset' => 'utf8', ];
NOTES:
- Yii won't create the database for you, this has to be done manually before you can access it.
- Check and edit the other files in the
config/
directory to customize your application as required. - Refer to the README in the
tests
directory for information specific to basic application tests.
Migrations
All migrations by one transaction:
./yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations --interactive=0 && ./yii migrate/up --migrationPath=@yii/rbac/migrations --interactive=0 && ./yii migrate/up --migrationPath=migrations --interactive=0
Admin user will be created automatically.
Name | Value |
---|---|
id: | 1 |
UserName: | admin |
Password: | 123456 |
- User migration:
$ ./yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations
- For dectrium/rbac apllay migration:
$ ./yii migrate/up --migrationPath=@yii/rbac/migrations
- For Queue apllay project migration:
$ ./yii migrate/up --migrationPath=migrations