Loading page
Loading page
Developer tools
A ready CakePHP 5 starter on Apache and PHP 8.5 with MariaDB, so you can fork it and ship your own PHP app.
This is a starter for CakePHP 5, the PHP web framework. It is a small hello-world app on top of a runtime image with Apache and PHP 8.5. A MariaDB database runs next to it. The goal is a known good base that you copy and build on.
The runtime image holds no app code. The starter adds the hello app. Your own fork adds your real code. Each layer builds on the one below.
It suits PHP developers who use CakePHP or want to try it. It also suits teams that want to move an existing CakePHP app into containers and need a working example of the wiring: the document root, the rewrite rules, the proxy headers and the database URL.
It is not a finished product for end users. It is a page that says hello until you put your app in it.
A shared PHP host often locks the PHP version and the extensions. Here you pick both, and the database runs in your own service. You can run the same setup on your laptop with Docker Compose and on the server.
The trade-off is that you own the stack. You keep PHP, CakePHP and MariaDB updated, you back up the database, and you build and push your own image when your code changes.
Containers: ghcr.io/themusicdev/cakephp-hello:1.0.0, mariadb:11
Step 1
Choose the Starter plan. It costs $20 a month and runs up to 3 apps.
Step 2
Open App templates in the dashboard, choose CakePHP 5, and click Deploy. We set up the containers, secrets and domain.
Step 3
Wait a few minutes for the first deploy, then open your new URL and finish the CakePHP 5 setup screen.