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 3d 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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

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://www.gravatar.com/avatar/e8e568896b0dc028e06b764c189b9e021b17532621d1440451e4892a991f2fd4?d=identicon)[cmink](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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