I have tried using this tutorial for creating jwt token. But many functions of friendofcrud plugin doesn’t work for me. I am using PHP 7.2 in the local server which says many of the functions are deprecated.

Can anyone help how to use CakePHP crud instead of the plugin.


whats your cakephp version? You need fix the deprecated functions with migration guide:


$this->loadComponent('Auth', [
            'storage' => 'Memory',
            'authenticate' => [
                'Form' => [
                    'scope' => ['' => 1] //this is deprecated


I am using Cakephp version 3.6