PHPackages                             reiterus/microapi-core - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. reiterus/microapi-core

ActiveProject[HTTP &amp; Networking](/categories/http)

reiterus/microapi-core
======================

MicroApi Core is an ultra-lightweight, tiny engine based on Symfony packages.

1.3.3(3y ago)7193MITPHPPHP ^8.1

Since Apr 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/reiterus/microapi-core)[ Packagist](https://packagist.org/packages/reiterus/microapi-core)[ RSS](/packages/reiterus-microapi-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (11)Used By (0)

MicroAPI Core
=============

[](#microapi-core)

MicroApi Core is an ultra-lightweight, tiny engine based on Symfony packages. It is intended for building **small REST API** applications. Since MicroApi is based on the Symfony architecture, it can be developed to **any level of complexity** if desired. Forming your application based on this engine, you will always be sure that there is **nothing superfluous** in your code.

Features of MicroApi Core out of the box:

- all endpoints are public
- loading all types of env files
- use of attributes
- only two configuration files
- use autoload\_runtime.php
- minimum php version: 8.1
- Docker
- JSON response to an exception
- Makefile
- quality tools
    - PHP CS Fixer
    - PHPStan

#### Join the development of MicroApi!

[](#join-the-development-of-microapi)

Usage
-----

[](#usage)

It's very simple! Just run these two commands:

- `composer create-project reiterus/microapi-core folder && cd folder`
- `make docker-start`

That's all!
Now your API app is available at

Engine progress
---------------

[](#engine-progress)

- [MicroApi Secure](https://github.com/reiterus/microapi-secure)

Makefile commands
-----------------

[](#makefile-commands)

For the convenience of working with the project, there are several make-commands: local and for Docker.

 See more...#### Local

[](#local)

- make phpunit: run `./vendor/phpunit/phpunit/phpunit`
- make phpfixer: run `./vendor/bin/php-cs-fixer fix`
- make phpstan: run `./vendor/bin/phpstan analyse`
- make server: run `cd public/ && php -S 127.0.0.1:8008`
- make remover: run `rm -rf var/ && rm -rf vendor/`

#### Docker

[](#docker)

- make docker-start: run `docker-compose up -d --build && docker-compose exec api composer install`
- make docker-restart: run `rm -rf var/ && rm -rf vendor/ && docker-compose up -d --build && docker-compose exec api composer install`
- make docker-build: run `docker-compose up -d --build`
- make docker-install: run `docker-compose exec api composer install`
- make docker-down: run `docker-compose down`
- make docker-rm: run `docker rm $(docker ps -aq) -f`
- make docker-rmi: run `docker rmi $(docker images -aq) -f`

Installation
------------

[](#installation)

You can install the project in two ways

From packagist.org

```
composer create-project reiterus/microapi-core
```

From GitHub repository

```
{
 "repositories": [
  {
   "type": "vcs",
   "url": "https://github.com/reiterus/microapi-core.git"
  }
 ]
}
```

License
-------

[](#license)

This library is released under the [MIT license](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

10

Last Release

1135d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3c300a9744787c72fad2780b61af83d28d9b5423153094d164c8d866945aa36?d=identicon)[reiterus](/maintainers/reiterus)

---

Top Contributors

[![reiterus](https://avatars.githubusercontent.com/u/108575805?v=4)](https://github.com/reiterus "reiterus (22 commits)")

---

Tags

apiapi-restmicroapiphpphp8reiterusrest-apirestapisymfonyapisymfonyrestenginemicroapireiterus

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/reiterus-microapi-core/health.svg)

```
[![Health](https://phpackages.com/badges/reiterus-microapi-core/health.svg)](https://phpackages.com/packages/reiterus-microapi-core)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
