PHPackages                             loadsys/cakephp-loadsys-theme - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. loadsys/cakephp-loadsys-theme

ActiveCakephp-plugin[Templating &amp; Views](/categories/templating)

loadsys/cakephp-loadsys-theme
=============================

CakePHP 3.x bake generation theme that matches Loadsys' code sniffer standards.

1.1.0(9y ago)212.2k[12 issues](https://github.com/loadsys/CakePHP-LoadsysTheme/issues)[1 PRs](https://github.com/loadsys/CakePHP-LoadsysTheme/pulls)MITPHPPHP &gt;=5.4.16

Since Jun 29Pushed 9y ago11 watchersCompare

[ Source](https://github.com/loadsys/CakePHP-LoadsysTheme)[ Packagist](https://packagist.org/packages/loadsys/cakephp-loadsys-theme)[ Docs](https://github.com/loadsys/CakePHP-LoadsysTheme)[ RSS](/packages/loadsys-cakephp-loadsys-theme/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

Loadsys Bake Theme for CakePHP
==============================

[](#loadsys-bake-theme-for-cakephp)

[![Latest Version](https://camo.githubusercontent.com/66b1fd7541038e9d99b9224d75cecd3d4d409f7d38a02f92cd2d5ce6a4e87f4c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c6f61647379732f43616b655048502d4c6f61647379735468656d652e7376673f7374796c653d666c61742d737175617265)](https://github.com/loadsys/CakePHP-LoadsysTheme/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/8e76a65b5321e9a101b6099c18d4d3634839df5bbb7d9b6617804523fc311cc6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f61647379732f63616b657068702d6c6f61647379732d7468656d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/loadsys/cakephp-loadsys-theme)

A CakePHP 3.x bake generation theme that matches Loadsys' code sniffer standards. It's designed to dovetail with our [CakePHP App Skeleton](https://github.com/loadsys/CakePHP-Skeleton).

Requirements
------------

[](#requirements)

- CakePHP 3.x

Installation
------------

[](#installation)

```
$ composer require loadsys/cakephp-loadsys-theme:~1.0
```

*This plugin includes Bake in its own composer dependencies, so when using this theme you do not need to include it separately in your projects.*

Usage
-----

[](#usage)

- Add this plugin to your application by adding this line to your bootstrap.php

```
CakePlugin::load('LoadsysTheme', ['bootstrap' => true, 'routes' => false]);
```

- To use when baking, use the CLI option `--theme LoadsysTheme` like so

```
$ ./vendor/bin/cake bake all --theme LoadsysTheme name-of-thing
```

Notable Changes
---------------

[](#notable-changes)

### Tabs instead of spaces

[](#tabs-instead-of-spaces)

Loadsys has chosen to ignore the requirement of PSR-2 to use spaces for indenting. We've found tabs to be more convenient, and we're keeping them. If you disagree, that's fine -- this plugin isn't going to be much use to you.

### K&amp;R/1TBS Braces

[](#kr1tbs-braces)

We're also sticking to [K&amp;R style](https://en.wikipedia.org/wiki/Indent_style#K.26R_style) braces for everything.

```
	public function foo() {
		echo 'hi';
	}
```

### AppTable

[](#apptable)

The core team believes that using AppController and AppView continues to provide significant value to the framework ([thread](https://github.com/cakephp/cakephp/issues/4421#issuecomment-53759646)), but does not feel that hold true for AppTable (or AppEntity). We disagree.

`Table` classes baked by this plugin extend from a parent \[App\]Table class (conveniently still called `Table` thanks to PHP namespaces.) The [Table](https://github.com/loadsys/CakePHP-Skeleton/tree/master/src/Model/Table/Table.php) class it depends upon is provided from the [Loadsys CakePHP Skeleton](https://github.com/loadsys/CakePHP-Skeleton). As in Cake 2, it's safe to completely ignore this file, provided it is at least present in your app. If you need a Table class baked in which you wish to change this, you must either bake using Cake's default theme or modify the classes after baking them.

Additionally, because our `table.ctp` template assumes that our Skeleton's base Table class will be used, we suppress certain parts of the table baking process. The \[App\]Table class sets up the primary key, adds the Timestamp and CreatorModifier behaviors, defines two default associations to Creators and Modifiers in the Users table, and suppresses validation for the 5 related fields. It would therefore be redundant and defeat the purpose of the based Table class to bake tables that repeated these steps, so they are skipped.

Contributing
------------

[](#contributing)

### Code of Conduct

[](#code-of-conduct)

This project has adopted the Contributor Covenant as its [code of conduct](CODE_OF_CONDUCT.md). All contributors are expected to adhere to this code. [Translations are available](http://contributor-covenant.org/).

### Reporting Issues

[](#reporting-issues)

Please use [GitHub Isuses](https://github.com/loadsys/CakePHP-LoadsysTheme/issues) for listing any known defects or issues.

### Development

[](#development)

When developing this plugin, please fork and issue a PR for any new development.

### Running Tests

[](#running-tests)

- `vendor/bin/phpunit --coverage-html=tmp/coverage/`
- `vendor/bin/phpcs`

License
-------

[](#license)

[MIT](https://github.com/loadsys/CakePHP-LoadsysTheme/blob/master/LICENSE.md)

Copyright
---------

[](#copyright)

[Loadsys Web Strategies](http://www.loadsys.com) 2016

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 58.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~178 days

Total

3

Last Release

3620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58c6913a72757502a801ebc71f995eb1c4f7a53a7de7314a20b9a1f1d6131b60?d=identicon)[jtyost2](/maintainers/jtyost2)

![](https://www.gravatar.com/avatar/2380c6ad9546e6c8ce5c5b641f5a4bce0c4d3e7f3a377dc287936dff50cc3064?d=identicon)[ricog](/maintainers/ricog)

---

Top Contributors

[![beporter](https://avatars.githubusercontent.com/u/637270?v=4)](https://github.com/beporter "beporter (18 commits)")[![justinyost](https://avatars.githubusercontent.com/u/85320?v=4)](https://github.com/justinyost "justinyost (12 commits)")[![freedomfflow](https://avatars.githubusercontent.com/u/1050740?v=4)](https://github.com/freedomfflow "freedomfflow (1 commits)")

---

Tags

plugincakephptemplatesbake

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/loadsys-cakephp-loadsys-theme/health.svg)

```
[![Health](https://phpackages.com/badges/loadsys-cakephp-loadsys-theme/health.svg)](https://phpackages.com/packages/loadsys-cakephp-loadsys-theme)
```

###  Alternatives

[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36162.8k2](/packages/dereuromark-cakephp-setup)[backstageel/cakephp-gentelella-theme

CakePHP 3.x Gentelella Theme.

447.8k1](/packages/backstageel-cakephp-gentelella-theme)[dereuromark/cakephp-ajax

A CakePHP plugin that makes working with AJAX a piece of cake.

55255.9k1](/packages/dereuromark-cakephp-ajax)[dereuromark/cakephp-feed

A CakePHP plugin containing a RssView to generate RSS feeds.

1353.7k1](/packages/dereuromark-cakephp-feed)[dereuromark/cakephp-meta

A CakePHP plugin for SEO meta tags, OpenGraph and Twitter Cards

1012.9k1](/packages/dereuromark-cakephp-meta)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
