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.
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
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
coreography/
├── cache/
├── commands/
├── controllers/
├── core/
├── css/
├── custom/
├── lang/
├── templates/
├── .htaccess
├── composer.json
├── config.sample.php
├── index.php
└── routes.php
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/
