PHPackages                             cmink-alone/simplerestfulapi - 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. cmink-alone/simplerestfulapi

ActiveWebservice[API Development](/categories/api)

cmink-alone/simplerestfulapi
============================

RestFull Api PHP

04PHP

Since Apr 19Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Belajar Membuat RESTful API dengan PHP
======================================

[](#belajar-membuat-restful-api-dengan-php)

RESTful API sederhana menggunakan PHP, konsep MVC &amp; PSR-4 Autoloading Standard,

masih tahap pengembangan, belum ada Authentication, API Key, Hash Token, dll :D

fitur yang sudah ada
--------------------

[](#fitur-yang-sudah-ada)

1. Routing
2. Request Method Handler (GET, POST, PUT, DELETE)
3. Http Response Code Handler
4. JSON Output (View)
5. PDO Integration (Model)
6. PSR-4 Autoloading Standard (Controller)

Contoh penggunaan API
---------------------

[](#contoh-penggunaan-api)

test menggunakan Postman \[\]

#### Semua Artikel

[](#semua-artikel)

Endpoint =

Method = GET

#### 1 Artikel

[](#1-artikel)

Endpoint = [http://localhost/api/public/artikel/{id}](http://localhost/api/public/artikel/%7Bid%7D)

Method = GET

#### Tambah Artikel Baru

[](#tambah-artikel-baru)

Endpoint =

Method = POST

#### Ubah Artikel

[](#ubah-artikel)

Endpoint = [http://localhost/api/public/artikel/{id}](http://localhost/api/public/artikel/%7Bid%7D)

Method = PUT

#### Hapus Artikel

[](#hapus-artikel)

Endpoint = [http://localhost/api/public/artikel/{id}](http://localhost/api/public/artikel/%7Bid%7D)

Method = DELETE

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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/382507?v=4)[Craig Mink](/maintainers/cmink)[@cmink](https://github.com/cmink)

---

Top Contributors

[![wisnuhafid](https://avatars.githubusercontent.com/u/41471205?v=4)](https://github.com/wisnuhafid "wisnuhafid (6 commits)")[![cmink-alone](https://avatars.githubusercontent.com/u/6161940?v=4)](https://github.com/cmink-alone "cmink-alone (3 commits)")

### Embed Badge

![Health badge](/badges/cmink-alone-simplerestfulapi/health.svg)

```
[![Health](https://phpackages.com/badges/cmink-alone-simplerestfulapi/health.svg)](https://phpackages.com/packages/cmink-alone-simplerestfulapi)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M18](/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

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

PHPackages © 2026

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