Skip to main content

Getting Started with Beauty Framework

Welcome to Beauty Framework, a modern, PSR-compliant foundation for building clean, modular, and high-performance PHP applications.

This guide will walk you through the basics — from defining routes and controllers to working with services, repositories, and exceptions.

If you're looking for a working reference, check out the example app:

👉 https://github.com/beauty-framework/example-app

What you'll learn:

  • How to create a route and controller
  • How to define and validate request DTOs
  • How to customize HTTP responses
  • How to use middleware
  • How to handle exceptions and write clean error flows
  • How to build repositories and use the database
  • How to structure your business logic with services

Let's get started!