Skip to content
@splinter-php

Splinter-php

Start with the essential. Add only what you need.

Splinter PHP

Start with the essential. Add only what you need.

Splinter is a lightweight PHP micro-framework ecosystem built around a single principle: a service should contain only what it actually uses. No bloat, no forced opinions, no magic.

Packages

Package Description Version
splinter/framework Core: DI, routing, Eloquent ORM, console, Redis queues Packagist
splinter/skeleton Application skeleton for composer create-project Packagist
splinter/access Access rule checking module Packagist
splinter/view Twig view layer Packagist
splinter/auth Authentication module (coming soon) —

Quick start

composer create-project splinter/skeleton my-service
cd my-service
php splinter migrate
php -S localhost:8000 -t public/

Adding modules

Modules are optional. Install only what the service actually needs.

Twig view layer:

composer require splinter/view
# add TwigServiceProvider to config/app.php → providers
php splinter vendor:publish

Access rule checking:

composer require splinter/access
# add AccessServiceProvider to config/app.php → providers

Philosophy

Modern microservice architectures don't need a full-stack framework on every service. Splinter gives you a minimal, composable core — each service pulls in only the modules it actually uses.

  • Core is truly minimal — DI, routing, Eloquent ORM, Redis queues, console. Nothing else.
  • Modules are optional — view layer, access rules, auth — each is a separate package, installed only where needed.
  • No magic — configuration is plain PHP arrays, auto-loaded by convention from config/.
  • One structure — every Splinter service looks the same: same layout, same entry points, same CLI.

Module design

Each module integrates through the same two-step pattern:

  1. Add a ServiceProvider to config/app.php → providers.
  2. Run php splinter vendor:publish if the module ships config files or views.

The core resolves everything else automatically — exception handlers, container bindings, published assets.

Requirements

  • PHP ^8.2
  • MySQL / MariaDB
  • Redis

License

MIT

Popular repositories Loading

  1. framework framework Public

    Splinter — lightweight PHP micro-framework core (DI, routing, ORM, HTTP, console, queues)

    PHP

  2. skeleton skeleton Public

    Splinter application skeleton — deploy a new microservice with composer create-project

    PHP

  3. view view Public

    Twig view rendering extension for the [Splinter framework](https://github.com/splinter-php/framework).

    PHP

  4. access access Public

    Access rule authorization for the Splinter micro-framework.

    PHP

  5. .github .github Public

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…