Summary
Remove everything an API skeleton doesn't need: HTML templates and layouts (templates/), CSS/fonts/images in webroot/, PagesController and its test, AjaxView, and CakePHP branding assets.
Retain only the minimal webroot/index.php entry point.
Motivation
The skeleton is intended for API-only applications but currently ships the full HTML infrastructure from the standard cakephp/app skeleton. This is the foundational change that makes the skeleton actually API-focused.
Scope
- Remove
templates/ directory (layouts, elements, pages, email, error templates)
- Remove
webroot/css/, webroot/font/, webroot/img/
- Remove
PagesController and PagesControllerTest
- Remove
AjaxView
- Keep
webroot/index.php
Summary
Remove everything an API skeleton doesn't need: HTML templates and layouts (
templates/), CSS/fonts/images inwebroot/,PagesControllerand its test,AjaxView, and CakePHP branding assets.Retain only the minimal
webroot/index.phpentry point.Motivation
The skeleton is intended for API-only applications but currently ships the full HTML infrastructure from the standard
cakephp/appskeleton. This is the foundational change that makes the skeleton actually API-focused.Scope
templates/directory (layouts, elements, pages, email, error templates)webroot/css/,webroot/font/,webroot/img/PagesControllerandPagesControllerTestAjaxViewwebroot/index.php