Skip to main content
IT EN FR DE ES PT
Login
DressAPI
DressAPI
Dress your Database
  • GitLab
  • Home
  • Features
  • Tutorial
  • API
  • Consulting
  • Support
DressAPI

Dress your Database and get a full REST API.

or create your site with Core/CMS projects

The PHP framework that turns your database into a complete REST API with authentication, ACL, and caching. Zero code required.

Quick Start View on GitLab
Open Source · Apache 2.0 License · Free for commercial use

How It Works

1. Design Your Database

Use standard SQL with simple naming conventions. Prefix foreign keys with id_ for auto-detection. Use *_img for images, *email* for email fields, and *password* for password hashing.

2. Install DressAPI

One Composer command is all you need. Set your database credentials in config.php and point your web server to the www/ directory.

3. Your API is Ready

Full CRUD operations, JWT authentication, role-based ACL, smart caching, pagination, filtering, and sorting are all available out of the box.

Quick Example

Your SQL Table

-- Just standard SQL CREATE TABLE product ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, name VARCHAR(120) NOT NULL, price DECIMAL(10,2) NOT NULL, id_category INT UNSIGNED, product_img VARCHAR(255), description TEXT, FOREIGN KEY (id_category) REFERENCES category(id) );

Auto-Generated Endpoints

GET /product # List all GET /product/42 # Read one GET /product/full # With relations POST /product # Create PUT /product/42 # Update DELETE /product/42 # Delete GET /product/ob/price-DESC # Sort GET /product/p/1,10 # Paginate GET /product/name~shirt # Filter

Key Features

Zero-Code CRUD

Automatic REST endpoints generated from your database schema. No boilerplate code needed.

Multi-Database

Support for MySQL, PostgreSQL, Oracle, and SQL Server with a dynamic ORM that reads structure at runtime.

Smart Cache

File-based or Redis caching with automatic invalidation on data changes. Lazy DB connection avoids overhead.

Auth + ACL

JWT authentication with role-based access control and fine-grained permissions per module and role.

Multi-Frontend

CMS with Bootstrap 5, or use as API backend for Vue, React, Angular, and Ajax frontends.

Auto Relations

Automatic management of table relationships, including many-to-many (crosstable). Foreign keys are resolved with /full.

Template Engine

Twig-like syntax with binding, modifiers, and modular page frames.

Multi-Language

Built-in translation with _T() function and auto-learning mode that detects new strings automatically.

Need a Complete Web Solution?

From e-commerce to streaming, from institutional sites to admin panels — we build everything, directly, with no intermediaries.

Discover Our Services

Direct contact with the developer. 10+ years of experience.

Installation

Get started in seconds with Composer:

$ composer require dressapi/core

For the CMS: composer require dressapi/cms — For APIs only: composer require dressapi/api

Requirements: PHP 8.2+, Apache or Nginx, MySQL or MariaDB.

View on GitLab Tutorials
DressAPI

DressAPI

Dress your Database

Framework

  • Features
  • API
  • Tutorial

Resources

  • GitLab
  • API Reference
  • Changelog

About

  • Consulting
  • Support

About DressAPI

  • DressAPI is an open source PHP framework released under the Apache 2.0 license. It automatically generates a complete REST API from your database schema. With the CMS project, you can build even complex websites without writing code.

Contact

  • Email: info@dressapi.com
  • Author: Pasquale Tufano

Follow us on

  • GitLab

Useful links

  • Apache 2.0 License
  • Privacy Policy
  • Cookie Policy

Tufano Pasquale - P.IVA: IT11936190013 | Powered by Dressapi.com