smolky / coreography
CoreOGraphy is a lightweight PHP micro-framework with routing, dependency injection, templating, console commands and HTTP abstractions.
dev-master
2026-04-15 10:26 UTC
Requires
- php: ^8.1 || ^8.2 || ^8.3
- altorouter/altorouter: ^1.2
- laminas/laminas-diactoros: ^3.8
- laminas/laminas-httphandlerrunner: ^2.13
- philipp15b/php-i18n: ^4.0
- pimple/pimple: ^3.6
- robmorgan/phinx: ^0.16
- symfony/console: ^6.4
- symfony/error-handler: ^6.4
- symfony/filesystem: ^6.4
- symfony/finder: ^6.4
- symfony/mailer: ^6.4
- twig/twig: ^3.24
Requires (Dev)
- symfony/var-dumper: ^6.4
This package is not auto-updated.
Last update: 2026-04-26 14:21:04 UTC
README
A lightweight PHP micro-core for building web applications with a pragmatic stack: AltoRouter for routing, Twig for templating, Symfony components for developer tooling and console commands, and a simple project structure oriented to small and medium-sized applications.
Why CoreOGraphy?
CoreOGraphy is a minimal application core designed for teams that want:
- A small and understandable codebase
- Server-side rendered applications with Twig
- Simple routing without a full-stack framework overhead
- Reusable commands and utility services
- A structure that is easy to adapt for internal tools, dashboards, and research software
Main Components
CoreOGraphy currently integrates:
- AltoRouter for route definition
- Twig for view rendering
- Symfony Console for CLI commands
- Symfony Debug / Finder / Filesystem for utilities
- Phinx for database migrations
- SwiftMailer for email support
- PHP i18n utilities for localization
Project Structure
coreography/
├── cache/
├── commands/
├── controllers/
├── core/
├── css/
├── custom/
├── lang/
├── templates/
├── .htaccess
├── composer.json
├── config.sample.php
├── index.php
└── routes.php
Installation
To get started with CoreOGraphy, follow these steps:
- Clone the repository:
git clone https://github.com/NLP-UMUTeam/coreography.git
cd coreography
- Install dependencies using Composer:
composer install
- Create your configuration file:
cp config.sample.php config.php
- Edit the configuration file:
- Open
config.php - Adjust the required settings (database, paths, environment variables, etc.)
- Run the application:
- Make sure your web server points to
index.php - Ensure write permissions for directories like
cache/