Download the PHP package autoluminescent/multiauth without Composer

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

Laravel Multi-Auth

Introduction

Laravel Dynamic Auth is a package that allows you to create multiple guards dynamically.

Installation

To install Multi-Auth, require it via Composer:

Once Composer is done, run the following command:

Guards are handled based on defined guards on config/multiauth.php and first URI segment. If the match is found, we set the Auth Default driver to the ‘matched guard’, else we set the default driver to ‘web’.

By default, config/multiauth.php ships with ‘web’ and ‘admin’ guards.

Web guard

The ‘web’ guard is considered as a default or a fallback guard, when no other matches are found/defined. It is pretty much like Laravel's default auth guard.

Default ‘web’ auth routes are as following:

To use the ‘web’ guard, all you have to do is add web.auth middleware to your Controllers or Routes.

Admin guard

Admin is just an example guard that how you can add other guards. You can add as many guards as you want.

Routes for the admin guard are as following:

Multiauth will set default guard to 'admin' for all routes with ‘admin’ prefix.

To use the admin guard, all you have to do is add admin.auth middleware to your Controllers or Routes

Multiauth Config

The config contains a basic explanation on how to setup guards. The domain key in guards is basicly the identifier that will match against the first segment of the URI. So if the domain is set to 'admin' then all routes with the 'admin' prefix will load the 'admin' guard.

To see it in action, check out the demo repository here: Laravel Multiauth Demo.


All versions of multiauth with dependencies

PHP Build Version
Package Version
No informations.
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 autoluminescent/multiauth contains the following files

Loading the files please wait ....