PHPackages                             w2w/apie - 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. [API Development](/categories/api)
4. /
5. w2w/apie

Abandoned → [apie/apie-lib](/?search=apie%2Fapie-lib)Library[API Development](/categories/api)

w2w/apie
========

apie is a library to convert plain old php objects into a REST API with OpenAPI spec.

4.0.1(5y ago)011.0k[3 issues](https://github.com/pjordaan/apie/issues)4GPL-3.0-or-laterPHPPHP ^7.2CI failing

Since Oct 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pjordaan/apie)[ Packagist](https://packagist.org/packages/w2w/apie)[ RSS](/packages/w2w-apie/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (28)Versions (37)Used By (4)

apie
====

[](#apie)

[![CircleCI](https://camo.githubusercontent.com/af9e04a7e805bad91289b738323a030d2a6db902e84f20ab6a86d6c5b42f2a05/68747470733a2f2f636972636c6563692e636f6d2f67682f706a6f726461616e2f617069652e7376673f7374796c653d737667)](https://circleci.com/gh/pjordaan/apie)[![codecov](https://camo.githubusercontent.com/3b2c0f201be407bf195af2a4916ec8075526d53e6665e984dd57f234a3db02f4/68747470733a2f2f636f6465636f762e696f2f67682f706a6f726461616e2f617069652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pjordaan/apie/)[![Travis](https://camo.githubusercontent.com/62f1d661db9adece67565fe5961f79271de78cf65aaf16a4db4ce3a9bd310d2f/68747470733a2f2f6170692e7472617669732d63692e6f72672f706a6f726461616e2f617069652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pjordaan/apie)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0914b7ad3e4ab44d753aa4e4cf85cde4717cccee56286642a17835fad571447d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706a6f726461616e2f617069652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pjordaan/apie/?branch=master)

library to convert simple POPO's (Plain Old PHP Objects), DTO (Data Transfer Objects) and Entities to a REST API with OpenAPI spec. It's still a work in progress, but there are tons of unit tests and a bridge to integrate the library in [Laravel](https://github.com/pjordaan/laravel-apie).

Since Apie version 3 it is also possible to add plugins to be modular.

Documentation:

1. [Installation](/docs/01-installation.md)
2. [How the mapping works](/docs/02-explaining-restful-objects.md)
3. [PSR Controllers/routing](/docs/03-controllers.md)
4. [Search filters](/docs/04-search-filters.md)
5. [Apie plugins](/docs/05-plugins.md)
6. [Versioning](/docs/06-versioning.md)
7. [Resource sub actions](/docs/07-subactions.md)

Apie vs. Api Platform
---------------------

[](#apie-vs-api-platform)

This library is heavily inspired by the Symfony Api Platform, but there are some changes:

- This library is framework agnostic and requires a wrapper library to make it work in a framework. Api Platform core is framework agnostic, but it is hard to setup outside the symfony framework.
- In the Api Platform a resource provider or persister determines if it can persist or retrieve a specific resource with a supports() method. For Apie the resource class is explicitly linked to a service making it easier to select which HTTP methods are available.
- API Platform has no default serialization group if no serialization group is selected.
- So far APIE has less functionality for standards (JSON+LD, HAL) and no GraphQL support. Eventually we might add it.
- APIE is better capable of having api resources without an id.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 95.3% 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 ~10 days

Recently: every ~15 days

Total

35

Last Release

2061d ago

Major Versions

1.1.5 → 2.0.02019-11-25

2.4.1 → 3.0.02020-02-19

3.2.0 → 4.0.x-dev2020-04-15

3.4.3 → v4.x-dev2020-09-10

### Community

Maintainers

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

---

Top Contributors

[![pieterw2w](https://avatars.githubusercontent.com/u/71328911?v=4)](https://github.com/pieterw2w "pieterw2w (123 commits)")[![pjordaan](https://avatars.githubusercontent.com/u/2209895?v=4)](https://github.com/pjordaan "pjordaan (6 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/w2w-apie/health.svg)

```
[![Health](https://phpackages.com/badges/w2w-apie/health.svg)](https://phpackages.com/packages/w2w-apie)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[sulu/sulu

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

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

PHPackages © 2026

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