Download the PHP package maymeow/cakephp-starter-kit without Composer
On this page you can find all versions of the php package maymeow/cakephp-starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maymeow/cakephp-starter-kit
More information about maymeow/cakephp-starter-kit
Files in maymeow/cakephp-starter-kit
Package cakephp-starter-kit
Short Description CakePHP starter kit
License MIT
Homepage https://cakephp.org
Informations about the package cakephp-starter-kit
CakePHP Application starter kit
Starter kit contains:
- Docker (Linux) or Docker Desktop (Mac or Windows)
- CakePHP 4.4.1 application skeleton
- Bootstrap 5.0 based theme plugin [WIP]
- Predefined Development docker environment (CkePHP, PostgreSQL, Redis)
- Ready to production deployment docker configuration (CakePHP, NGiNX, PostgreSQL, Redis), you can also enable traefik as well.
Your dev environment
Services contained for dev environment in docker-compose.dev.yml
Service | Ports | Description |
---|---|---|
Your App | 8080 | Your application |
Adminer | 8081 | Database management tool |
Postgres | 5432 not exposed in production environment | Database server |
Redis | 6379 not exposed in production environment | Cache server |
Minio | 9000 (Api), 9001 (Console) | S3 compatible storage server |
Installation
There are more different ways how to use this project as template for your new application. You can use script recomended to download template for you
then you can use create-app <your-app-name>
to create your application.
or You can clone this project
or with composer
or with Docker
Configuration
Application will generate security key automaticlly with each install and with each build. This is OK for development but not for production. It is recomended to generate key manually as follows
When you have key copy it and update .env.production
file and paste your key right behind SECURITY_SALT=
without any quotes.
Next update DB_USER
, DB_NAME
, DB_PASSWORD
, POSTGRES_PASSWORD
, POSTGRES_USER
and db POSTGRES_DB
. Other variables are preconfigured and if you dont change values in docker compose files you are good to go.
Enabling debug mode
For developmen you can enable debug mode by setting DEBUG=true
in .env.production
file. It is strongly recomended to diasble debug mode for production environment
Console
To access console use command as follows
When you need to acces redis console you can use following command:
Getting all keys from redis cacge database
Issues, new features
If you found an issue or you want to provide feedback or you have an idea for new features. Use Issue tab on github project page.
Support
In case you wan to support development you can use funding button in right panel of this project. Or if you want to help develop this project write me email (address you can find on my profile) and I create account for you on my GitLab instance.
License
MIT
All versions of cakephp-starter-kit with dependencies
cakephp/cakephp Version ^4.4
cakephp/migrations Version ^3.0
cakephp/plugin-installer Version ^1.3
maymeow/cakephp-service-layer Version ^2.1
mobiledetect/mobiledetectlib Version ^2.8