PHPackages                             johnvandeweghe/lunixrest-basics - 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. johnvandeweghe/lunixrest-basics

ActiveLibrary[API Development](/categories/api)

johnvandeweghe/lunixrest-basics
===============================

Basic implementations of LunixREST

v0.5.1(8y ago)136[4 issues](https://github.com/johnvandeweghe/LunixREST-Basics/issues)PHPPHP ^7.1

Since Jan 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/johnvandeweghe/LunixREST-Basics)[ Packagist](https://packagist.org/packages/johnvandeweghe/lunixrest-basics)[ RSS](/packages/johnvandeweghe-lunixrest-basics/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (19)Used By (0)

[![Build Status](https://camo.githubusercontent.com/d1f6483e4fdd8bc84b6ed7a1e3f4aac3014b054f9346949f02d2471c8ad4f64d/68747470733a2f2f7472617669732d63692e6f72672f6a6f686e76616e646577656768652f4c756e6978524553542d4261736963732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/johnvandeweghe/LunixREST-Basics) [![Code Coverage](https://camo.githubusercontent.com/3685ddfe63f119a4a6f8b485c32a416661a9b77fc7977ef0e85c79178aebc27f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f686e76616e646577656768652f4c756e6978524553542d4261736963732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/johnvandeweghe/LunixREST-Basics/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/c9c0b00973c218453d6bc663b8481170774fbbeb0974f003b97e7679a58872b0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f686e76616e646577656768652f4c756e6978524553542d4261736963732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/johnvandeweghe/LunixREST-Basics/?branch=master)

Overview
========

[](#overview)

LunixREST-Basics is a project that contains implementations of interfaces/abstract classes from [LunixREST](https://github.com/johnvandeweghe/LunixREST) that enable basic activities that most APIs would use. It is separated into it's own project so that the basics can depend on 3rd party libraries (such as Guzzle), without requiring those libraries for the Core codebase.

Features:
---------

[](#features)

- Doctrine support for endpoints/endpoint factories
- JSON request/response support
- Basic URL parser
- Single endpoint endpoint factory
- Super basic example API implementations

Unit test coverage
------------------

[](#unit-test-coverage)

This project seeks to aproach 100% code coverage at all times. Both in numbers, and in actual code path coverage. If that is ever not the case, leave an issue and it will be addressed ASAP.

Installation
============

[](#installation)

Requirements
------------

[](#requirements)

All dependencies are specified in the composer.json, so as long as you use composer with this library, all dependencies should be taken care of.

That being said, here are some dependencies:

- PHP 7.1+
- LunixREST
- GuzzleHTTP
- Monolog

Version Notice
--------------

[](#version-notice)

This project updates master regularly. Changes to master that are not released are not guaranteed to be stable, and should be treated as such. Use the release tags for production projects.

All minor version number updates will have guaranteed backwards compatibility. Major version changes won't be held to that standard, but generally the goal is to minimise interface changes.

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

[](#installation-1)

This project is listed in [Packigist](https://packagist.org/packages/johnvandeweghe/lunixrest-basics), the default repository for Composer. So installation is as simple as:

`composer require johnvandeweghe/lunixrest-basics`

Usage TODO
==========

[](#usage-todo)

JSON Requests/Responses
-----------------------

[](#json-requestsresponses)

### Requests

[](#requests)

JSONHTTPServer

### Responses

[](#responses)

JSONResponseDataSerializer

Doctrine
--------

[](#doctrine)

### ManagerRepository

[](#managerrepository)

Endpont/EndpointFactory
-----------------------

[](#endpontendpointfactory)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~8 days

Total

18

Last Release

3265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5607b8c50ed61ff5c3d325562d6fb23dd909a698f2c024304e8a1ceb98d3c542?d=identicon)[johnvandeweghe](/maintainers/johnvandeweghe)

---

Top Contributors

[![johnvandeweghe](https://avatars.githubusercontent.com/u/6555083?v=4)](https://github.com/johnvandeweghe "johnvandeweghe (35 commits)")

---

Tags

libraryphprest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/johnvandeweghe-lunixrest-basics/health.svg)

```
[![Health](https://phpackages.com/badges/johnvandeweghe-lunixrest-basics/health.svg)](https://phpackages.com/packages/johnvandeweghe-lunixrest-basics)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[irazasyed/telegram-bot-sdk

The Unofficial Telegram Bot API PHP SDK

3.3k4.5M84](/packages/irazasyed-telegram-bot-sdk)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)

PHPackages © 2026

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