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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package app

CakePHP 2.x Application Skeleton

Packagist Version PHP CakePHP PHPStan

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

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

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

PHP Build Version
Package Version
Requires php Version >=8.0
pieceofcake2/cakephp Version ^2.12.7
symfony/dotenv Version ^5.4 || ^6.4 || ^7.0 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pieceofcake2/app contains the following files

Loading the files please wait ...