Top "Cakephp-3.0" questions

Questions about the 3.0.x branch of the CakePHP MVC framework.

installing cakephp 3 manually, without composer

I need to install CakePHP 3 in an old-fashioned upload-unzip-run way. The archive I've downloaded from cakephp/cakephp/tags does not …

php cakephp installation composer-php cakephp-3.0
Cakephp 3.0 - Load Model inside Component

How to load a Model inside a Component in Cakephp 3.0? Before(in Cakephp 2) you could use $Model = ClassRegistry::init($modelName); $…

cakephp-3.0
How to filter by conditions for associated models?

I have a belongsToMany association on Users and Contacts. I would like to find the Contacts of the given User. …

cakephp associations conditional-statements cakephp-3.0 query-builder
How to create a `IN` clause in CakePHP query?

How do you make it where in clause in new CakePHP? I'm trying: $restaurants->find()->where(['id' =&…

cakephp cakephp-3.0 query-builder
CakePHP 3.0 not running without intl extension

I am trying to install and run a CakePHP 3.0 project on a shared host. However, CakePHP 3.0 requires php-intl extension, but …

php cakephp cakephp-3.0 intl
How to use beforeSave in CakePHP 3? $event, $entity and $options must be always filled?

I'm inside "PostsTable.php" I'm trying to get form data to treat image files. In CakePHP 2, I used to do: …

cakephp cakephp-3.0
Set timezone doesn't change displayed time in CakePHP 3.x

I am using CakePHP 3.x and have an issue with hours. I have correct hours in my database (MySQL). When …

cakephp timezone cakephp-3.0
How do I enable the intl extension in CakePHP?

I am using CakePHP 3 and MAMP Pro server for my project. When I am trying to bake the cake, this …

cakephp-3.0 php-7 php-extension mamp-pro intl
Composer throws error "Could not find package with stability stable."

I have tried to publish a project with composer. The project resides at github, and are published through packagist.org. …

php composer-php cakephp-3.0
How can I use my own external class in CakePHP 3.0?

I am creating an application in CakePHP 3.0, in this application I want to draw SVG graphs of data using a …

php cakephp cakephp-3.0