PhpDev.App
csinghdev/laravel-starter

csinghdev/laravel-starter

Stars: 240

Forks: 55

Pull Requests: 12

Issues: 2

Watchers: 11

Last Updated: 2023-04-19 20:28:20

Laravel starter project with JWT + Auth APIs + Registration, Email Verification and Forgot Password APIs + Response Management + Backup Management + API Logging + Laravel Telescope + TDD environment setup

License:

Languages: PHP, Shell, Blade

Laravel-Starter (for Laravel 9)

Laravel-Starter (for Laravel 8, click here)

Laravel-Starter (for Laravel 7, click here)

This Starter Application acts as starting point for application development. A lot of things which needs to be taken care of during REST API Development are already present here.

Following are the list of things taken care of:

  • JWT pre-installed
  • Authentication APIs are ready to use
  • Consistent Response in all APIs and Exception Handling
  • Registration API
  • Email Verification APIs
  • Forgot Password APIs
  • API Logging
  • Backup automation and management
  • Laravel Telescope for debugging in local environment
  • TDD (Test Driven Development) setup using phpunit

Want to do it yourself?

Here are the video tutorials you can follow to do it by yourself. These tutorials are based on Laravel 7 and this project has been upgraded to Laravel 8, you may see few changes in latest code. Checkout v1.0 to see the exact code.

Create a new Laravel Project JWT installation and Setup Auth APIs using JWT
Consistent Response in REST APIs - Part I Consistent Response in REST APIs - Part II Registration API
Email Verification APIs Forgot Password APIs API Logging Using middleware
Backup automation and management Laravel Telescope for debugging in local environment Laravel Telescope for debugging TDD in Laravel using phpunit

Doing it on MacOS?

Here is a simple video to setup Laravel application environment on MacOS using Valet.

Install Valet on Mac

How to use?

Clone this repository:

git clone https://github.com/csinghdev/laravel-starter.git

Remove .git folder since you want to create a new repository

rm -rf .git

Install dependencies:

composer install

Copy .env.example file:

cp .env.example .env

Configure .env file

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.