DB tools Some useful database commands have been added to Setup plugin 3.8.0+: bin/cake db init This will create the (default) database, if it does not yet exist. Setting up a fresh project or local version of it, the dev…
Year: 2025
IdeHelper plugin on steroids
Pretty much 5 years ago I blogged about leveraging your IDE. In this small update here I want to showcase a very handy new feature: Live annotation updates in your code base while you bake, develop and customize. Note: The…
eInvoicing in PHP
The eInvoice – or "E-Rechnung" in German terminology – is a thing. I didn’t know until recently, when I had to start implementing a process here for a PHP backend. Context The eInvoice should already be used by businesses as…
One time login links in CakePHP
Sometimes also called magic links, these login links provide a way for a user to log in without the need of password entering. Basic workflow Instead of a "password reset" button to send you a mail to confirm your password…
TinyAuth and CakePHP authorization plugin
Part 2 of 2. We continue on the auth topic of the previous post. Let’s talk ACL In this second post, we’ll dive into role-based access and how to achieve it easily and quickly. We use the authentication plugin by…
TinyAuth and CakePHP authentication plugin
Over 13 years ago I wrote about my TinyAuth plugin as enhancement to the core Auth component, at the time the state of the art auth tool you needed for a quick auth setup in Cake apps. Lets revisit that…