Search by

yacho / microphp-core

y4ch0

Core library for the MicroPHP filesystem-driven PHP framework.

Package info

github.com/y4ch0/microphp-core

pkg:composer/yacho/microphp-core

Statistics

Installs: 18

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-09-16 18:34 UTC

This package is auto-updated.

Last update: 2026-09-19 18:38:38 UTC


README

yacho/microphp-core is the reusable framework library behind the yacho/microphp application skeleton. It contains the MicroPHP\ classes and globally available helper functions; application code, configuration, public files, and writable runtime directories belong to the skeleton.

Installation

Most users should create a complete application:

composer create-project yacho/microphp my-app

To add only the framework library to an existing Composer project:

composer require yacho/microphp-core

Composer maps the MicroPHP\ namespace to src/ and automatically loads src/Helpers.php. The framework expects the host application to define its paths and environment settings; use the official skeleton as the reference bootstrap.

Requirements

  • PHP 8.1 or newer
  • JSON, PDO, and Session PHP extensions
  • A PDO driver for the selected SQL database, or ext-mongodb for MongoDB

Development

composer install
composer validate --strict
composer test

Versions are derived from Git tags. Do not add a version field to composer.json; tag stable releases with semantic versions such as v1.0.0.

License

MicroPHP Core is released under the MIT License.