Atom Framework

2.1 2021-04-28 07:37 UTC

README

Atom is a simple PHP framework that implements MVC pattern. Please read more Request Lifecycle Atom

Configuration

composer require cuongnd88/atom

Usage

Single Point Entry

index.php

require __DIR__ . '/../vendor/autoload.php';

use Atom\Http\Server;

try {
    $server = new Server(['env']);
    $server->handle();
} catch (Exception $e) {
    echo $e->getMessage();
}

For example of implementation and usage, please take a look at EzyCrazy project https://github.com/cuongnd88/ezycrazy which was developed using Atom framework