Migrating to AMP Project and CakePHP 3.4 (Prototyping)

Next: Updating the default layout for AMP UP: TOC

We use composer to install Cakephp

cd /usr/....../logikfabrik/
composer create-project --prefer-dist cakephp/app cakephp35 Installing cakephp/app (3.5.0) - Installing cakephp/app (3.5.0): Loading from cache Created project in cakephp35 Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 39 installs, 0 updates, 0 removals - Installing cakephp/plugin-installer (1.0.0): Downloading (100%) - Installing aura/intl (3.0.0): Downloading (100%) - Installing mobiledetect/mobiledetectlib (2.8.26): Loading from cache - Installing psr/http-message (1.0.1): Loading from cache - Installing zendframework/zend-diactoros (1.6.0): Loading from cache - Installing psr/log (1.0.2): Downloading (100%) - Installing cakephp/chronos (1.1.2): Loading from cache - Installing cakephp/cakephp (3.5.3): Downloading (100%) - Installing symfony/polyfill-mbstring (v1.5.0): Loading from cache - Installing symfony/yaml (v3.3.10): Loading from cache - Installing symfony/debug (v3.3.10): Loading from cache - Installing symfony/console (v3.3.10): Loading from cache - Installing symfony/filesystem (v3.3.10): Loading from cache - Installing symfony/config (v3.3.10): Loading from cache - Installing robmorgan/phinx (v0.8.1): Loading from cache - Installing cakephp/migrations (1.7.1): Loading from cache - Installing m1/env (2.1.0): Downloading (100%) - Installing josegonzalez/dotenv (2.1.0): Downloading (100%) - Installing jakub-onderka/php-console-color (0.1): Downloading (100%) - Installing jakub-onderka/php-console-highlighter (v0.3.2): Downloading (100%) - Installing dnoegel/php-xdg-base-dir (0.1): Downloading (100%) - Installing nikic/php-parser (v3.1.1): Loading from cache - Installing symfony/var-dumper (v3.3.10): Loading from cache - Installing psy/psysh (v0.8.11): Loading from cache - Installing jdorn/sql-formatter (v1.2.17): Loading from cache - Installing symfony/process (v3.3.10): Loading from cache - Installing symfony/finder (v3.3.10): Loading from cache - Installing seld/phar-utils (1.0.1): Downloading (100%) - Installing seld/jsonlint (1.6.1): Loading from cache - Installing seld/cli-prompt (1.0.3): Downloading (100%) - Installing justinrainbow/json-schema (5.2.4): Loading from cache - Installing composer/spdx-licenses (1.1.6): Loading from cache - Installing composer/semver (1.4.2): Downloading (100%) - Installing composer/ca-bundle (1.0.8): Loading from cache - Installing composer/composer (1.5.2): Loading from cache - Installing cakephp/debug_kit (3.11.1): Loading from cache - Installing cakephp/bake (1.4.2): Downloading (100%) - Installing squizlabs/php_codesniffer (3.1.0): Downloading (100%) - Installing cakephp/cakephp-codesniffer (3.0.1): Downloading (100%) cakephp/app suggests installing markstory/asset_compress (An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.) cakephp/app suggests installing dereuromark/cakephp-ide-helper (After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan compatibility.) cakephp/app suggests installing phpunit/phpunit (Allows automated tests to be run without system-wide install.) cakephp/cakephp suggests installing lib-ICU (The intl PHP library, to use Text::transliterate() or Text::slug()) symfony/console suggests installing symfony/event-dispatcher () m1/env suggests installing m1/vars (For loading of configs) symfony/var-dumper suggests installing ext-iconv (To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).) symfony/var-dumper suggests installing ext-symfony_debug () psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :)) psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSIX extension as well.) psy/psysh suggests installing ext-readline (Enables support for arrow-key history navigation, and showing and manipulating command history.) psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.) psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.) composer/composer suggests installing ext-zip (Enabling the zip extension allows you to unzip archives) composer/composer suggests installing ext-zlib (Allow gzip compression of HTTP requests) cakephp/debug_kit suggests installing ext-sqlite (DebugKit needs to store panel data in a database. SQLite is simple and easy to use.) Writing lock file Generating autoload files > Cake\Composer\Installer\PluginInstaller::postAutoloadDump > App\Console\Installer::postInstall Created `config/app.php` file Set Folder Permissions ? (Default to Y) [Y,n]? Y Permissions set on /usr/.../logikfabrik/cakephp35/tmp/cache Permissions set on /usr/.../logikfabrik/cakephp35/tmp/cache/models Permissions set on /usr/.../logikfabrik/cakephp35/tmp/cache/persistent Permissions set on /usr/.../logikfabrik/cakephp35/tmp/cache/views Permissions set on /usr/.../logikfabrik/cakephp35/tmp/sessions Permissions set on /usr/.../logikfabrik/cakephp35/tmp/tests Permissions set on /usr/.../logikfabrik/cakephp35/tmp Permissions set on /usr/.../logikfabrik/cakephp35/logs Updated Security.salt value in config/app.php Next: Updating the default layout for AMP UP: TOC