Download the PHP package techaxion/user-roleright-laravel without Composer

On this page you can find all versions of the php package techaxion/user-roleright-laravel. 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 user-roleright-laravel

user-roleright-laravel

User Role and Right Management With Route

Features

Installation

Add the following code to the composer.json file located in the root folder of your project.

* Checks if the 'module_action' table exists to prevent reinstallation.
* Publishes package routes using the 'vendor:publish' Artisan command.
* Runs package-specific migrations for required tables.
* Seeds the 'module_action' table with initial data.
* Publishes package configuration and other assets.
* Appends a require statement for dynamic routes to 'routes/web.php'.
* Adds a 'remove-useraccess' script to 'composer.json' for easy package removal.

Initialization

* Initializes the package by creating necessary directories and files.
* Creates a `config/useraccess.php` file for dynamic layout file changes and other configurations.
* Outputs an informational message indicating successful initialization.

uninstall

 * Checks for the existence of the `routes/UserAccessDynamicRoutes.php` file:
 *    - If it exists, removes the dynamic route inclusion from `routes/web.php` and deletes the dynamic routes file.
 *    - If unable to open `routes/web.php` for writing, outputs an error message.
 * Opens and decodes the `composer.json` file, removes the `remove-useraccess` script entry, and writes the updated JSON back to the file.
 * Outputs an informational message indicating the completion of the package removal process.
 * Checks for the existence of the `config/useraccess.php` file.
 *    - If it exists, removes `useraccess.php` from `config` folder.

Usage within Plugin

Layout File: @extends('laravelMain::' . $layout_file)

Push content to above layout file using: @section(config('useraccess.yield_container'))

Users table from Database: user_table: users(default table)

Migration URL, where you can get all routes that are assigned to you : https:test.com/useraccess/menu/migrate

Menu management setting page URL: https:test.com/useraccess/setting You can change the configurations like Users table, layout path, Yield Container: You can also get code to display all dynamic routes

License

MIT


All versions of user-roleright-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^12.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 techaxion/user-roleright-laravel contains the following files

Loading the files please wait ...