Download the PHP package p2made/yii2-p2y2-users without Composer
On this page you can find all versions of the php package p2made/yii2-p2y2-users. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download p2made/yii2-p2y2-users
More information about p2made/yii2-p2y2-users
Files in p2made/yii2-p2y2-users
Informations about the package yii2-p2y2-users
P2Y2 Users v0.2.2-beta
¡¡¡ ===== NOT READY FOR USE ===== !!!
Yii 2 Users & RBAC
Installation
The preferred way to install P2Y2 Users is through composer. Depending on your composer installation, run one of the following commands:
or
Alternatively add:
to the requires section of your composer.json
file & P2Y2 Users will be
installed next time you run composer update
.
And then...
-
Configure your database. Edit
common/config/main-local.php
in yii2-advanced-app, orapp/config/db.php
in yii2-basic-app, to include...I recommend following the common practice of configuring the database with the username,
your_yii_app_db_user
, the same as the database name,your_yii_app_db
. -
Now edit
common/config/main.php
in yii2-advanced-app, orapp/config/web.php
in yii2-basic-app to include...In
yii2-advanced-app
may have these configured atfrontend/config/main.php
&backend/config/main.php
. However since these will all be the same for both ends, it's best to keep only one copy incommon/config
. If there are user configurations in either of those files, remove them or comment them out.
-
Now configure the mailer...
- In yii2-advanced-app, either...
common/config/main.php
orcommon/config/main-local.php
- In yii2-basic-app,
app/config/web.php
- In yii2-advanced-app, either...
-
Optionally perform any customisation in
common/config/params.php
in yii2-advanced-app, orapp/config/params.php
in yii2-basic-app, to include...Settings above are the defaults & only need to be set if you want to change them.
p2p
is the params space for setting all of my Yii2 packages.
All versions of yii2-p2y2-users with dependencies
yiisoft/yii2 Version ^2.0
yiisoft/yii2-authclient Version ^2.1
p2made/yii2-p2y2-base Version ^1.1
p2made/yii2-p2y2-moment Version ^2.0