Merge pull request #1 from Dobmod/master Initial codebase
Merge pull request #1 from Dobmod/master
Initial codebase
A starter kit for PHP-Casbin, built on Laravel-Authz with a Vue 3 and Tailwind CSS frontend.
To set up and run CasbinStarterKits, follow these steps:
Clone the Repository
git clone https://github.com/php-casbin/casbin-starter-kits.git cd casbin-starter-kits
Install Backend Dependencies
composer install
Set up Environment Configuration
Copy the .env.example file and configure it as needed:
.env.example
cp .env.example .env php artisan key:generate
Run Database Migrations
php artisan migrate --seed
Install Frontend Dependencies
npm install
Compile Assets
npm run dev
Start the Development Server
php artisan serve
Access the Application
Open your browser and navigate to http://localhost:8000.
http://localhost:8000
Default Credentialsusername: admin@example.com password: adminusername: user@example.com password: user
admin@example.com
admin
user@example.com
user
Contributions are welcome! Please open an issue or submit a pull request for any enhancements, fixes, or feedback.
A starter kit for PHP-Casbin, it is based on Laravel-Authz.
CasbinStarterKits
A starter kit for PHP-Casbin, built on Laravel-Authz with a Vue 3 and Tailwind CSS frontend.
Features
Troubleshooting
Installation
To set up and run CasbinStarterKits, follow these steps:
Prerequisites
Steps
Clone the Repository
Install Backend Dependencies
Set up Environment Configuration
Copy the
.env.example
file and configure it as needed:Run Database Migrations
Install Frontend Dependencies
Compile Assets
Start the Development Server
Access the Application
Open your browser and navigate to
http://localhost:8000
.Contributing
Contributions are welcome! Please open an issue or submit a pull request for any enhancements, fixes, or feedback.