This example shows you how to get the count of records within the last 7 days. In our table, we have the full date and time; This example shows all records for a complete day, grouped by day.
MySql
This example shows you how to get the reverse route for a controller/action in CakePHP4.
CakePHP4
This example shows you how to reference another component from within a separate component in CakePHP 4. For example, you can call functions in Component A from Component B.
CakePHP, Components
Including Vendor Files (e.g. Authorize.net) in CakePHP 3
CakePHP, CakePHP3
This example shows you how to randomize results returned in MySql / MariaDB
MySql / MariaDB
Simple example of getting locations from Square, using CURL & Get with PHP.
This describes how to assign variables so you can use them later in views or layouts.
CakePHP4, CakePHP
Components are re-usable bits of code you can call anywhere throughout your application.
CakePHP, CakePHP4
This example shows you how to change the layout in CakePHP4
CakePHP, CakePHP4, CakePHP3
These examples describe how to install the AWS SDK for PHP with composer, and utilize S3.
cakephp4, AWS, CakePHP
CakePHP 4 Using an app.php or app_local.php Variable in Components or Controllers
CakePHP
These examples show the differences in inserting records when in CakePHP3 & CakePHP4.
CakePHP, CakePHP3, CakePHP4
If you have been using GMail's "less secure" feature to send SMTP emails from your website, you've probably noticed as of May 30, 2022 that it's no longer working. here's a solution.
Support
Use .htaccess to Access Your Pages Without Using an Extension
Apache
Generate a random token or string of characters & numbers of any given length.
PHP
Execute any custom parameterized query or SQL statement in CakePHP.
CakePHP, CakePHP3, CakePHP4
Some of the top free places to find icons for your websites & development.
Free, Website Tools
CakePHP4 Mailer Usage - Gmail - Email Transport Example with CakePHP 4.
CakePHP, CakePHP4
This article describes my trek with Notion, and how I use it / recommend it for productivity, managing tasks and notes.
Productivity
Validate Existing Password when Changing Password in CakePHP 4
CakePHP4