PHPackages                             jeremykendall/lbtaas - 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. jeremykendall/lbtaas

ActiveLibrary

jeremykendall/lbtaas
====================

Little Bobby Tables as a Service

2.0.0(12y ago)510MITPHPPHP &gt;=5.3.0

Since Nov 2Pushed 12y ago3 watchersCompare

[ Source](https://github.com/jeremykendall/lbtaas)[ Packagist](https://packagist.org/packages/jeremykendall/lbtaas)[ Docs](https://github.com/jeremykendall/lbtaas)[ RSS](/packages/jeremykendall-lbtaas/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (0)

Little Bobby Tables as a Service
================================

[](#little-bobby-tables-as-a-service)

Little Bobby Tables as a Service (LBTaaS) was created as an example of `composer create-project`for my [Composer presentation](http://www.slideshare.net/jeremykendall/game-changing-dependency-managment)given at [TechCamp Memphis](http://techcampmemphis.com/) on Nov 2, 2013.

### Live on the Webs

[](#live-on-the-webs)

Check out the production version at .

Installation
------------

[](#installation)

- Install [Composer](http://getcomposer.org)
- Run `composer create-project jeremykendall/lbtaas lbtaas`
- Add `127.0.0.1    lbtaas.dev` to `/etc/hosts`
- Create a vhost with `DocumentRoot` set to `/path/to/lbtaas/public`
- Restart apache
- WIN

Usage
-----

[](#usage)

Make a GET request to . You should receive the following JSON response:

```
{
   "status":"success",
   "data":{
      "name":"Exploits of a Mom",
      "permalink":"http:\/\/xkcd.com\/327\/",
      "image":"http:\/\/imgs.xkcd.com\/comics\/exploits_of_a_mom.png",
      "alt":"Her daughter is named Help I'm trapped in a driver's license factory.",
      "link":"\/lbt?version=1&format=json"
   }
}

```

Official xkcd JSON Interface
----------------------------

[](#official-xkcd-json-interface)

Unbeknownst to me, there is an actual, no kidding, in production JSON interface for xkcd. From the xkcd [About page](http://xkcd.com/about/):

> **Is there an interface for automated systems to access comics and metadata?**
>
> Yes. You can get comics through the JSON interface, at URLs like  (current comic) and  (comic #614).

So the "real" LBTaaS would be , wouldn't it?

### Official xkcd JSON Interface Response Body

[](#official-xkcd-json-interface-response-body)

Here's the response body you'll get for Little Bobby Tables from the [official JSON endpoint](http://xkcd.com/327/info.0.json):

```
{
   "month":"10",
   "num":327,
   "link":"",
   "year":"2007",
   "news":"",
   "safe_title":"Exploits of a Mom",
   "transcript":"[[A woman is talking on the phone, holding a cup]]\nPhone: Hi, this is your son's school. We're having some computer trouble.\nMom: Oh dear\u00e2\u0080\u0094did he break something?\nPhone: In a way\u00e2\u0080\u0094\nPhone: Did you really name your son \"Robert'); DROP TABLE Students;--\" ?\nMom: Oh, yes. Little Bobby Tables, we call him.\nPhone: Well, we've lost this year's student records. I hope you're happy.\nMom: And I hope you've learned to sanitize your database inputs.\n{{title-text: Her daughter is named Help I'm trapped in a driver's license factory.}}",
   "alt":"Her daughter is named Help I'm trapped in a driver's license factory.",
   "img":"http:\/\/imgs.xkcd.com\/comics\/exploits_of_a_mom.png",
   "title":"Exploits of a Mom",
   "day":"10"
}
```

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 94.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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

4572d ago

Major Versions

1.0.0 → 2.0.02013-11-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/4232bff51ec1380e748a6829d6f98b88a15f16cc70af454da69d50c469d8c889?d=identicon)[jeremykendall](/maintainers/jeremykendall)

---

Top Contributors

[![jeremykendall](https://avatars.githubusercontent.com/u/288613?v=4)](https://github.com/jeremykendall "jeremykendall (18 commits)")[![dongilbert](https://avatars.githubusercontent.com/u/718028?v=4)](https://github.com/dongilbert "dongilbert (1 commits)")

---

Tags

humorxkcddemonstrationLittle Bobby Tables

### Embed Badge

![Health badge](/badges/jeremykendall-lbtaas/health.svg)

```
[![Health](https://phpackages.com/badges/jeremykendall-lbtaas/health.svg)](https://phpackages.com/packages/jeremykendall-lbtaas)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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