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 7y 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 today

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 43% 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

2934d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69ae27550bf97ba892e7ca002b98746cf43196a9173c60f684f4af7cdbf60cb7?d=identicon)[giordanocardillo](/maintainers/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.8k191.4M993](/packages/google-apiclient)[team-reflex/discord-php

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

1.1k379.4k24](/packages/team-reflex-discord-php)[docusign/esign-client

The Docusign PHP library makes integrating Docusign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-esign-php-client repository. Join the eSign revolution!

2087.4M13](/packages/docusign-esign-client)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[cantie/app-store-connect-api

A PHP client library for accessing App Store Connect APIs

2831.4k](/packages/cantie-app-store-connect-api)

PHPackages © 2026

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