PHPackages                             ikaler/slim3-api-base - 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. ikaler/slim3-api-base

ActiveLibrary[API Development](/categories/api)

ikaler/slim3-api-base
=====================

Slim 3 based Restful api base project.

116PHP

Since Mar 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ikaler/slim3-api-base)[ Packagist](https://packagist.org/packages/ikaler/slim3-api-base)[ RSS](/packages/ikaler-slim3-api-base/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Slim 3 RESTful api base project (slim3-api-base)
================================================

[](#slim-3-restful-api-base-project-slim3-api-base)

This is a base project for RESTful api based on Slim 3 framework.

Create project:
---------------

[](#create-project)

```
$ composer create-project --no-interaction --stability=dev ikaler/slim3-api-base my-slim-api

```

Replace `my-slim-api` with the desired directory name for your new application.

Configure project:
------------------

[](#configure-project)

1. `$ cd my-slim-api` or the name you provided above
2. `$ cp app/config_default.php app/config.php`
3. `$ mkdir logs`
4. `$ touch logs/app.log`

Directories
-----------

[](#directories)

- `app`: Application code
- `logs`: Log files
- `public`: Webserver root
- `vendor`: Composer dependencies

### Sample User table

[](#sample-user-table)

```
CREATE TABLE IF NOT EXISTS `users` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `name` varchar(25) NOT NULL,
    `email` varchar(30) NOT NULL,
    `password` varchar(32) NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8

```

Added few sample files `UserController.php`, `UserModel.php` to get started.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1138503?v=4)[iKaler](/maintainers/ikaler)[@ikaler](https://github.com/ikaler)

---

Top Contributors

[![ikaler](https://avatars.githubusercontent.com/u/1138503?v=4)](https://github.com/ikaler "ikaler (14 commits)")

---

Tags

restful-apislim3-apislim3-based-api

### Embed Badge

![Health badge](/badges/ikaler-slim3-api-base/health.svg)

```
[![Health](https://phpackages.com/badges/ikaler-slim3-api-base/health.svg)](https://phpackages.com/packages/ikaler-slim3-api-base)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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