{"repo":"mike-bronner/laravel-governor","free":true,"listed":false,"github":"https://github.com/mike-bronner/laravel-governor","clone":"git clone https://github.com/mike-bronner/laravel-governor.git","description":"Manage authorization with granular role-based permissions in your Laravel Apps.","language":"PHP","stars":201,"topics":["laravel","package","roles","authorization","permissions"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Governor For Laravel Manage authorization with granular role-based permissions in your Laravel apps. Table of Contents - Goal - Requirements - Installation - Implementation - Upgrading - Configuration - API Reference - Traits - Policies - Models - Artisan Commands - REST API Endpoints - Events - Blade Components - Examples Goal Provide a simple method of managing ACL in a Laravel application built on the Laravel Authorization functionality. By leveraging Laravel's native Authorization functionality there is no additional learning or implementation curve. All you need to know is Laravel, and you will know how to use Governor for Laravel. Requirements Laravel PHP Package --------- ---------------- --------- 10.x 8.2+ latest 11.x 8.2+ latest 12.x 8.2+ latest 13.x 8.3+ latest Additional Requirements - Bootstrap 3 (needs to be included in your layout file) - FontAwesome 4 (needs to be included in your layout file) Installation The user with the lowest primary key will be set up as the SuperAdmin. If you're starting on a new project, be sure to add an initial user now. If you already have users, you can update the role-user entry to point to your intended user, if the first user is not the intended SuperAdmin. Now let's get the package installed. Install via composer: Implementation 1. First we need to update the database by running the migrations and data seeders: 2. If you have seeders of your own, run them now: 3. Next, assign permissions (this requires you have users already po","default_branch":null,"files":null,"tree":[],"storefront":"/r/mike-bronner","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mike-bronner/laravel-governor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}