PHPackages                             baseapi/baseapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. baseapi/baseapi

ActiveLibrary[Framework](/categories/framework)

baseapi/baseapi
===============

A tiny, KISS-first PHP 8.4 framework for building JSON-first APIs

v1.9.1(2mo ago)18.7k↓31.8%1MITPHPPHP ^8.4CI failing

Since Sep 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/TimAnthonyAlexander/base-api)[ Packagist](https://packagist.org/packages/baseapi/baseapi)[ RSS](/packages/baseapi-baseapi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (130)Used By (1)

BaseAPI
=======

[](#baseapi)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/TimAnthonyAlexander/base-api-template?quickstart=1)

A tiny, KISS-first PHP 8.4+ framework for building production-ready REST APIs.

BaseAPI gets out of your way and lets you build APIs in minutes, not hours. Define your models with typed properties, write minimal controllers, and let the framework handle migrations, validation, caching, and documentation automatically.

**[Read the Documentation](https://base-api.de)**

---

Quick Start
-----------

[](#quick-start)

```
composer create-project baseapi/baseapi-template my-api
cd my-api
php mason serve
```

Your API is now running at `http://localhost:7879`.

---

How Fast Is It to Code?
-----------------------

[](#how-fast-is-it-to-code)

### Define a Model

[](#define-a-model)

Typed properties become your database schema. Migrations are generated automatically.

```
