Download the PHP package redcatphp/identify without Composer

On this page you can find all versions of the php package redcatphp/identify. 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 identify

No longer actively maintained.

Identify

Identify is a complete authentication system with session management and cryptographic libraries. It including many third-party library.

Session

The surikat session handler is independent from native php session and use a strong random id cookie which is regenerated when $cookieLifetime expire. Unlike native php session it allow you to use a session over any length you want, like one year for example, and it integrate an anti-bruteforce system with attempts records based on hashed ip.

Auth

Here is the main authentication API which you can use with Auth class.

login

loginRoot

loginPersona

register

activate

requestReset

logout

getHash

getUID

getUser

deleteUser

validateLogin

validateDisplayname

resetPass

resendActivation

changePassword

getEmail

changeEmail

getRight

setRight

connected

allowed

allow

deny

lock

AuthServer

First parameter correspond to RedCat\Identify\Auth rights constants. You can use them directly, or if you use string (like in example) it will be automaticaly converted to corresponding constant. The rights constants are Auth::RIGHT_MANAGE, Auth::RIGHT_EDIT, Auth::RIGHT_MODERATE, Auth::RIGHT_POST.
The second parameter (true by default) is for enable GET redirection to avoid re-POST on refresh.

Following example is for use inside a code (off course with ob-implicit-flush setted to false). It will handle authentication process, from locking with authentication window to logout button ouput. Put the code where you want button to appear.

For handle signup and login process:

For get identity:

For handle reset password request:

For handle reset password confirmation:

For logout:

And, in any context, to get result message:

PHPMailer

PHPMailer - A full-featured email creation and transfer class for PHP.
PHPMailer is a third party toolbox. See the official PHPMailer and examples. There is simple facade class in RedCat\Identify namespace for use PHPMailer in simplicity:

RandomLib

RandomLib - A library for generating random numbers and strings.
RandomLib is a third party toolbox. See the official RandomLib

SecurityLib

SecurityLib is a third party toolbox (dependency of RandomLib). See the official SecurityLib

PhpSecLib

PhpSecLib - PHP Secure Communications Library.
PhpSecLib is a third party cryptography toolbox. See the official PhpSecLib


All versions of identify with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
phpseclib/phpseclib Version ^2.0
ircmaxell/random-lib Version ^1.1
phpmailer/phpmailer Version ^6.0.0rc2
redcatphp/strategy Version dev-master
foxorm/foxorm Version dev-master
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 redcatphp/identify contains the following files

Loading the files please wait ....