PHPackages                             giordanocardillo/slim-restapi - 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. giordanocardillo/slim-restapi

ActiveLibrary[API Development](/categories/api)

giordanocardillo/slim-restapi
=============================

A simple Rest API using Slim Framework

1.0.12(8y ago)027[1 issues](https://github.com/giordanocardillo/slim-restapi/issues)MITPHPPHP &gt;=5.5.0

Since Aug 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/giordanocardillo/slim-restapi)[ Packagist](https://packagist.org/packages/giordanocardillo/slim-restapi)[ RSS](/packages/giordanocardillo-slim-restapi/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Slim RestAPI
============

[](#slim-restapi)

[![Code Climate](https://camo.githubusercontent.com/b8cfad334da19b2636ee7e1231fae822a9c85539e6f2e16d1b648a9e2ae81296/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f67696f7264616e6f63617264696c6c6f2f736c696d2d726573746170692e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/giordanocardillo/slim-restapi)[![Codacy Grade](https://camo.githubusercontent.com/7ad6a61a5a88a3cd484cdc01dc738f5045007a4b9d26cebbafec0119888a2f9b/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f32316166343738353436313234633737616465653637393536616333353537392e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/giordanocardillo/slim-restapi)[![Packagist](https://camo.githubusercontent.com/39ebe42fc890ce3890cbeea0419ddd98edc44ef3345daa494e304c0ad9df7f1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67696f7264616e6f63617264696c6c6f2f736c696d2d726573746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/giordanocardillo/slim-restapi)

A RESTful API based on Slim Framework using exception driven coding.

Directory Structure
-------------------

[](#directory-structure)

```
+-- app                Contains app files
|  +-- RestAPI         Contains core files
|  |  +-- Exceptions   Contains custom exception classes
|  |  +-- Utils        Contains utilities
|  +-- routes          Contains the routes
|  +-- config.json     Configuration file
+-- public_html        Public web folder
|  +-- index.php       Main slim page
+-- database.sql        The database structure file

```

How to configure it
-------------------

[](#how-to-configure-it)

To configure the RestAPI there is a `config.json` file inside the `app` folder. It is self-explanatory.

How to use it
-------------

[](#how-to-use-it)

This project uses composer, so you can just issue

```
composer create-project giordanocardillo/slim-restapi .
```

Then import the DB using the provided `database.sql` file

User authentication workflow
----------------------------

[](#user-authentication-workflow)

TODO

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2984d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3403386?v=4)[Giordano Cardillo](/maintainers/giordanocardillo)[@giordanocardillo](https://github.com/giordanocardillo)

---

Top Contributors

[![giordanocardillo](https://avatars.githubusercontent.com/u/3403386?v=4)](https://github.com/giordanocardillo "giordanocardillo (56 commits)")

### Embed Badge

![Health badge](/badges/giordanocardillo-slim-restapi/health.svg)

```
[![Health](https://phpackages.com/badges/giordanocardillo-slim-restapi/health.svg)](https://phpackages.com/packages/giordanocardillo-slim-restapi)
```

###  Alternatives

[google/apiclient

Client library for Google APIs

9.8k201.0M1.1k](/packages/google-apiclient)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[newerton/google-api-php-client

Client library for Google APIs

9.8k23.7k](/packages/newerton-google-api-php-client)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k406.5k25](/packages/team-reflex-discord-php)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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