mehedi8gb/laravel-api-starter-kit

The Api starter kits for the Laravel framework.

v1.0.7 2025-03-26 09:20 UTC

This package is auto-updated.

Last update: 2025-03-26 09:26:35 UTC


README

A lightweight, scalable API starter kit for Laravel 12.

Features

✅ Laravel 12
✅ JWT Authentication
✅ Role & Permission System (Spatie)
✅ API Response Standardization
✅ Automated Tests (PestPHP)

Installation

laravel new app --using=mehedi8gb/laravel-api-starter-kit
php artisan migrate --seed
php artisan serve

4️⃣ Make It Developer-Friendly

  • JWT Auth (Pre-configured)
  • Spatie Role Permissions (Ready)
  • Custom API Response Handling
  • Custom Helper Functions
  • Testing with PestPHP
  • Rate Limiting & Security Enhancements
  • CORS Handling for Frontend Support