Download the PHP package sentgine/authzone without Composer

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

Authzone

Latest Stable Version Total Downloads

Authzone is a Laravel package designed to provide a simple and user-friendly interface for managing user permissions and roles in a Laravel application. Built on top of the popular Spatie Laravel Permission package, AuthZone aims to simplify the process of implementing user authentication and authorization by providing a set of intuitive UI components that allow users to easily manage their roles and permissions.

Features

Requirements

Installation

(1) You can install the package via Composer by running the following command:

The laravel-permission package by Spatie will be included as a dependency.

(2) Then publish the the PermissionServiceProvider by Spatie (See: Laravel Permission Installation)

(3) Then run the migration files.

(4) Open the App\Models\User.php and add the HasRoles trait from Spatie\Permission\Traits\HasRoles;

(5) After that, you can choose 3 GUI's to install (Make sure you're in the root of your Laravel application):

If you are using Tailwind CSS, then you will have no problem using Jetstream or Breeze. But if you're using another CSS framework, you're going to have to use the Authzone default.

Authzone default:

Running this command will publish all the config file, routes, and all the views. This is great if you want to modify the overall design.

Or you have to option not to publish the views. Instead, you will just use the existing default design.

Jetstream:

Running this command will publish all the config file, routes, and all the views related to Jetstream.

or

Using Jetstream, you will have to go to your Laravel App's root directory and under the /resources/views/navigation-menu.blade.php add this navigation menu @authzoneJetstreamNavMenu and @authzoneJetstreamNavMenuResponsive directive.

And the same applies to the navigation menu for the mobile view. Ideally, I would put it under the "Profile" link.

Breeze:

Running this command will publish all the config file, routes, and all the views related to Breeze.

or

Using Breeze, you will still have to go to your Laravel App's root directory and under the /resources/views/layouts/navigation-menu.blade.php add this navigation menu @authzoneBreezeNavMenu and @authzoneBreezeNavMenuResponsive directive.

And the same applies to the navigation menu for the mobile view. Ideally, I would put it under the "Dashboard" link.

(6) Open your tailwind.config.js on your Laravel Application's root directory andd this to the "content" key (See: https://laravel.com/docs/10.x/pagination).

(7) Optional, but you're gonna probably want to protect some of your routes based on user role. If that's the case, you can visit the Middleware Section of Laravel Permission.

Configuration

The configuration file for AuthZone is located at config/authzone.php. This file allows you to customize various aspects of the package, such as the views, model and route group.

Changelog

Please see the CHANGELOG file for details on what has changed.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

Authzone is built and maintained by Adrian Alconera. It is based on the Spatie Laravel Permission package.

License

The MIT License (MIT). Please see the LICENSE file for more information.


All versions of authzone with dependencies

PHP Build Version
Package Version
Requires spatie/laravel-permission Version ^5.0
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 sentgine/authzone contains the following files

Loading the files please wait ....