LaravelStarter

casbin-starter-kits — Laravel Starter Template

By php-casbin

A PHP-Casbin starter kit built on Laravel-Authz, integrating a Vue 3 and Tailwind CSS frontend and providing RBAC, authentication, and a basic admin interface.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Built on Laravel-Authz and integrates PHP-Casbin's RBAC capabilities

02

Frontend uses Vue 3 and Tailwind CSS, providing a responsive admin interface

03

Already implements authentication, user management, and role management

04

Provides an admin dashboard and default administrator and regular user test accounts

05

Installation steps cover backend dependencies, environment configuration, database migration, and frontend build

Template Details

CasbinStarterKits is a starter project for PHP-Casbin, built on Laravel-Authz, with a frontend using Vue 3 and Tailwind CSS. The README shows it already implements role-based access control (RBAC), authentication, user management, role management, and a responsive admin dashboard, and provides default administrator and regular user accounts for local login. Organization management, menu management, additional access control models, API authorization, and audit logs are still marked as incomplete in the feature list. The installation process requires PHP 8.0 or higher, Composer, Node.js and npm, and MySQL, PostgreSQL, SQLite, or a compatible database; the steps are to clone the repository, run composer install, copy .env.example and generate the application key, run migrations and seeding, run npm install, run npm run dev, and finally start with php artisan serve and visit http://localhost:8000. The project uses the Apache-2.0 license, and third-party materials such as demo screenshots in the repository need separate license verification.

LaravelStarter kit

Is it right for your project?

Use Cases

  • Introduce Casbin permission control into a Laravel project and quickly obtain a runnable admin skeleton
  • Learn or demonstrate how RBAC is implemented with Laravel and Vue 3 together
  • Continue extending organization, menu, or audit features based on the existing user and role management interface

Suitable For

  • Developers familiar with Laravel and Vue 3 who need a Casbin permission starter template
  • Learners who want to reference an RBAC admin implementation
  • Teams preparing to further develop permission management features on this foundation

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    The environment requires PHP >= 8.0, Composer, Node.js and npm, and MySQL, PostgreSQL, SQLite, or a compatible database

  2. 2

    Run composer install, copy .env.example to .env, and run php artisan key:generate

  3. 3

    Run php artisan migrate --seed to initialize the database, then run npm install and npm run dev

  4. 4

    Start with php artisan serve and access http://localhost:8000 by default

  5. 5

    Default accounts are [email protected] / admin and [email protected] / user

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the Apache-2.0 license in the public repository; the free scope is the code of that version and does not mean external services or third-party materials are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution are permitted; when distributing, include the Apache-2.0 license.
  • Modified files must prominently indicate changes and retain relevant copyright, patent, trademark, and attribution notices.
  • If the original project includes a NOTICE file, retain applicable attribution notices when distributing derivative works.
  • The license includes an applicable contributor patent grant; initiating patent litigation as described in the license terminates that patent grant, and no trademark rights are granted.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Demo images, fonts, icons, and other third-party materials must be checked under their respective licenses and cannot be judged solely by the code's Apache-2.0 license.
  • External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 65 / 100
Technologies
Laravel
Website type
Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2024-12-04
Screenshot last checked
2026-10-02

No demo link is recorded. Use the repository instructions to evaluate the project locally; the screenshot alone cannot establish interactive behavior.

The catalog identifies Laravel as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: f373b2fa5187602c9866b99eb873b90a67c8a1b524fb78f2ad1bce3e62dab20c

2026-10-02T22:46:58.044Z

Source file / repository
# CasbinStarterKits

A starter kit for PHP-Casbin, built on Laravel-Authz with a Vue 3 and Tailwind CSS frontend.

## Features

- [x] **Role-Based Access Control (RBAC)**
- [x] **Admin Dashboard**
- [x] **Responsive Design**
- [x] **Authentication**
- [x] **User Management**
- [x] **Role Management**
- [ ] **Organization Management**
- [ ] **Menu Management**
- [ ] **More Access Control Models**
- [ ] **API Authorization**
- [ ] **Audit Logs**

### Troubleshooting

![screenshot_1.jpeg](docs/images/screenshot_1.jpeg)
![screenshot_2.jpeg](docs/images/screenshot_2.jpeg)

## Installation

To set up and run CasbinStarterKits, follow these steps:

### Prerequisites

- PHP >= 8.0
- Composer
- Node.js and npm
- MySQL, PostgreSQL, SQLite or compatible database

### Steps

1. **Clone the Repository**
   ```bash
   git clone https://github.com/php-casbin/casbin-starter-kits.git
   cd casbin-starter-kits
   ```

2. **Install Backend Dependencies**
   ```bash
   composer install
   ```

3. **Set up Environment Configuration**

   Copy the `.env.example` file and configure it as needed:
   ```bash
   cp .env.example .env
   php artisan key:generate
   ```

4. **Run Database Migrations**
   ```bash
   php artisan migrate --seed
   ```

5. **Install Frontend Dependencies**
   ```bash
   npm install
   ```

6. **Compile Assets**
   ```bash
   npm run dev
   ```

7. **Start the Development Server**
   ```bash
   php artisan serve
   ```

8. **Access the Application**

   Open your browser and navigate to `http://localhost:8000`.

   > **Default Credentials**  
   > username: `[email protected]` password: `admin`  
   > username: `[email protected]` password: `user`

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any enhancements, fixes, or feedback.
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.