Download the PHP package lirriella/yii2-users without Composer

On this page you can find all versions of the php package lirriella/yii2-users. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-users

Yii2-users

Module for management users and their rights with the support of registration via social services and assigned to each user more than one social service.

Abilities

User registration and authorization by e-mail and via social networks with the ability to bind several different social networking accounts to a one account on the your site

Authorization widget OAuth keys manage widget

Changing password

Changing password

Recovering password

Recovering password

Changing e-mail. Confirmation will be sent to the old and new address

Changing e-mai

Editinig profile

Editinig profile

Administation module for manage users

Admin module

Editing RBAC structure and user rights via the GUI

Editing RBAC structure

Editiong user permissions

Installation

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

Config

Instead of XXX, you have to use yours values. To receive them, you must create applications on the social networks.

Client Registration address
vkontakte https://vk.com/editapp?act=create
google https://console.developers.google.com/project
facebook https://developers.facebook.com/apps
github https://github.com/settings/applications/new
linkedin https://www.linkedin.com/secure/developer
live https://account.live.com/developers/applications
yandex https://oauth.yandex.ru/client/new
twitter https://dev.twitter.com/apps/new

If you are using advanced template and Yandex client, then you have to add authClientCollection in configurations for frontend and backend applications. However Yandex client should be added to only one of the applications. The reason for this is that Yandex one application can work with only one domain, you can not add two different Callback URL on different domains.

Not all services returns all user data. Some of the data get the default settings, if the service does not return them.

Database migrations

yii migrate/up --migrationPath=@vendor/lirriella/yii2-users/migrations

This migration create all necessary for the operation of the module tables and two users:

E-mail Password
[email protected] [email protected]
[email protected] [email protected]

Usage

in main layout:

Signup: http://example.com/signup

Profile: http://example.com/profile

Restore password: http://example.com/requestPasswordReset

Manage users: http://example.com/user/admin

Manage RBAC: http://example.com/user/rbac

Custom views and email templates

If you want use custom views and email templates you can override their in config. For example:

You can override all views from vendor\lirriella\yii2-users\views\user and vendor\lirriella\yii2-users\mail folders.


All versions of yii2-users with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version *
yiisoft/yii2-authclient Version *
budyaga/yii2-cropper Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lirriella/yii2-users contains the following files

Loading the files please wait ....