Skip to content

NLP-UMUTeam/coreography

Repository files navigation

CoreOGraphy

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/

About

Core-O-Graphy. A small PHP core

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors