mizmoz/app

Mizmoz App

Maintainers

Details

github.com/mizmoz/app

Source

Issues

Installs: 52

Dependents: 1

Suggesters: 2

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mizmoz/app

1.0.2 2024-09-30 01:05 UTC

This package is auto-updated.

Last update: 2025-09-29 02:06:53 UTC


README

Aims

  • Be lightweight, we'll only be serving API requests
  • Use PHP-FIG where possible
  • Be very opinionated (I hate boilerplate)
  • Handle both HTTP and CLI
// Use an index file for all configs
$config = new Config('./configs/index.php');

// At it's most basic
App::run($config);

Project Structure

/App
    /Http
        /App.php - HTTP Application
        /routes.php - contains all HTTP route definitions
    /Cli
        /App.php - CLI Application
        /commands.php - contains all console commands
    /Command
/config
/public
/tests