PHPackages                             settermjd/twilio-slim-base-project - 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. [Framework](/categories/framework)
4. /
5. settermjd/twilio-slim-base-project

ActiveLibrary[Framework](/categories/framework)

settermjd/twilio-slim-base-project
==================================

This project the base from which I build my Twilio PHP project.

1.3.0(3mo ago)010[9 issues](https://github.com/settermjd/twilio-slim-base-project/issues)PHP

Since Jan 30Pushed 3mo agoCompare

[ Source](https://github.com/settermjd/twilio-slim-base-project)[ Packagist](https://packagist.org/packages/settermjd/twilio-slim-base-project)[ Fund](https://funding.communitybridge.org/projects/laminas-project)[ RSS](/packages/settermjd-twilio-slim-base-project/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (13)Versions (5)Used By (0)

Twilio / Slim Base Project
==========================

[](#twilio--slim-base-project)

This is a small, almost skeleton project that I base my PHP projects on which underpin [my Twilio tutorials](https://www.twilio.com/en-us/blog/authors/author.msetter). It's not intended to be special, nor feature-rich. Rather, it's designed to save me time getting started building my next PHP project for an upcoming Twilio tutorial.

It:

- Is a small, web-based PHP application based on [the Slim Framework](https://www.slimframework.com)
- Has one route which returns no body and a minimum of HTTP headers
- Wraps Slim's `Application` object in a small utility class to make writing maintainable code easier

Note

The project does not make presumptions about the kind of application which will be built with it, thereby leaning toward a more ad hoc approach. However, it still tries to provide a sense of structure, for when that may be necessary, by including three empty directories: *Entities*, *Services*, and *Middleware* in the *src* directory. These are to provide a clear sense of structure as and when an application is built that would make use of these types of classes.

Prerequisites
-------------

[](#prerequisites)

You'll need the following to use the application:

- PHP 8.4 or above
- [Composer](https://getcomposer.org) installed globally
- Your preferred code editor or IDE
- Some terminal experience is helpful, though not required

Quick Start
-----------

[](#quick-start)

To create a new project from this project, wherever you store your PHP apps, run the following command:

```
composer create-project settermjd/twilio-slim-base-project
```

Tip

Replace `` with whatever you want to name the new project directory.

Then, open [the Twilio Console](https://console.twilio.com) in your browser of choice, and copy the **Account SID**, **Auth Token**, and **phone number** from the **Account Info**, as you can see in the screenshot below.

[![The Twilio Console's Account Info panel, with the Account SID and My Twilio phone number field's redacted.](./docs/images/twilio-console-account-info-panel-shorter.png)](./docs/images/twilio-console-account-info-panel-shorter.png)

Then, set those values as the values of `TWILIO_ACCOUNT_SID`, `TWILIO_AUTH_TOKEN`, and `TWILIO_PHONE_NUMBER`, respectively, in *.env*.

Contributing
------------

[](#contributing)

If you want to contribute to the project, whether you have found issues with it or just want to improve it, here's how:

- [Issues](https://github.com/settermjd/twilio-slim-base-project/issues): ask questions and submit your feature requests, bug reports, etc
- [Pull requests](https://github.com/settermjd/twilio-slim-base-project/pulls): send your improvements

License
-------

[](#license)

[MIT](http://www.opensource.org/licenses/mit-license.html)

Disclaimer
----------

[](#disclaimer)

No warranty expressed or implied. Software is as is.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance87

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

93d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d4c6c662daf6b4a9742c59d0a72c069633a9772c831ecc1de7a2926ee4d8d95?d=identicon)[settermjd](/maintainers/settermjd)

---

Top Contributors

[![settermjd](https://avatars.githubusercontent.com/u/196801?v=4)](https://github.com/settermjd "settermjd (23 commits)")

---

Tags

phppsr7slimtwilioslim-framework

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/settermjd-twilio-slim-base-project/health.svg)

```
[![Health](https://phpackages.com/badges/settermjd-twilio-slim-base-project/health.svg)](https://phpackages.com/packages/settermjd-twilio-slim-base-project)
```

PHPackages © 2026

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