# |
Jun 29th 2019, 14:42 |
st.steinkuehler |
Hello, my app runs fine with the old Authcomponent for Authentication + Authorization but I want to use the "newer" Authentication Plugin with 3.7.9 and I do the quick start from here https://book.cakephp.org/authentication/1.1/en/index.html but I get an error: `Declaration of App\Application::getAuthenticationService(App\ServerRequestInterface $request, App\ResponseInterface $response) must be compatible with |
# |
Jun 29th 2019, 14:10 |
olanowsubomi |
hello is there anybody there? |
# |
Jun 29th 2019, 14:01 |
slackebot |
available if u need to see it to offer help. I would appreciate it if my message is being considered and responded to in good time, Thanks for your patience. |
# |
Jun 29th 2019, 14:01 |
olanowsubomi |
Hi, i got an easy way around the problem of cakephp download through the usage of ampps which is wamp/mamp stacks but after the download there were series of suggestions in the cmd this got me confused if the cakephp is properly downloaded and may be i need to do those suggestions before proper download of cakephp can be made or i just need to follow up the suggetions after this download i made. The copy of the download process is still |
# |
Jun 29th 2019, 12:42 |
chrisshick |
It makes CD easier from a scalability side when you have several servers that have to be deployed. Razee by IBM for kubernetes is one such solution |
# |
Jun 29th 2019, 12:40 |
chrisshick |
@challgren not at all. Pushed based is less secure from a server perspective because you’ll most likely have to open a port or create ssh credentials. In a pull based scenario, an agent would call a master server to check for any version changes and if there is one then it would pull the lates build and do the deployment |
# |
Jun 29th 2019, 12:37 |
chrisshick |
@dereuromark yeah we have sh scripts now. Just that I’d see if anyone had a more mature and tested solution |
# |
Jun 29th 2019, 12:36 |
chrisshick |
@savant continuous deployment |
# |
Jun 29th 2019, 10:54 |
admad |
@mocelle cakephp console is not a separate package (yet) unfortunately. You can use symfony/console |
# |
Jun 29th 2019, 09:47 |
mocelle |
Is there way to use cakephp console with microframeworks like slimphp? |
# |
Jun 29th 2019, 09:31 |
challgren |
Wouldnt you want to push to production instead of pulling? Pulling seems risky |
# |
Jun 29th 2019, 08:50 |
dereuromark |
sh Scripts?^^ |
# |
Jun 29th 2019, 08:40 |
savant |
CD? |
# |
Jun 29th 2019, 04:48 |
chrisshick |
While not directly related to cake, has anyone found a good pull based CD for PHP? |
# |
Jun 28th 2019, 17:32 |
barry.chapman |
@daniel.upshaw this is geared towards making cake an IdP not a SP |
# |
Jun 28th 2019, 17:22 |
daniel.upshaw |
Thanks @ndm... That's what I'm talking about, yes, and I agree it doesn't seem possible... With the Bake template pattern it is, but seems that it's not quite the same extending core Commands...... I like your idea with the classic extending, and just using a different name with other inheritance |
# |
Jun 28th 2019, 16:45 |
ndm |
@daniel.upshaw Are you really talking about extending (as in inheriting an existing shell), or maybe more like decorating (as in adding functionality to an existing shell)? The latter isn't possible AFAICT, but classic extending surely is (like `ExtendedMigrationsShell extends \Migrations\Shell\MigrationsShell`). Gotta fly now, I can put together a small example later if you need one. |
# |
Jun 28th 2019, 16:11 |
daniel.upshaw |
@barry.chapman I did try creating a plugin, and I can create Shell tasks and Console commands, but my goal is to extend an existing Core one |
# |
Jun 28th 2019, 16:08 |
daniel.upshaw |
And could release a Cake 3 fork |
# |
Jun 28th 2019, 16:08 |
daniel.upshaw |
Maybe just a few Cake3 updates |
# |
Jun 28th 2019, 16:08 |
daniel.upshaw |
Seems to be only a few files |
# |
Jun 28th 2019, 16:08 |
daniel.upshaw |
@barry.chapman I wonder what would happen if you dumped that `zl4bv/CakePHP-simpleSAMLphp-Plugin` plugin in there anyway |
# |
Jun 28th 2019, 15:56 |
barry.chapman |
@daniel.upshaw yes that can be done. Create a plugin |
# |
Jun 28th 2019, 15:51 |
barry.chapman |
i found something for cake 2.10, but it seems as though that is setting cake up as an idp |
# |
Jun 28th 2019, 15:50 |
barry.chapman |
does anyone know if there is a plugin or -something- that will allow cake to use SAML as an auth provider? |
# |
Jun 28th 2019, 15:50 |
barry.chapman |
allo |
# |
Jun 28th 2019, 15:25 |
daniel.upshaw |
`bin/cake migrations migrate --custom-option` |
# |
Jun 28th 2019, 15:25 |
daniel.upshaw |
Eg, add options/methods? |
# |
Jun 28th 2019, 15:25 |
daniel.upshaw |
Any way to extend a Core console command? |
# |
Jun 28th 2019, 15:09 |
admad |
@val you wouldn't be able to use their middlewares but should be able to get around that |
# |
Jun 28th 2019, 14:16 |
val |
we use php 7.1 |
# |
Jun 28th 2019, 14:14 |
neon1024 |
I guess the only stumbling block might be minimum php version in composer |
# |
Jun 28th 2019, 14:04 |
val |
Okay, it's better to ask then to assume. |
# |
Jun 28th 2019, 14:03 |
neon1024 |
The answer to your question is in your question ;) |
# |
Jun 28th 2019, 14:02 |
val |
If they are framework agnostic does it mean that they can be used in cake 2.x app? |
# |
Jun 28th 2019, 13:58 |
ricksaccous |
which means it won't be hard to handle ACL |
# |
Jun 28th 2019, 13:57 |
ricksaccous |
you can handle authorization at the request level |
# |
Jun 28th 2019, 13:57 |
ricksaccous |
i worded that wrong |
# |
Jun 28th 2019, 13:57 |
ricksaccous |
i mean |
# |
Jun 28th 2019, 13:57 |
ricksaccous |
but you can handle policies at the request level |
# |
Jun 28th 2019, 13:57 |
admad |
it's flexible enough to allow you to implement your own db based ACL implementation |