coderscantina/laravel

An opinionated boilerplate for Laravel projects.

v1.2.0 2024-10-26 13:04 UTC

This package is auto-updated.

Last update: 2024-11-26 13:11:08 UTC


README

Features

  • Uses webdevops/php-nginx as a base docker image
    • Default PHP version is 8.2
    • Sets security related headers by default
  • Includes Laravel IDE Helper for better IDE support
  • Includes Laravel Debugbar for better development experience
  • Includes purifier for sanitizing user input
  • Includes Tailwind CSS
  • Uses Hashids to obfuscate model ids
  • Uses Laravel Filter to filter models through request parameters
  • Uses Laravel Transform Requests to transform form request data (e.g. to camelCase)
  • Uses Laravel Translations to manage translations in the database
  • Uses JWTAuth for API authentication
  • Predefined route scheme for API, auth and web routes
  • Has a health check endpoint
  • Allows users to one-time login via email and pin code
  • Allows superusers to impersonate other users
  • Includes password reset functionality with Notifications
  • Has handy system tables for countries, languages with seeders
  • Uses actions to handle synchronous business logic
  • Uses Jobs to handle asynchronous business logic
  • Extends the user model with frequently used fields
    • Tracks last login and number of logins
  • Uses accept-language header to set the app locale

Installation

Use composer to create a new project:

composer create-project coderscantina/laravel my-project