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

Authentication: Auth Component (Basic)

This tutorial will show how to use the Auth component to create an authentication in CakePHP. Download the CakePHP (refer here) and create your database with the users table. The compulsory field for this tutorial is id, username, password, email, created and modified. Bake the users table and you are ready for the next step. 

Add a comment

Authentication

This tutorial will guide you to create authentication for your CakePHP 4 project. The CakePHP Authentication plugin is used in this tutorial. This tutorial covers the basic authentication process (login, logout, hashing password). You'll need a composer installed in your computer to download the Authentication plugin.

Add a comment

Console Command: CRUD Bake

CRUD creation using console commands is one of my favourite features in CakePHP. This tutorial will guide you on how to generate CRUD based on the database using console commands. Console applications are ideal for handling a variety of background & maintenance tasks that leverage your existing application configuration, models, plugins and domain logic.

Add a comment

CakePHP 4 Installation & Configuration

This tutorial will guide you to install the CakePHP 4 using composer. Composer is a dependency manager. All developer is recommended to use composer as it is easier to maintain the codes and the framework package compared to the .zip archive. Database configuration also included at the end of this tutorial.

Add a comment

Page 3 of 7