Skip to content

๐Ÿ˜ FrankenPHP and Laravel Octane with Docker + Laravel 12

deniskorbakov/laravel-12-frankenphp-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FrankenPHP and Laravel 12 Octane with Docker

This template was created for a quick start of a Laravel project with already prepared basic logic and is required by the environment:

Installation

To start the template you will need git and docker/docker compose

Performing steps:

You can also submit a template to yourself through the GitHub interface

git clone https://github.com/deniskorbakov/laravel-12-frankenphp-docker.git

Let's go to the cloned repository

cd laravel-12-frankenphp-docker

Copy env example to env

cp .env.example .env

Let's run the command to start the project

make init

Docker images - utilities:

  • Laravel 12
  • Frankenphp
  • Postgres
  • Redis
  • Supervisor
  • Traefik
  • Mailhog

Auxiliary services:

  • Rector + Phpstan + Php_codesniffer
  • Pest

Libraries - prepared code:

  • DTO Laravel-data
  • WebSocket - centrifugo
  • Horizon - monitoring queue
  • laravel/octane
  • Admin panel - Filament
  • API logic auth
  • Logic saved files in storage - db
  • Scribe API doc
  • Dozzle - monitoring containers
  • Pulse - monitoring app

Additional functionality:

  • Multi-stage build
  • Prepared assembly for local development and sales
  • Configured GitHub actions for stat analyzers and deployment
  • Customized role system
  • Centrifugo real-time messaging server
  • Ansible is configured to set up the production environment
  • Monitoring system
  • Tess - Unit/Feature/Coverage/Architecture

Go to the project address:

Documentation

Template documentation

Usage

The command for exec in app container

make exec

The command for check code (phpstan, php cs, rector, peck)

make lint

The command for fix err (php cs, rector)

make lint-fix

The command for run tests

make test

The command for run test coverage

make test-coverage

About

๐Ÿ˜ FrankenPHP and Laravel Octane with Docker + Laravel 12

Topics

Resources

Stars

Watchers

Forks