Warning: Harbor is under active development and is not production-ready yet.
Microservice-oriented PHP runtime primitives. No MVC ceremony.
Harbor is a lightweight PHP runtime/framework toolkit for page-first projects with explicit routing and helper modules.
- It is not an MVC framework.
- It does not require controllers.
- It does not enforce architecture.
Requirement: PHP 8.5 or higher.
- Create an empty project directory.
mkdir my-harbor-app
cd my-harbor-app- Initialize Composer.
composer init- Install Harbor.
composer require harbor/harborIf your environment cannot resolve harbor/harbor from Packagist yet, use a VCS source:
composer config repositories.harbor vcs https://github.com/adrijan991/harbor
composer require harbor/harbor:dev-main- Serve Harbor documentation locally.
./vendor/bin/harbor-docs- Open the printed local URL (for example
http://localhost:8080) and continue from the docs site.
Harbor documentation is intended to run locally:
./vendor/bin/harbor-docsSearch index is build automatically, but if you like to rebuild it manually (for example, after changing docs content), run: Search index rebuild command (only when docs content changes):
./vendor/bin/harbor-docs-indexContributions are welcome! Please see CONTRIBUTION.md for guidelines on how to contribute to Harbor.
This README is intentionally kept short. Detailed usage and updates continue in the documentation site.

