Laravel Api Templates

screenshot of Laravel Api Templates
laravel

Laravel API starter kit collection using different structures.

Overview

This is a starter kit for building APIs using the Laravel framework. It provides multiple structures and features that have been battle-tested. However, it is no longer maintained as Laravel now has most of these features natively.

Features

  • 2FA (Two-factor authentication)
  • ACL (Access control list)
  • Anti Phishing Code on email
  • Audit (logging and tracking of actions)
  • CORS (Cross-Origin Resource Sharing)
  • Device authorization
  • Etag (entity tag for caching)
  • Horizon (dashboard and worker management)
  • Laravel 8.x, 7.x, 6.x, 5.8 support
  • Login functionality
  • Login history tracking
  • Multiple localizations (preconfigured with en_US and pt_BR)
  • Password reset functionality
  • Weak password prevention (checks against a list of 4 million weak passwords)
  • PHPCS PSR2, phpinsights, and sonarqube analysis
  • Registration functionality
  • Swoole (asynchronous framework) support
  • Tests (unit testing)
  • Transactional events (listen to events and send notifications only if the transaction is committed)
  • UUID (Universally Unique Identifier) support
  • Background job example (coming soon)

Summary

This starter kit for Laravel APIs provides a range of features such as 2FA, ACL, CORS, and more. However, it is no longer actively maintained as Laravel now includes many of these features natively. The installation process involves setting environment variables and running the container using Docker. Testing and analysis can also be performed using various commands provided.

laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.