CakePHP 4 Search Plugin

This tutorial will show basic usage on how to use the search plugin in CakePHP 4. Search has become an essential tool in any web information system. There are many methods to execute search function in a web information system. Using search plugin will save more time and easier. Let assume that in this tutorial, I've users table with attributes (id, name, email, role). The search function is required to search based on name, email and role.

Add a comment

CakePHP 4 Concatenation

In formal language theory and computer programming, concatenation is the operation of joining character strings end-to-end. For example, the concatenation of "snow" and "ball" is "snowball". The most popular concatenation in programming is combining first and last name field to form a full name. This tutorial show the code of concatenation in CakePHP 4.

Add a comment

CakePHP 4 File Upload Using Proffer Plugin

This tutorial shows how to upload image or file in CakePHP 4 using Proffer plugin. This plugin allows images and files to be uploaded and includes a bundled image library for generating thumbnails from source images. You can also rename the uploaded images. The reference table used in this tutorial is users table which contains id, username, avatar and avatar_dir. The avatar (profile image) will save the image filename and avatar_dir will save the path for the image (basically it based on the record ID).

Add a comment

Authentication Using Auth Component (Advance)

This tutorial will show how to create an authentication using the Auth component for CakePHP 4. It includes the process of password hashing, registration with email verification, multi-field username/email login, forgot password, reset password and status management. 

Add a comment

Page 1 of 5