# Plugins

**URL:** https://discourse.cakephp.org/c/plugins/6.md?page=1

[Latest](https://discourse.cakephp.org/latest.md) · [Categories](https://discourse.cakephp.org/categories.md) · [Tags](https://discourse.cakephp.org/tags.md)

**Page:** 2

---

## [Load a plugin in a new custom plugin](https://discourse.cakephp.org/t/load-a-plugin-in-a-new-custom-plugin/10329)

<div class="topic-metadata">

**Author:** [@javi](https://discourse.cakephp.org/u/javi)\
**Replies:** 3\
**Last updated:** [May 19, 2023, 9:48pm UTC](https://discourse.cakephp.org/t/load-a-plugin-in-a-new-custom-plugin/10329 "2023-05-19T21:48:38Z")

</div>

It is possible to load a 3rd party plugin (like FriendsOfCake/search) in my new custom plugin? How can I do that?

---

## [Websocket / Cakephp 4](https://discourse.cakephp.org/t/websocket-cakephp-4/11186)

<div class="topic-metadata">

**Author:** [@Herzberg](https://discourse.cakephp.org/u/Herzberg)\
**Replies:** 23\
**Last updated:** [May 8, 2023, 3:05pm UTC](https://discourse.cakephp.org/t/websocket-cakephp-4/11186 "2023-05-08T15:05:12Z")

</div>

Hi, how can I get access to my user-id in /src/MyWebsocket.php? In src/controller i can just get access to it with $this-\>Authentication-\>getIdentity()-\>getIdentifier(); ? I load the Plugins in my Application.php with :…

---

## [ORM, TableLocator and plugins](https://discourse.cakephp.org/t/orm-tablelocator-and-plugins/11131)

<div class="topic-metadata">

**Author:** [@lspaczynski](https://discourse.cakephp.org/u/lspaczynski)\
**Replies:** 1\
**Last updated:** [April 16, 2023, 11:52am UTC](https://discourse.cakephp.org/t/orm-tablelocator-and-plugins/11131 "2023-04-16T11:52:15Z")

</div>

Hello all! I’m kind a new in CakePHP, last time I’ve used it was more than 10 years ago. Im creating a simple app with 2 plugins, lets call them: Plugin1 Plugin2 Both of plugins are using the same database table, let…

---

## [Authentication 2.0 Plugins](https://discourse.cakephp.org/t/authentication-2-0-plugins/11044)

<div class="topic-metadata">

**Author:** [@devtun](https://discourse.cakephp.org/u/devtun)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 3:56am UTC](https://discourse.cakephp.org/t/authentication-2-0-plugins/11044 "2023-03-15T03:56:50Z")

</div>

In Auth component we use Public function beforeFilter(Envent $event){ parent::beforeFilter(event); $this-\>Auth-\>deny(actions); } To deny access to specific action in a controller. How do i achieve this same operati…

---

## [CakePHP Task Scheduler](https://discourse.cakephp.org/t/cakephp-task-scheduler/11041)

<div class="topic-metadata">

**Author:** [@Rods](https://discourse.cakephp.org/u/Rods)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 2:29pm UTC](https://discourse.cakephp.org/t/cakephp-task-scheduler/11041 "2023-03-13T14:29:25Z")

</div>

hello everyone!! do you know any task scheduler plugin for cakephp 4?

---

## [Maintenance plugin for cakephp 4](https://discourse.cakephp.org/t/maintenance-plugin-for-cakephp-4/10983)

<div class="topic-metadata">

**Author:** [@YesNo](https://discourse.cakephp.org/u/YesNo)\
**Replies:** 2\
**Last updated:** [February 25, 2023, 7:10pm UTC](https://discourse.cakephp.org/t/maintenance-plugin-for-cakephp-4/10983 "2023-02-25T19:10:36Z")

</div>

Hello. Can you please recommend me a maintenance plugin for cakephp 4? I used Wrench 3.X in cakep 3.X… Or can this be used in cakephp 4.4 as well?

---

## [Migrations - foreign key Problem](https://discourse.cakephp.org/t/migrations-foreign-key-problem/10884)

<div class="topic-metadata">

**Author:** [@pedde07](https://discourse.cakephp.org/u/pedde07)\
**Replies:** 2\
**Last updated:** [January 6, 2023, 1:09pm UTC](https://discourse.cakephp.org/t/migrations-foreign-key-problem/10884 "2023-01-06T13:09:58Z")

</div>

Hello CakePHP community! My Problem Since some weeks a problem with my migrations appeared. About three months ago I created the initial migrations file. Now when I try to set up a new developing environment and exec…

---

## [\[plugin cakephp-upload\] Upload\_err](https://discourse.cakephp.org/t/plugin-cakephp-upload-upload-err/10686)

<div class="topic-metadata">

**Author:** [@Edu](https://discourse.cakephp.org/u/Edu)\
**Replies:** 3\
**Last updated:** [October 18, 2022, 2:29pm UTC](https://discourse.cakephp.org/t/plugin-cakephp-upload-upload-err/10686 "2022-10-18T14:29:15Z")

</div>

Hi guys, how are you? First, sorry for my English, I’m Brazilian and I’m learning English and CakePHP. So, i have an application and i need upload multiple photos. For this i use this plugin: GitHub - fm-labs/cakephp…

---

## [Skip Request Authorization Middleware](https://discourse.cakephp.org/t/skip-request-authorization-middleware/9174)

<div class="topic-metadata">

**Author:** [@ljalessio](https://discourse.cakephp.org/u/ljalessio)\
**Replies:** 1\
**Last updated:** [July 2, 2022, 7:55pm UTC](https://discourse.cakephp.org/t/skip-request-authorization-middleware/9174 "2022-07-02T19:55:05Z")

</div>

Hi, How Skip Authorization check ($this-\>Authorization-\>skipAuthorization()) when Request Authorization Middleware is used? I have a system in Cakephp 4x based on the user role and I use the Authorization Middleware, b…

---

## [MixerApi v1.1.0 released, now includes a JWT Auth plugin](https://discourse.cakephp.org/t/mixerapi-v1-1-0-released-now-includes-a-jwt-auth-plugin/10408)

<div class="topic-metadata">

**Author:** [@cnizzardini](https://discourse.cakephp.org/u/cnizzardini)\
**Replies:** 0\
**Last updated:** [May 21, 2022, 2:40pm UTC](https://discourse.cakephp.org/t/mixerapi-v1-1-0-released-now-includes-a-jwt-auth-plugin/10408 "2022-05-21T14:40:36Z")

</div>

Hi, I released (a few days ago) MixerApi v1.1.0 which includes a new JWT Auth plugin (GitHub - mixerapi/jwt-auth: A JWT authentication plugin for CakePHP \[read-only\]). This supports both HMAC and RSA with JWKS. You migh…

---

## [Cakephp 4 Authorization](https://discourse.cakephp.org/t/cakephp-4-authorization/8401)

<div class="topic-metadata">

**Author:** [@bugezzy](https://discourse.cakephp.org/u/bugezzy)\
**Replies:** 17\
**Last updated:** [October 14, 2020, 6:52pm UTC](https://discourse.cakephp.org/t/cakephp-4-authorization/8401 "2020-10-14T18:52:07Z")

</div>

What is the best method for authorizing only by action and not by object or entity? Example, I have an action that touches several models that that user may not normally get access to. It seems like the new authorization…

---

## [Excel file data insert to Mysql Database cakephp4](https://discourse.cakephp.org/t/excel-file-data-insert-to-mysql-database-cakephp4/10344)

<div class="topic-metadata">

**Author:** [@sanjay](https://discourse.cakephp.org/u/sanjay)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 4:15pm UTC](https://discourse.cakephp.org/t/excel-file-data-insert-to-mysql-database-cakephp4/10344 "2022-04-28T16:15:25Z")

</div>

How to insert excel file data into Mysql DB in cakephp4

---

## [Remember me function not working](https://discourse.cakephp.org/t/remember-me-function-not-working/10228)

<div class="topic-metadata">

**Author:** [@atlet](https://discourse.cakephp.org/u/atlet)\
**Replies:** 10\
**Last updated:** [March 16, 2022, 2:23pm UTC](https://discourse.cakephp.org/t/remember-me-function-not-working/10228 "2022-03-16T14:23:40Z")

</div>

I crated a new project with CakePHP 4.2 and cakedc/users plugin (9.2). If I login and thick box remember me, cookie is crated but it’s not working properly as I get logged out in about an hour (session duration). Any hin…

---

## [Integration of RSS/ATOM Library "SimplePie"](https://discourse.cakephp.org/t/integration-of-rss-atom-library-simplepie/10211)

<div class="topic-metadata">

**Author:** [@slnpcake](https://discourse.cakephp.org/u/slnpcake)\
**Replies:** 3\
**Last updated:** [March 8, 2022, 1:23pm UTC](https://discourse.cakephp.org/t/integration-of-rss-atom-library-simplepie/10211 "2022-03-08T13:23:21Z")

</div>

Is there a new integration or workaround for getting latest SimplePie RSS/ATOM parser/generator running in CakePHP 4.x? Of course cakephp has the xml dataview, but there is more in feed parsing and delivering… There we…

---

## [Can not install datatable plugin](https://discourse.cakephp.org/t/can-not-install-datatable-plugin/10208)

<div class="topic-metadata">

**Author:** [@nicocins](https://discourse.cakephp.org/u/nicocins)\
**Replies:** 3\
**Last updated:** [March 7, 2022, 7:29pm UTC](https://discourse.cakephp.org/t/can-not-install-datatable-plugin/10208 "2022-03-07T19:29:21Z")

</div>

Dear, I m trying to install datatables plugin to use dynamic search input. I am using cakephp4 and I m using this command to download datatable plugin: composer require wsssoftware/cakephp-datatables:^4.0 I got this …

---

## [Online Status from Authentication Plugin](https://discourse.cakephp.org/t/online-status-from-authentication-plugin/10183)

<div class="topic-metadata">

**Author:** [@Herzberg](https://discourse.cakephp.org/u/Herzberg)\
**Replies:** 5\
**Last updated:** [February 27, 2022, 4:03am UTC](https://discourse.cakephp.org/t/online-status-from-authentication-plugin/10183 "2022-02-27T04:03:05Z")

</div>

Hi, I am using the CakePHP Authentication Plugin. $this-\>addPlugin(‘Authentication’); $this-\>addPlugin(‘Authorization’); Is any way to use this Plugin to show your online/login status also to others? best,

---

## [Announcing v1.0.0 release of MixerAPI](https://discourse.cakephp.org/t/announcing-v1-0-0-release-of-mixerapi/10084)

<div class="topic-metadata">

**Author:** [@cnizzardini](https://discourse.cakephp.org/u/cnizzardini)\
**Replies:** 2\
**Last updated:** [January 16, 2022, 9:57pm UTC](https://discourse.cakephp.org/t/announcing-v1-0-0-release-of-mixerapi/10084 "2022-01-16T21:57:53Z")

</div>

Hey everyone, I’ve been working on this plugin to streamline API development for CakePHP projects. It’s component-based so you can pick and choose what you need or install the kitchen sink. If you’ve used (or heard of) A…

---

## [It's possible to use C# in cakephp 2.x?](https://discourse.cakephp.org/t/its-possible-to-use-c-in-cakephp-2-x/10057)

<div class="topic-metadata">

**Author:** [@bigcouve](https://discourse.cakephp.org/u/bigcouve)\
**Replies:** 6\
**Last updated:** [January 10, 2022, 8:03am UTC](https://discourse.cakephp.org/t/its-possible-to-use-c-in-cakephp-2-x/10057 "2022-01-10T08:03:06Z")

</div>

I would like to know if it’s possible use C# with cakephp 2.x, if yes, how?

---

## [Orientation selection in dompdf cake 4.0.10](https://discourse.cakephp.org/t/orientation-selection-in-dompdf-cake-4-0-10/10054)

<div class="topic-metadata">

**Author:** [@Klaus](https://discourse.cakephp.org/u/Klaus)\
**Replies:** 0\
**Last updated:** [January 6, 2022, 10:39am UTC](https://discourse.cakephp.org/t/orientation-selection-in-dompdf-cake-4-0-10/10054 "2022-01-06T10:39:21Z")

</div>

Hi all, I was using dompdf for years in cake 3.7.9. During migration to cake 4.0.10 the change of orientation from landscape to portrait and back is not recognized on controller level. Changing the orientation in bootstr…

---

## [DebugKit 4 in CakePhp4](https://discourse.cakephp.org/t/debugkit-4-in-cakephp4/9950)

<div class="topic-metadata">

**Author:** [@stefan.hegenbart](https://discourse.cakephp.org/u/stefan.hegenbart)\
**Replies:** 16\
**Last updated:** [December 7, 2021, 7:25pm UTC](https://discourse.cakephp.org/t/debugkit-4-in-cakephp4/9950 "2021-12-07T19:25:10Z")

</div>

Hi everyone, I’m using CakePHP4 and try to enable DebugKit. I followed the instructions in the cookbook and installed DebugKit via php composer.phar require --dev cakephp/debug\_kit "~4.0" I have created a ‘debug\_kit’ …

---

## [API with wrong credentials redirects to html login form](https://discourse.cakephp.org/t/api-with-wrong-credentials-redirects-to-html-login-form/9913)

<div class="topic-metadata">

**Author:** [@atlet](https://discourse.cakephp.org/u/atlet)\
**Replies:** 1\
**Last updated:** [November 24, 2021, 7:52am UTC](https://discourse.cakephp.org/t/api-with-wrong-credentials-redirects-to-html-login-form/9913 "2021-11-24T07:52:03Z")

</div>

I created a new application with CakePHP 4. For authentication I used CakeDC/users plugin. It’s working fine. I can login to application. I also added REST API following this instructions: REST - 4.x For authentication…

---

## [Performance downside of loading plugin in a certain way](https://discourse.cakephp.org/t/performance-downside-of-loading-plugin-in-a-certain-way/9905)

<div class="topic-metadata">

**Author:** [@mds2018](https://discourse.cakephp.org/u/mds2018)\
**Replies:** 6\
**Last updated:** [November 14, 2021, 5:34pm UTC](https://discourse.cakephp.org/t/performance-downside-of-loading-plugin-in-a-certain-way/9905 "2021-11-14T17:34:20Z")

</div>

Does anyone on here know if there is any performance downside on loading plugins when the plugins are inside another folder to maintain the structure of the code it is distributed under? What I mean is this. I create a…

---

## [Users table for login](https://discourse.cakephp.org/t/users-table-for-login/9752)

<div class="topic-metadata">

**Author:** [@montanapcdoc](https://discourse.cakephp.org/u/montanapcdoc)\
**Replies:** 4\
**Last updated:** [October 16, 2021, 2:14am UTC](https://discourse.cakephp.org/t/users-table-for-login/9752 "2021-10-16T02:14:51Z")

</div>

For a historical reason, the table that contains the users to my app is called Youmans. I want to keep it that way. When I set up authentication all goes well until I put in the email and password and submit. At that p…

---

## [Dereuromark/cakephp-tinyauth config](https://discourse.cakephp.org/t/dereuromark-cakephp-tinyauth-config/9819)

<div class="topic-metadata">

**Author:** [@shadowx.jb](https://discourse.cakephp.org/u/shadowx.jb)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 7:11pm UTC](https://discourse.cakephp.org/t/dereuromark-cakephp-tinyauth-config/9819 "2021-10-14T19:11:25Z")

</div>

I install plugin dereuromark/cakephp-tinyauth , there is no way in the documentation to set the redirect page to login. Can I set a login page URL? How?

---

## [How to create a blockchain plugin?](https://discourse.cakephp.org/t/how-to-create-a-blockchain-plugin/9693)

<div class="topic-metadata">

**Author:** [@blueorion](https://discourse.cakephp.org/u/blueorion)\
**Replies:** 0\
**Last updated:** [September 5, 2021, 5:03pm UTC](https://discourse.cakephp.org/t/how-to-create-a-blockchain-plugin/9693 "2021-09-05T17:03:48Z")

</div>

Hi there, we would like to provide blockchain functions as a plugin within cakephp… We are working with the Stellar blockchain and we currently writing the PHP SDK. How can we do that best? You find more details on us …

---

## [Acl aros\_acos table update gives "you can't have an association of the same name with a different target class name"](https://discourse.cakephp.org/t/acl-aros-acos-table-update-gives-you-cant-have-an-association-of-the-same-name-with-a-different-target-class-name/9562)

<div class="topic-metadata">

**Author:** [@zohaib.yunis](https://discourse.cakephp.org/u/zohaib.yunis)\
**Replies:** 1\
**Last updated:** [July 29, 2021, 2:43pm UTC](https://discourse.cakephp.org/t/acl-aros-acos-table-update-gives-you-cant-have-an-association-of-the-same-name-with-a-different-target-class-name/9562 "2021-07-29T14:43:41Z")

</div>

I am in the users controller \<?php declare(strict\_types=1); namespace App\\Controller; /\*\* \* Users Controller \* \* @property \\App\\Model\\Table\\UsersTable $Users \* @method \\App\\Model\\Entity\\User\[\]|\\Cake\\Datasource\\R…

---

## [Authentication plugin - allow access to home page](https://discourse.cakephp.org/t/authentication-plugin-allow-access-to-home-page/9526)

<div class="topic-metadata">

**Author:** [@jim](https://discourse.cakephp.org/u/jim)\
**Replies:** 3\
**Last updated:** [July 14, 2021, 10:30am UTC](https://discourse.cakephp.org/t/authentication-plugin-allow-access-to-home-page/9526 "2021-07-14T10:30:08Z")

</div>

Hi, I’ve finished the authentication tutorial. I want to modify the system so that you don’t have to be logged in to visit the home page, and you do have to be logged in to view and list pages. Obviously, you don’t wan…

---

## [Authorization or authentication](https://discourse.cakephp.org/t/authorization-or-authentication/9462)

<div class="topic-metadata">

**Author:** [@jeewakak](https://discourse.cakephp.org/u/jeewakak)\
**Replies:** 7\
**Last updated:** [July 14, 2021, 12:51am UTC](https://discourse.cakephp.org/t/authorization-or-authentication/9462 "2021-07-14T00:51:54Z")

</div>

hi, is Authorization needed? I am going to build a market place where customer, vendor and admin is. can I handle it through authentication?

---

## [Security of the plugin](https://discourse.cakephp.org/t/security-of-the-plugin/9413)

<div class="topic-metadata">

**Author:** [@jeewakak](https://discourse.cakephp.org/u/jeewakak)\
**Replies:** 4\
**Last updated:** [June 9, 2021, 3:03am UTC](https://discourse.cakephp.org/t/security-of-the-plugin/9413 "2021-06-09T03:03:53Z")

</div>

Hi, I am a beginner to cake. I am fascinated by available plugins and how easy to do development. but I have a question - if I use the authentication plugin is my site secure? is cake PHP organisation give some level of…

---

## [Debugkit not showing due to missing route](https://discourse.cakephp.org/t/debugkit-not-showing-due-to-missing-route/7419)

<div class="topic-metadata">

**Author:** [@dreamingmind](https://discourse.cakephp.org/u/dreamingmind)\
**Replies:** 7\
**Last updated:** [May 25, 2021, 5:06pm UTC](https://discourse.cakephp.org/t/debugkit-not-showing-due-to-missing-route/7419 "2021-05-25T17:06:57Z")

</div>

I’m not far into my first v4.x app. I got the Authentication plugin running with the AuthenticationMiddleware and noticed the Debugkit was not at the bottom of the page. I used the ‘bigger-hammer’ fix to make sure… Con…

[Previous page](https://discourse.cakephp.org/c/plugins/6.md)

[Next page](https://discourse.cakephp.org/c/plugins/6.md?page=2)
