Download the PHP package jusbrasil/tornado-auth-php without Composer

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

Latest Stable Version Total Downloads License

Tornado Auth PHP

Implementation of Tornado Web Authentication in PHP.

Getting Started

First, you need to have the composer installed. After this, run the require command of composer to install the package as your project dependency.

composer require jusbrasil/tornado-auth-php

Usage

namespace

configure ( array[string] mixed $options ) : void

createSignedValue ( mixed $value ) : string

Sign the passed value.

createSignedCookie( string $cookieName, mixed $value ) : string

Sign the passed value.

decodeSignedValue ( string $secret, string $name, string $value [, int $maxAgeDays ] ) : string

Decode the signed value into string.

getSecureCookie ( string $cookieName, string $value [, int $maxAgeDays ] ) : object

getCurrentUser ( mixed $value [, int $maxAgeDays ] ) : object

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Prerequisites

Installing

Clone the repository

git clone [email protected]:jusbrasil/tornado-auth-php.git

Set up the development environment

docker-compose up -d --build

Access the container

docker-compose exec app ash

Or, run directly the command that you want (e.g.)

docker-compose exec app php src/index.php

Versioning

We use SemVer for versioning. Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR major changes or a defined group of features that belongs to the same scope
  2. MINOR a new feature or refactoring an existing feature
  3. PATCH fixing a bug or improving something from the latest stable version

For the versions available, see the tags on this repository.

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments


All versions of tornado-auth-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
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 jusbrasil/tornado-auth-php contains the following files

Loading the files please wait ....