Download the PHP package wp-kit/auth without Composer

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

wp-kit/auth

This is a wp-kit component that handles authentication.

was built to work with as currently there are no authentication middlewares built into however with built into , we are able to run on and .

achives compatibility with by providing a UserProvider that integrates directly with WordPress to authenticate users.

comes aliased with four types of :

Installation

Install via in the root of your installation:

Setup

Add Service Provider(s)

Just register the service provider and facade in the providers config and theme config:

Add Config File

Note: This will be changing to a traditional config file similar to that found in Laravel once the Guard has been built

The recommended method of installing config files for components is via command.

First, install WP CLI, and then install this component, will automatically be installed with , once installed you can run:

For more information, please visit .

Alternatively, you can place the config file(s) in your directory manually.

Allowing Headers

If using middleware, make sure you add the following line to your file to allow headers:

Usage

You can activate on the route group or route itself:

Middleware on Group

Middleware on Route

Using Traits in Controllers

The AuthenticatesUsers trait handles everything for logging the user in using a custom form.

Make sure you add routes:

Make sure you add a login form view:

Config

Please install and study the default config file as described above to learn how to use this component.

Get Involved

To learn more about how to use check out the docs:

View the Docs

Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:

For details about contributing to the framework, please check the contribution guide.

Requirements

Wordpress 4+

PHP 5.6+

License

wp-kit/auth is open-sourced software licensed under the MIT License.


All versions of auth with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
illuminate/auth Version ^6.0
illuminate/cookie Version ^6.0
illuminate/cache Version ^6.0
illuminate/validation Version ^6.0
wp-kit/config Version 2.*
wp-kit/kernel Version 1.*
wp-kit/wp-login-auth Version 1.*
wp-kit/hashing Version 2.*
wp-kit/utils Version 2.*
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 wp-kit/auth contains the following files

Loading the files please wait ....