CakePHP 4 - Implementing redirects with encrypted URL's

Опубликовано: 17 Июнь 2026
на канале: James McDonald
336
11

Includes:
How to limit the number of records your index view displays with the $paginate property
Using the console supplied by the cakephp/repl plugin to create an encryption key
Using Security::encrypt and Security::decrypt
Embedding an encrypted URL in a form & POSTing it back to the server
Catching Errors and Exceptions when using Security::decrypt

Captured on Ubuntu 22.04 using SimpleScreenRecorder. There is screen scroll jumping bug with VSCode on Ubuntu.