jyoungblood / stereo
Pragmatic toolkit for internet makers
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 45
Type:project
Requires
- jyoungblood/cookie: ^1.1
- jyoungblood/dbkit: ^1.2
- jyoungblood/http-request: ^1.2
- jyoungblood/stereo-render: ^1.0
- jyoungblood/x-utilities: ^1.2
- php-di/php-di: ^7.0
- slim/psr7: ^1.6.1
- slim/slim: 4.*
- symfony/finder: ^7.1
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2025-03-09 00:14:52 UTC
README
A pragmatic toolkit for internet makers
Stereo is a "full stack" tool kit designed to make the process of developing dynamic server-rendered web applications significantly easier and more enjoyable.
While it produces a reliable final product, this configuration focuses on developer velocity, making it easy to provide value quickly without introducing unnecessary technical overhead.
Full documentation: https://stereotk.com
What's included?
-
Slim v4 (w/ Slim PSR-7)
-
Blade templating - BladeOne
-
View rendering helpers - Stereo Render
-
Helpful Vanilla PHP abstraction libraries:
- Database handlers - DB Kit
- Cookie handlers - Cookie
- Simple HTTP client - HTTP Request
- Misc utility functions - X-Utilities
-
Simple application structure
Requirements
- PHP >= 7.4
- PDO-compatible database (if using DB handlers)
- Apache (for production)
Installation
Easy install with composer:
composer create-project jyoungblood/stereo new-project-name
In the new project directory, initialize the .env file and template cache directory:
cd new-project-name
mv .env.example .env
mkdir public/cache
(optional) Install Tailwind:
npm install
Local Development
Stereo will work locally with a variety of methods, the simplest being PHP's built-in web server:
php -S localhost:6969 -t public/
There is also conveniently aliased composer script:
composer start
If you're using Tailwind, the watcher script and PHP server can be run concurrently with a single command:
npm run dev
You could also use Herd, which is an excellent tool for local development.
Additional resources
- STEREO Documentation
- BladeOne Manual
- Slim v4 Documentation
- DB Kit CRUD operations
- TailwindCSS Documentation
- AlpineJS Documentation
This project is a perpetual work in progress. Get in touch if you'd like to get involved.