This skeleton repository created in order to extending the original yii-basic template. It provides a basic skeleton for my yii based projects but everyone can uses it.
- User table schema added (with admin and demo user seed).
- User authentication has been added from the yii-advanced template (Database stored).
- Signup form has been added that so users can register.
- Administration module has been added in order to the admin can manage users.
- Account managing form added. This form helps the users to modify their email address or change password.
After you cloned (or installed) this repository, you should run the migration in order to create the user table and database management. For the other requirements please visit the Yii framework's official github page.
For migration use this command:
php yii migrate
You may login with admin/password or demo/password credentials after migration.
To use the built-in Rbac authorization of Yii, you have to run following commands:
php yii migrate --migrationPath=@yii/rbac/migrations
to create database tablesphp yii rbac/init
to init roles to users
Now you can login with the admin/password and demo/password username and password pair.