Example of a PHP-based Laravel application containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
This codebase was created to demonstrate a backend application built with Laravel framework including RESTful services, CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Laravel framework community style guides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
The API is built with Laravel, making the most of the framework's features out-of-the-box.
The application is using a custom JWT auth implementation: app/Jwt.
The App is built with VueJs3
The preferred way of setting up the project is using Laravel Sail, for that you'll need Docker under Linux / macOS (or Windows WSL2).
Start the containers with PHP application and PostgreSQL database:
./rig up -d
./rig composer install
Migrate the database with seeding:
./rig artisan migrate --seed
./rig artisan test
./rig php ./vendor/bin/phpstan
