smolky/coreography

CoreOGraphy is a lightweight PHP micro-framework with routing, dependency injection, templating, console commands and HTTP abstractions.

Maintainers

Package info

github.com/Smolky/coreography

Issues

Type:project

pkg:composer/smolky/coreography

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

dev-master 2026-04-15 10:26 UTC

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:

  1. Clone the repository:
    git clone https://github.com/NLP-UMUTeam/coreography.git  
    cd coreography
  1. Install dependencies using Composer:
    composer install
  1. Create your configuration file:
    cp config.sample.php config.php
  1. Edit the configuration file:
  • Open config.php
  • Adjust the required settings (database, paths, environment variables, etc.)
  1. Run the application:
  • Make sure your web server points to index.php
  • Ensure write permissions for directories like cache/