For CakePHP2.x Awesome CakePHP Check out this all new awesome CakePHP list: awesome-cakephp Star it, fork it, enhance it ๐ Note the cake3 branch that will proabably soon be filled rapidly with all new shiny CakePHP3 resources and plugins. There…
Author: Mark
Migrating SVN apps to Git and Composer
Just recently I had to move a few remaining legacy CakePHP2.x apps from SVN to Git+Composer. This serves as a short how-to. You can also use this post if you are migrating a git app to a composer based git…
HTML, Markdown or BBCode?
Or something different? Or just plain text maybe? "User input is hard" There are pretty prejudiced blog posts in favor or against the usage of BBCode for blog posts, comments etc. Here for instance – continuing on this second post….
CakePHP 2.5 arrived + CakePHP Tips 2014
You probably read my last tip sections. And I started to move some of them to my sandbox app. But once in a while it might also be nice to publish a few selected tips, here as well. Oh, and…
Update your Server to PHP5.4+
With many new features and more speed it makes sense to upgrade to PHP5.4. It is also a requirement when you start using CakePHP3.0 (the dev releases) or code that contains short array syntax. So the sooner you upgrade the…
Generating PDFs with CakePHP
The recommended approach is to use the CakePHP plugin CakePdf for this. With that plugin it is "a piece of cake" to output HTML views as PDF or render them to files for download/emailing etc. You can obviously just use…
Using Composer
There are quite a few good articles on this topic, already. Especially on how to leverage it for CakePHP projects. See using-composer-with-cakephp-2-dot-x or maybe installing-cakephp-with-composer So I won’t go into detail too much. It is worth noting that composer really…
Continuous Integration with Jenkins
CI with Jenkins and GitHub is especially interesting for private repositories, as CI with Travis is mainly for free GitHub repos (unless you have Travis Pro, of course). But since Jenkins is OpenSource and free, it might make sense to…
CakePHP and NamedScope for DRY conditions
A behavior for CakePHP 2.x Background I stumbled upon this fork and SimpleScope. The latter has the disadvantage of redundancy in the scope conditions when used in multiple find configs. The first was pretty much how Rails’ scopes work. But…