Orpheus PHP Framework comes with an easy-to-use installer allowing you to create an Orpheus project with a single line command. You could also manually download the archive from GitHub.
This feature is using composer to direct download Orpheus with its dependencies.
First, download the latest phar of the installer from github.
In the parent folder of your new project, run the setup php orpheus.phar install myprojectname
.
Orpheus & Composer will be installed in a subfolder named myprojectname.
You could also create a project by yourself, just download directly Orpheus.
An archive of original sources, consider that Composer is not initialized.
All releases, get the version you want by browsing our repos on GitHub.
The Orpheus Framework is entirely customizable but it started with MVC Library, an ORM and all features you need to get an enhanced website.
Orpheus separates different package features in namespaces and composer is helping you to maintain your application up-to-date by taking care of your dependencies.
Web access point is /app/web and you will find some themes in it, each theme has its own css, js and layout files,
basic layout files are in PHP and the default theme is... default.
You should put your own sources in /libs/src, you will find some sample here to help you to start.
We are calling a route and access point to a controller, who is in charge to process the request and return a result, like a rendered view. So, with Orpheus, you totally control how a user is getting in and what to return to him.
Start by creating a Controller in your src folder (libs/src), there is a HomeController class to help you.
Add your layout in the layout/app folder of your theme, all used template are relative to the layout folder.
To get it online, create a route in the file configs/routes.yaml using instructions and examples we provided.
This is so easy, you know.