Oihana PHP

Oihana PHP Init

Application bootstrap helpers for PHP 8.4+ β€” config loading, DI container and PHP runtime setup.

πŸ“š Documentation

Narrative user guides (FR + EN), with examples:

You are currently browsing the auto-generated API reference (phpDocumentor).

πŸš€ Features

  • βš™οΈ Config loading & merging (TOML + PHP arrays) β€” initConfig().
  • πŸ“¦ PHP-DI container building from definitions β€” initContainer(), initDefinitions().
  • πŸ• PHP runtime setup β€” initDefaultTimezone(), initErrors(), initMemoryLimit(), setIniIfExists().
  • 🧩 Plain free functions, autoloaded β€” no framework lock-in.
  • πŸ§ͺ 100% unit-test line coverage.

πŸ“¦ Installation

This library requires PHP 8.4+ and is installed via Composer:

composer require oihana/php-init

🧾 License

This project is licensed under the Mozilla Public License 2.0 (MPL-2.0).

πŸ‘€ About the Author

πŸ”— Related packages

πŸ”— Project on GitHub

View the full source code and contribute on GitHub: github.com/BcommeBois/oihana-php-init.

Search results