Download the PHP package brightweb/authentication without Composer

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

BrightWeb Authentication Package

Wecome to Brightweb Authentication package for Laravel! This package is designed to streamline the authentication process, providing robust middleware for securing both admin and user-specific routes, as well as customizable authentication views.

Installation

To install the Brightweb Authentication package, simply use composer:

composer require brightweb/authentication

Migration

Make sure to run migration or rerun migration for users table to be updated with role.

php artisan migrate

if you have already done the above messioned use

php artisan migrate:fresh

Middleware

This package comes with two built-in middleware 'admin' and 'user'.

This middleware can be used to secure different parts of your application based on user roles.

Admin Middleware

To secure your admin pages, use the 'admin' middleware as shown below:

Route::middleware(['web', 'admin'])->group(function () { // Your admin routes here });

User Middleware

To secure pages such as the cart page and user profile page, use th 'user' middleware as shown below:

Route::middleware(['web', 'user'])->group(function () { // Your user routes here });

Custom Authentication Views

The package includes customizable authentication views that you can publish and modify to your application's design requirements. We call this feature 'brightwebauthconfig'. with this, you can change background and text colors in your config/brightwebauthconfig.php after Publishing config files

Publishing config files

php artisan vendor:publish --tag=brightwebauthconfig

Authentication URLS

This package provides predifined routes for registration,login and logout:

Register: '/register'

Login: '/login'

Logout: '/logout'

These routes are ready to use out of the box, simplifying the setup process.

Conclusion

The Brightweb Authentication package offers a seamless and powerfull solution for managing authentication in your Laravel application.

With easy installation, robust security, middleware, and customizatable views, you can quickly set up a secure and user-frendly authentication system.

Get started today and take your Laravel applications authentication to the next level

License

This package is open-sourced software licensed under the MIT license.

Contributing

We welcome contributions to enhance this package. Please contact us at [email protected]

Thank you for choosing BrightWeb Authentication! If you have any questions or need support, please feel free to open an issue on GitHub.


All versions of authentication 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 brightweb/authentication contains the following files

Loading the files please wait ....