balajidharma / laravel-admin-api
The Laravel Admin API - Laravel Admin API Boilerplate
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- php: ^8.2
- balajidharma/laravel-admin-core: ^1.0
- laravel/framework: ^11.0
- laravel/sanctum: ^4.0
- laravel/tinker: ^2.9
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/breeze: ^2.0
- laravel/pint: ^1.13
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.1
- phpunit/phpunit: ^10.5
- spatie/laravel-ignition: ^2.4
README
Admin API for Laravel projects.
Built with
Installation
With Docker Desktop
- To get started, you need to install Docker Desktop.
- You may run the following command in your terminal
- Windows open WSL2 Linux terminal. Docker Desktop WSL 2 backend
docker run --rm -v "$(pwd)":/opt -w /opt laravelsail/php83-composer:latest bash -c "composer create-project balajidharma/laravel-admin-api admin-app && cd admin-app && php artisan sail:install --with=mysql,redis,meilisearch,mailhog,selenium"
cd admin-app
./vendor/bin/sail pull mysql redis meilisearch mailhog selenium
./vendor/bin/sail build
./vendor/bin/sail up
./vendor/bin/sail npm install
./vendor/bin/sail npm run dev
./vendor/bin/sail artisan vendor:publish --tag=admin-core
./vendor/bin/sail artisan migrate --seed --seeder=AdminCoreSeeder
- Now open http://localhost/
Without Docker Desktop
- To get started, you need to install PHP Composer.
composer create-project balajidharma/laravel-admin-api admin-api
cd admin-api
- Create a new MYSQL database and update database details in
.env
file php artisan vendor:publish --tag=admin-core
php artisan migrate --seed --seeder=AdminCoreSeeder
npm install
npm run dev
php artisan serve
- Now open http://localhost:8000/
Super Admin Login
- Email - superadmin@example.com
- Password - password
Admin Configuration:
To change the Admin Prefix, change prefix
on config/admin.php
or add the ADMIN_PREFIX
on env
'prefix' => env('ADMIN_PREFIX', 'admin'),
Postman Collection
Also Try
License
The Laravel framework is open-sourced software licensed under the MIT license.