Download the PHP package choerulumam/permission without Composer

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

Permission Module Package

A publishable Laravel module scaffold for dynamic Permissions and Group Permissions management. This package provides all the foundational models, migrations, controllers, services, policies, and resources to build a role/permission system into your Laravel application.

Features

Installation

You can install the package locally by linking it in your composer.json or by adding it directly if published to Packagist.

Local Installation

If this package is in a local directory (e.g., packages/choerulumam/permission), add it to your main composer.json:

Then run:

Setup & Scaffolding

Since this package acts as a scaffold, you must publish its resources into your host Laravel application. This copies the Models, Controllers, Policies, Services, and Migrations directly into your app/ and database/ directories so you can customize them freely.

Run the installation command:

If you need to overwrite existing files, you can append --force:

After scaffolding, run your migrations:

Usage

1. Generating Enums

You can easily create new Enums using the published command:

This will automatically create a permission enum inside app/Permissions.

2. Available Endpoints

The scaffold publishes controllers that handle common API structures. For example, GroupPermissionController handles the following operations:

Attach these to your routes/api.php utilizing standard Laravel routing:

3. API Resources & Traits

This package publishes API resources such as GroupResource, GroupPermissionResource, and base pagination classes. They exist inside app/Http/Resources/ and use the default App\ namespace. You can directly edit them to meet your application's requirements.

Testing

The package provides an isolated testing environment using Orchestra Testbench. To run the internal tests and ensure all stubs and migrations are valid:

Contributing

You can modify the stubs located inside stubs/ and update the testing environment in tests/ to fit future iterations of your scaffolding needs.


All versions of permission with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0|^13.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 choerulumam/permission contains the following files

Loading the files please wait ...