DevArticles.In
  • Home
  • Hindi to Unicode
  • PHP Debug
  • CakePHP Captcha
  • How-To
  • About
  • Contact

Category: CakePHP

Everything you need to know about CakePHP Migrations

November 19, 2019November 19, 2019 Amoljit KaurCakePHPLeave a Comment on Everything you need to know about CakePHP Migrations

Migrations is a powerful feature in CakePHP. It gives you a tool to create or import database structure and data through command line interface. CakePHP Migrations is installed by default when you install CakePHP.

CakePHP Captcha Demo is now available via Github & Composer

October 22, 2019October 22, 2019 Arvind KumarCakePHPLeave a Comment on CakePHP Captcha Demo is now available via Github & Composer

CakePHP Captcha plugin for CakerPHP 3 is a very useful addition to your CakePHP app to keep submissions on your website spam free. CakerPHP 3 Captcha plugin can be installed in simple steps using composer or can be placed in…

Read More→

Be careful while using Containable behavior with deep associations in CAKEPHP 2

September 26, 2019September 26, 2019 Amoljit KaurCakePHPLeave a Comment on Be careful while using Containable behavior with deep associations in CAKEPHP 2

Containable behavior is used to get selected associated records in CAKEPHP 2. It helps to speed up process of retrieving records by fetching associated data at the same time. But for deep associations from level 2 (equal to recursive =2)…

Read More→

Cakephp 3.6 ajax pagination and sorting with jQuery

August 21, 2018August 23, 2018 Arvind KumarCakePHPLeave a Comment on Cakephp 3.6 ajax pagination and sorting with jQuery

Cakephp comes with inbuilt pagination and sorting component and helper which work well in any app. However in order to make data tables ajax driven one might want to look at alternative solutions. One such solution is Cakephp Datatablse Plugin…

Read More→

CakePHP Captcha Plugin

August 16, 2018August 16, 2018 Arvind KumarCakePHP1 Comment on CakePHP Captcha Plugin

CakePHP Captcha plugin by me is one of the most used and trusted CakePHP captcha support since 2009. I have maintained CakePHP Captcha support throughout these years and am still committed to maintain it as long others and I found…

Read More→

CakePHP captcha support for CakePHP 2.x and 3.x

August 1, 2018August 8, 2019 Arvind KumarCakePHP39 Comments on CakePHP captcha support for CakePHP 2.x and 3.x

Here is the latest CakePHP Captcha support for CakePHP Version upto 3.x. Download for CakePHP 3.x Download for CakePHP 2.x NOTE:For best Image Captcha results this component requires GD and Freetype support enabled. Please check your phpinfo() to know whether your server…

Read More→

Saving multi-level associated data in CakePHP

June 1, 2018August 16, 2018 Arvind KumarCakePHPLeave a Comment on Saving multi-level associated data in CakePHP

In CakePHP 2 we had hasMany, saveMany, saveAssociated model methods or functions to save associated data. These functions works great with straight associations but to make them work for saving multi-level association data you need a trick.

php composer update command and status: 404 Not Found on Linux

October 26, 2017August 16, 2018 Arvind KumarCakePHP, Linux/UnixLeave a Comment on php composer update command and status: 404 Not Found on Linux

Today I tried to update Cakephp by running php composer update on my server. I tried to follow the commands given at https://getcomposer.org/download/ under Command-line installation but it failed at the very first go. The command line code was:

Gmail SMTP in CakePHP not working? Here is a possible fix!

October 25, 2017August 16, 2018 Arvind KumarCakePHPLeave a Comment on Gmail SMTP in CakePHP not working? Here is a possible fix!

While working in a CakePHP application in my local computer I usually use Gmail SMTP in CakePHP to send emails from my application which are of course test emails. Previously it worked just fine with the basic settings (as specified…

Read More→

How to use Router::url() to generate an URL in CakePHP 3

February 8, 2017February 8, 2017 Arvind KumarCakePHPLeave a Comment on How to use Router::url() to generate an URL in CakePHP 3

In CakePHP 2.x we used Router::url([]) to generate URL in any file. It works almost same with two major differennces though. The first one is that we have to call Router class manually wherever we want to use this function.

Posts navigation

1 2 … 7 Next

Recent Posts

  • How to change search highlight or selection colour in Sublime Text 3
  • ec2-user, apache and WordPress user:group permissions on Amazon Linux 2
  • Searching array elements with regex in Mongodb collection
  • Transfer files via ssh from your server to Dropbox
  • Making new object property reactive in Vue.js
Copyright © All rights reserved.
Blog Kit by WP Charms