PHPackages                             smalldb/smalldb-rest-demo - 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. smalldb/smalldb-rest-demo

ActiveLibrary[API Development](/categories/api)

smalldb/smalldb-rest-demo
=========================

Smalldb-REST usage example

151PHP

Since Jul 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/smalldb/smalldb-rest-demo)[ Packagist](https://packagist.org/packages/smalldb/smalldb-rest-demo)[ RSS](/packages/smalldb-smalldb-rest-demo/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Smalldb REST Demo
=================

[](#smalldb-rest-demo)

Example application of Smalldb REST API. This example should be able to provide complete backend for small single page applications.

The repository contains only script to build the example from current versions of required libraries (see Setup and Usage below).

Setup
-----

[](#setup)

1. Checkout the repository.
2. Run `./import-example.php` (or `php import-example.php`) from command line.
3. Make `database.sqlite` writable for web server.

Usage
-----

[](#usage)

The entry point of REST API is `api-v1.php`. See [documentation of `smalldb-rest` library](https://smalldb.org/doc/smalldb-rest/master/)for examples how to use the API.

License
-------

[](#license)

Import script is licensed under Apache 2.0 License.

The imported example, excluding imported libraries, is public domain with no warranty of any kind. The example is meant as base of your development, so feel free to use it as you wish.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

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

---

Top Contributors

[![jkufner](https://avatars.githubusercontent.com/u/16572?v=4)](https://github.com/jkufner "jkufner (7 commits)")

---

Tags

demodemo-appphpsmalldb

### Embed Badge

![Health badge](/badges/smalldb-smalldb-rest-demo/health.svg)

```
[![Health](https://phpackages.com/badges/smalldb-smalldb-rest-demo/health.svg)](https://phpackages.com/packages/smalldb-smalldb-rest-demo)
```

###  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)
