PHPackages                             dillonsmart/tetherphp - 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. dillonsmart/tetherphp

ActiveProject[Framework](/categories/framework)

dillonsmart/tetherphp
=====================

TetherPHP is a PHP framework which ships as a skeleton application.

v0.2.1(2mo ago)18111MITPHPPHP ^8.4CI passing

Since Jul 27Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Dillonsmart/tetherphp)[ Packagist](https://packagist.org/packages/dillonsmart/tetherphp)[ RSS](/packages/dillonsmart-tetherphp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (14)Used By (0)

[![TetherPHP Logo](https://camo.githubusercontent.com/9dd27d68b338d40fbd3109431349acfe1cf0bbf57373b9fc16c7b9acabd1e952/68747470733a2f2f7465746865727068702e636f6d2f5465746865727068616e743430302e706e67)](https://tetherphp.com)

[![Total Downloads](https://camo.githubusercontent.com/b9ae247d993d6745190dd5976f419c1bc0168e4a4137091edb609f75eefad4e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64696c6c6f6e736d6172742f746574686572706870)](https://packagist.org/packages/dillonsmart/tetherphp)[![Latest Stable Version](https://camo.githubusercontent.com/754243d56e962b0d9ba80922a26e6c372e61f839eab5a1c7ac2449d69860f3ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64696c6c6f6e736d6172742f746574686572706870)](https://packagist.org/packages/dillonsmart/tetherphp)[![License](https://camo.githubusercontent.com/1465baec0ec4efda51723334b1b689ff399d52a9637320d604c087aa919b057c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64696c6c6f6e736d6172742f746574686572706870)](https://packagist.org/packages/dillonsmart/tetherphp)

About TetherPHP
---------------

[](#about-tetherphp)

TetherPHP is a lightweight, flexible framework for building web applications in PHP using the ADR (Action-Domain-Responder) architecture. It provides a simple and intuitive way to structure your application, making it easy to develop and maintain.

[Follow the development on X](https://x.com/d2sdev)

Features
--------

[](#features)

- **ADR Architecture** — Clean separation of concerns using the Action-Domain-Responder pattern
- **Routing** — Simple routing with support for dynamic parameters and route grouping
- **Session &amp; CSRF Protection** — Built-in session management and CSRF token validation
- **Environment Configuration** — `.env` file support for managing application settings
- **CLI Tools** — Code generation commands for scaffolding Actions, Domains, and Responders
- **Tailwind CSS** — Pre-configured with Tailwind CSS for styling
- **Logging** — Built-in logging to the `storage/` directory

Requirements
------------

[](#requirements)

- PHP 8.4 or higher
- Composer

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

[](#installation)

Install TetherPHP using Composer:

```
composer create-project dillonsmart/tetherphp ./
```

Copy the `.env.example` file to `.env` and configure your application settings:

```
cp .env.example .env
```

Building Assets
---------------

[](#building-assets)

TetherPHP uses Tailwind CSS for styling. Install dependencies and build the stylesheet:

```
npm install && npx tailwindcss -i ./resources/css/app.css -o ./public/css/app.css --watch
```

Project Structure
-----------------

[](#project-structure)

```
├── app/
│   ├── Actions/        # Request handlers
│   ├── Domains/        # Business logic
│   ├── Responders/     # Response formatters
│   └── Views/          # Templates and partials
├── public/             # Web root (index.php, compiled assets)
├── resources/          # Source assets (CSS)
├── routes/             # Route definitions
├── src/                # Core framework library
│   └── framework/
│       ├── Commands/   # CLI commands
│       ├── DTOs/       # Data Transfer Objects
│       ├── Helpers/    # Utility functions
│       ├── Interfaces/ # Contracts
│       ├── Modules/    # Core modules (Env, Console, Log)
│       ├── Requests/   # Request handling
│       ├── Sessions/   # Session & CSRF management
│       └── Stubs/      # Code generation templates
└── storage/            # Logs and application storage

```

Usage
-----

[](#usage)

To get started with TetherPHP, please refer to the [documentation](https://tetherphp.com/docs).

Monorepo
--------

[](#monorepo)

This repository is a monorepo. The core framework code in `src/` is automatically split and published to [tetherphp-core](https://github.com/Dillonsmart/tetherphp-core) via GitHub Actions using `splitsh-lite`.

Local Development
-----------------

[](#local-development)

For local development of TetherPHP alongside the core framework files, create a `composer.local.json` file:

```
{
    "repositories": [
        {
            "type": "path",
            "url": "../tetherphp-core"
        }
    ],
    "require": {
        "dillonsmart/tetherphp-core": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}
```

Then run:

```
COMPOSER=composer.local.json composer update
```

You can also create an alias for convenience:

```
alias composer-local='COMPOSER=composer.local.json composer update'
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance87

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~48 days

Total

11

Last Release

70d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fbcc07268dc0507ad006b18333c8e417b70618f52bf437e485d8cfac775d40a2?d=identicon)[Dillonsmart](/maintainers/Dillonsmart)

---

Top Contributors

[![Dillonsmart](https://avatars.githubusercontent.com/u/11349121?v=4)](https://github.com/Dillonsmart "Dillonsmart (73 commits)")

---

Tags

frameworkphpframeworktetherphp

### Embed Badge

![Health badge](/badges/dillonsmart-tetherphp/health.svg)

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

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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