Skip to content
CODE THE PIXEL

All tutorials

Practical, tested walkthroughs. Filter by topic or level, or sort by what readers found most useful.

CakePHP

CakePHP 4 Audit Trail Using AuditStash Plugin

This plugin adds an "audit trail" to any of your Table classes in your application, allowing the web applications to record the creation, change, or deletion of any table's entities. In theory, it will store the old data before replacing it with the new data or content.

3 min read

CakePHP

CakePHP 4 Progressive Web Apps

Progressive Web Apps make app-like experiences in the browser. A progressive web application (PWA), sometimes known as a progressive web app, is a sort of web-based application software constructed utilising popular web technologies such as HTML, CSS, JavaScript, and WebAssembly.

3 min read

CakePHP

CakePHP 4 HTML Minify Plugin

Minify HTML source code for CakePHP 4. Minification enhances site performance and accessibility significantly, which immediately translates into a better user experience.

2 min read

CakePHP

CakePHP 4 Audit Log Plugin

An audit trail (audit logs) is a chronological log meant to capture any changes made to the electronic contents. The logs are used to be evidence for any changes that affected the contents.

3 min read

CakePHP

CakePHP 4 ActivityLogger plugin

Activity logging is one of the very useful features in web applications since it can provide a track of activities in the web content. CakePHP Activity Logger Plugin enables the developer or administrator to log the activities and changes to the web content.

3 min read

CakePHP

CakePHP 4 Force DebugKit in Live Server

DebugKit adds a debugging toolbar and better-debugging capabilities to CakePHP apps. It allows you to rapidly see configuration data, log messages, SQL queries, and timing statistics for your application.

1 min read

CakePHP

CakePHP 4 Create, Write and Read Session Data

On top of PHP's native session extension, CakePHP adds a wrapper and a suite of utility functions. Sessions enable you to identify and keep persistent data for individual users while identifying unique users across requests.

2 min read

CakePHP

CakePHP 4 Auth Using CakeDC User Plugin

Authentication and authorization are critical components in the protection of online application content. They validate the user's identification and give access to the resources.

8 min read

CakePHP

CakePHP 4 Captcha Plugin

Applying CakePHP Captcha Plugin to web application project. Captcha is a simple solution to block unwanted bot responses to your public available form.

3 min read

CakePHP

CakePHP 4 Duplicate Save to Associated Table

Saving and duplicating data into the associated table? This quick tutorial will show how to save data and duplicate it into the associated table. For this tutorial, I set 2 tables, i) users and ii) clones where the input process will be executed in the table users and duplicate into table clones.

2 min read

CakePHP

CakePHP 4 Sum column value

This tutorial is a very short one. How to sum the value from a column in a table? Let say you’ve table stocks [id, product, brand, quantity]. To sum the quantity value, you can apply the following code to your controller.

1 min read