Skip to content
Advertisement

installing cakephp 3 manually, without composer

I need to install CakePHP 3 in an old-fashioned upload-unzip-run way.

The archive I’ve downloaded from cakephp/cakephp/tags does not contain the default folders like webroot, Model etc., which means it’s not complete.

The official documentation does not cover this. Here’s a relevant Github issue I found, but the person ends up still using Composer.

There’s also cakephp/app and it seems to include those missing files, but it’s not mentioned in cakephp/cakephp‘s composer.json, and even if I download it I’ve no idea how to merge the packages.

Please help

Advertisement

Answer

Packaged app (cakephp/app) releases that include all dependencies (framework (cakephp/cakephp), standard CakePHP plugins (cakephp/debugkit, cakephp/bake, etc), required third party libraries) can be found on GitHub.

https://github.com/cakephp/cakephp/releases

It’s the download with the small package symbol, named like cake-3-x-x.zip.

However, it isn’t a good idea to ditch the dependency manager, as keeping the code base and the autoloader up to date will be rather tedious, and, no offense, I have my doubts that you’ll be able to handle this properly if you don’t even know how to stitch the app and cake packages together.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement