# CakePHP5

CakePHP5 is a PHP web application framework and containerized skeleton that helps developers and homelab admins build, deploy, and manage secure websites on their own servers. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5364/cakephp5

## Description

CakePHP 5 is a PHP web application framework and containerized skeleton that helps developers and homelab admins build, deploy, and manage secure websites on their own servers.

## Platform availability

Available on 0 of 10 platforms.

## Health score

70/100 (Good), based on 4 of 5 factors.
- Maintained: 91 (last commit 12 days ago)
- Popular: 52 (388 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 95 (no serious findings, CI, tests)

## Links

- GitHub: https://github.com/cakephp/app
- Docker Hub: https://hub.docker.com/r/shinsenter/cakephp5
- Official website: https://code.shin.company

## Common questions

### How do I create a new CakePHP 5 application skeleton?

Install or update Composer, then run composer create-project --prefer-dist cakephp/app to create the project. You can optionally provide a custom app directory name after the package name.

### Where do I set the database connection for a CakePHP 5 app?

Edit the environment-specific config/app_local.php and set the Datasources configuration. Environment-agnostic settings can be changed in config/app.php.

### How can I inspect SQL queries, timers, and request history during local development?

DebugKit provides a debugging toolbar and enhanced tools for inspecting configuration data, log messages, SQL queries, timers, mail previews, and request history.

## Alternatives

- Backdrop CMS
- ImpressPages CMS
- Laravel
- Yii Framework

---
Source: Our Local Host (https://ourlocalhost.com/app/5364/cakephp5), the self-hosted and open-source app directory.
