Download the PHP package pieceofcake2/app without Composer
On this page you can find all versions of the php package pieceofcake2/app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pieceofcake2/app
More information about pieceofcake2/app
Files in pieceofcake2/app
Package app
Short Description CakePHP 2 application skeleton with a CakePHP 5-style directory layout
License MIT
Informations about the package app
CakePHP 2.x Application Skeleton
The application skeleton for CakePHP 2 applications running on
pieceofcake2/cakephp, with a directory layout
compatible with CakePHP 5 (config/, src/, templates/, tests/, webroot/), .env
support, and the home page, layouts, error pages and styles of the CakePHP 5 skeleton.
[!WARNING] CakePHP 2.x is for the maintenance of existing applications. For new projects, use the current major version of CakePHP instead.
Documentation
- Website: https://pieceofcake2.github.io/app/ (日本語: https://pieceofcake2.github.io/app/ja/)
- Markdown: docs/ja/README.md) (for AI tools and offline reading)
It covers the installation, the directory layout, the configuration and .env files,
the pages and styles, running tests and PHPStan, and migrating an existing application to the modern layout.
For AI coding tools, the Markdown docs of the CakePHP 2 book are installed as a dev dependency (pieceofcake2/docs, files in vendor/pieceofcake2/docs/docs/en/).
Requirements
- PHP 8.0+
- Composer
- MySQL 5.6+, PostgreSQL 9.4+, SQLite 3 or SQL Server 2022+
Installation
Then copy config/database.php.default to config/database.php, set the database with
DATABASE_URL in config/.env.local (and the test database in config/.env.test.local) or
the environment, and
change the security salts in config/core.php (see
Generating the Security Salts).
The Bake and DebugKit plugins are development dependencies. config/bootstrap.php loads
them when they are installed, so bin/cake bake works out of the box and
composer install --no-dev still works in production.
Contributing
See the contribution guidelines.
Origin
This package is based on the app/ directory of
cakephp/cakephp (cakephp/cakephp on Packagist, last upstream
version 2.10.24), originally by the CakePHP community (Cake Software Foundation, Inc.). It was
extracted into a separate package and is maintained for CakePHP 2 on modern PHP by
pieceofcake2. Changes from the original are listed in the
commit history.
License
Licensed under the MIT License. See LICENSE.
webroot/css/normalize.min.css (normalize.css) and webroot/css/milligram.min.css
(Milligram) are MIT licensed, see their headers. The Raleway font in webroot/font/ is
licensed under the SIL Open Font License 1.1, see webroot/font/Raleway-License.txt.
All versions of app with dependencies
pieceofcake2/cakephp Version ^2.12.7
symfony/dotenv Version ^5.4 || ^6.4 || ^7.0 || ^8.0