Slim Framework - Latest posts https://discourse.slimframework.com Latest posts War in Ukraine just now Dear Slim PHP community, today (February 24, 2026) is a sad anniversary. It’s FOUR years since russia’s full-scale invasion of Ukraine. The war continues. Do not be trapped by some propaganda, that Ukraine has no chances and this war is already over. Ukraine fights and rebuffs russian aggressor.
Thank you to everyone who supports and helps Ukraine.

]]>
https://discourse.slimframework.com/t/war-in-ukraine-just-now/5194?page=7#post_134 Tue, 24 Feb 2026 08:14:35 +0000 discourse.slimframework.com-post-14454
Custom fatal error handler in SLIM4 I am developing a REST API and want to support only JSON responses. I added a custom error handler this way:

$errorMiddleware = $app->addErrorMiddleware($config['error']['debug'], true, $config['error']['log']['communication']);
$errorMiddleware->setDefaultErrorHandler($container->get(ErrorHandler::class));

It works, but every now and then I got a fatal error, which is rendered by the default HTML renderer and I guess it is not logged as well. Is there a way to handle fatal errors with a custom error handler?

I know from my own frameworks, that this is a tricky question, because if the custom handler raises an error, then the code can collapse into an infinite error loop… But I still want to do this.

]]>
https://discourse.slimframework.com/t/custom-fatal-error-handler-in-slim4/6205#post_1 Sat, 07 Feb 2026 08:12:59 +0000 discourse.slimframework.com-post-14452
Companies that use Slim As I said in Slim4 it is very easy to create decoupled modules, the way that the same code can be used as a separate namespace code, the composer package, or a separate microservice (if it became too big at a certain moment), you just need to structurize your both module and appplication (frame) code in a certain way. This is a general vue of application (modular monolith scaffold) structure, with bootstrap file:

and this is how a module looks like:

as you can see both in terms of structure “parent” (application) and “child” (module) they are identical, an hooking module to your application is as easy as:

As you can see there is 6 modules (as composer packages) hooked to the monolith `OllamaAssistant`.

]]>
https://discourse.slimframework.com/t/companies-that-use-slim/6184#post_13 Mon, 02 Feb 2026 22:48:02 +0000 discourse.slimframework.com-post-14451
Companies that use Slim

Monólito modular é outra história

como eu poderia criar módulos autocontidos e independentes com o Slim?
penso em fazer isso para reaproveitar módulos em vários projetos.

]]>
https://discourse.slimframework.com/t/companies-that-use-slim/6184#post_12 Mon, 02 Feb 2026 19:03:47 +0000 discourse.slimframework.com-post-14450
Companies that use Slim Olá,
tem alguns bons exemplos para cache? como poderíamos explorar melhor essas melhorias para obter o melhor desempenho?

]]>
https://discourse.slimframework.com/t/companies-that-use-slim/6184#post_11 Mon, 02 Feb 2026 19:01:07 +0000 discourse.slimframework.com-post-14449
How to use roadrunner server with slimphp? Take this as a starting point, )$app is your Slim4 application but you should be able to handle it yourself):

./psr-worker.php

<?php

declare(strict_types=1);

require './vendor/autoload.php';

use Dhosting\AiCrowd\Common\StdLogger\ThrowableMessageFormatter;
use Dotenv\Dotenv;
use Nyholm\Psr7\Response;
use Nyholm\Psr7\Factory\Psr17Factory;
use Psr\Container\ContainerInterface;
use Slim\App;
use Spiral\RoadRunner\Worker;
use Spiral\RoadRunner\Http\PSR7Worker;

$dotEnv = Dotenv::createImmutable('./');
$dotEnv->load();

require './bootstrap/bootstrap.php';

if (isset($app)) {
    $worker = Worker::create();

    $factory = new Psr17Factory();

    $psr7 = new PSR7Worker($worker, $factory, $factory, $factory);

    while (true) {
        try {
            $request = $psr7->waitRequest();
            if ($request === null) {
                break;
            }
        } catch (Throwable $t) {
            try {
                $psr7->respond(new Response(200, [], $t->getMessage()));
                error_log(ThrowableMessageFormatter::format($t));
            } catch (Throwable $t) {
                error_log(ThrowableMessageFormatter::format($t));
            }
            continue;
        }
        try {
            /** @var App<ContainerInterface> $app */
            $psr7->respond($app->handle($request));
        } catch (Throwable $t) {
            try {
                $psr7->respond(new Response(500, [], $t->getMessage()));
                error_log(ThrowableMessageFormatter::format($t));
            } catch (Throwable $t) {
                error_log(ThrowableMessageFormatter::format($t));
            }

            $psr7->getWorker()->error((string)$t);
        }
    }
}

./bootstrap/bootstrap.php

<?php

declare(strict_types=1);

use DI\ContainerBuilder;
use Slim\App;

$builder = new ContainerBuilder();
$builder->useAutowiring(true);
$definitions = array_merge(
    require './config/settings/settings.php',
    require './config/dependencies/dependencies.php',
);
$builder->addDefinitions($definitions);
$container = $builder->build();

$app = $container->get(App::class);

require './bootstrap/middleware.php';
require './bootstrap/routes.php';

./rr.yaml

version: '3'
server:
  command: "php psr-worker.php"
http:
  address: 0.0.0.0:80
  pool:
    num_workers: 1
    debug: true

and finally trigger the roadrunner server:

./rr serve -c .rr.yaml
]]>
https://discourse.slimframework.com/t/how-to-use-roadrunner-server-with-slimphp/6196#post_3 Thu, 29 Jan 2026 16:31:05 +0000 discourse.slimframework.com-post-14444
How to use roadrunner server with slimphp? I want to use roadrunner as PHP application server for slimphp. Has anyone used it before?

]]>
https://discourse.slimframework.com/t/how-to-use-roadrunner-server-with-slimphp/6196#post_1 Thu, 29 Jan 2026 01:06:06 +0000 discourse.slimframework.com-post-14438
Slim4 Foto Kit demo project Dear Slim PHP community.
I refactored my humble project a little bit.

According to @LLEGAZ’s constructive remark

web app standard (AJAX, even if it’s old fashioned it works well)

I replaced AJAX with Fetch API slim4-foto-kit/public/js/admin at master · emyca/slim4-foto-kit · GitHub .
And yes, I remain jQuery in the project. I think it’s more convenient than vanilla JS. Also I’d like not to use any JS framework to be minimalistic as much as I can. A sentence “jQuery is dead” looks like “PHP is dead”, but reality is another for now.
Thank you.

UPD: You can find AJAX-way here slim4-foto-kit/public/js/admin at first-release · emyca/slim4-foto-kit · GitHub

UPD2: Recent news - jQuery has its final release 4.0.0 https://blog.jquery.com/2026/01/17/jquery-4-0-0/. It’s really not dead)

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_58 Sat, 17 Jan 2026 10:45:46 +0000 discourse.slimframework.com-post-14437
Companies that use Slim

and what makes it stick is how light and flexible it is. There’s no bloat, middleware is easy to connect, and routing is a breeze compared to full-stack frameworks like Laravel.

How come above would be a contraindication to carry out large projects?

The hard part is scaling past a few endpoints. You have to be smart about caching and dependency injection, or performance will drop.

Are we still talking about Slim? I have an impression you just copy/paste something you heard/read around. It is Slim that allows you to solve all mentioned by you obstacles in ways impossible for other enterprise frameworks.

Speaking about the size, I had exactly two, quite a big enterprise challenges made with Slim, and it was a metaphysical experience, especially that one of them it was a complete rewrite of a Symfony6 hyped approach (although I may have exaggerated a bit with the enterprise thing, it was certainly nor Meta neither Netflix :slightly_smiling_face: ) In any case, these were big enough projects to make an impression.

… but don’t try to fit a huge monolith into it.

This is more kind of a general remark not particularly related to Slim. Don’t try fit a huge monolith into anything. Modular monolith, is another story. Slim is perfect for that.

Finally to get to the point, would you share your experience and justify why wouldn’t you write anything big with Slim?

]]>
https://discourse.slimframework.com/t/companies-that-use-slim/6184#post_10 Fri, 02 Jan 2026 22:02:54 +0000 discourse.slimframework.com-post-14436
Companies that use Slim In the real world, Slim is best for small, focused apps or microservices. I’ve used it for APIs and headless CMS projects, and what makes it stick is how light and flexible it is. There’s no bloat, middleware is easy to connect, and routing is a breeze compared to full-stack frameworks like Laravel. The hard part is scaling past a few endpoints. You have to be smart about caching and dependency injection, or performance will drop. It’s great for anyone doing SaaS or game backend work like Paul said, but don’t try to fit a huge monolith into it.

]]>
https://discourse.slimframework.com/t/companies-that-use-slim/6184#post_9 Thu, 01 Jan 2026 15:02:53 +0000 discourse.slimframework.com-post-14434
War in Ukraine just now Dear Slim PHP community. Thank you to everyone who supports Ukraine. Be brave. Be ready to defend your countries and families. Merry Christmas and Happy New Year!

]]>
https://discourse.slimframework.com/t/war-in-ukraine-just-now/5194?page=7#post_133 Wed, 24 Dec 2025 08:58:07 +0000 discourse.slimframework.com-post-14429
Slim4 Foto Kit demo project You seem like a nice (and humble) guy tho, I am deeply sorry for your loss of time.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_57 Tue, 16 Dec 2025 10:26:20 +0000 discourse.slimframework.com-post-14428
War in Ukraine just now Dear Slim PHP community. Thank you to everyone who supports Ukraine.
The Ukrainian Army, this week, conducted a military operation to liberate several settlements in the Kharkiv region, near Kupyansk. Kupyansk is important because it is located at the crossroads, is a kind of transport hub. According to open information, many russians were killed, captured and surrounded.
Stay with Ukraine.

]]>
https://discourse.slimframework.com/t/war-in-ukraine-just-now/5194?page=6#post_132 Sat, 13 Dec 2025 08:25:33 +0000 discourse.slimframework.com-post-14427
Slim4 Foto Kit demo project @tj_gumis.

… ActionControllerInterface

It’s interesting to see its code. Interface of Action plus Controller.

class ActionController…

If it’s invokable class with some action, may be it can be named just SomeAction instead of weird ActionController.


public function __construct(
protected JsonResponderInterface $responder
) {

What about response of not only JSON format? Action response can be an HTML-page.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_56 Thu, 11 Dec 2025 02:51:31 +0000 discourse.slimframework.com-post-14426
Slim4 Foto Kit demo project

My comments are not from AI.

It is worse. You don’t even understand what you copy/pasted pal.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_55 Wed, 10 Dec 2025 22:58:41 +0000 discourse.slimframework.com-post-14425
Slim4 Foto Kit demo project @tj_gumis .

Everything can be used. But untill some measure. Nothing can replace real knowledge. AI, for today and in some way, is mostly aggrigator and translator of some knowledge pieces. My comments are not from AI. If you do not believe, it’s up to you. I’ve seen just some chunk of your code. It’s nothing.

@tj_gumis you should train your softskills.

And I agree with @LLEGAZ . Peace for all of us.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_54 Wed, 10 Dec 2025 20:10:30 +0000 discourse.slimframework.com-post-14424
Slim4 Foto Kit demo project @EugeneM uses AI to analyze the simplistic controller code.

@LLEGAZ does not even know it is AI performance.

and they claim to be good enough to evaluate my code. Wtf???

What a waste of time with both of you.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_53 Wed, 10 Dec 2025 19:55:02 +0000 discourse.slimframework.com-post-14423
Slim4 Foto Kit demo project Yes TJ is good at coding and is very humble so we should stop tormenting him. He is a good fellow. And his code remembered fun stuff from school so I will give it a :heart:

Peace on you both guys, and on your families.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_52 Wed, 10 Dec 2025 19:48:32 +0000 discourse.slimframework.com-post-14422
Slim4 Foto Kit demo project So. Thi is some comments for @tj_gumis ‘s example:

// As I can see ActionController may be some basic 

// for concrete Action controllers. 

// It's interestig to see subtypes of ActionController.

// Also, it's interesting to see ActionControllerInterface.

// Interfaces are abstraction, tools for polymorphism.

class ActionController implements ActionControllerInterface

{

    public function __construct(

        // DI in action.

        // And this is injected with constructor-injection. 

        protected JsonResponderInterface $responder

    ) {

    }




    // Good.

    // As PHP docs say: "The __invoke() method is called 

    // when a script tries to call an object as a function."

    // PHP's way of supporting pseudo-first-class functions.

    // Why? Code clarity.

    public function __invoke(

        // It's Psr\Http\Message\ServerRequestInterface

        ServerRequestInterface $request,

        // It's Psr\Http\Message\ResponseInterface        

        ResponseInterface $response,

        // Why it's here? 

        // Can it be injected in the class constructor? If not, why?

        ActionServiceInterface $actionService,

    ): ResponseInterface {

        return ($this->responder)(

            $request,

            $response,

            $actionService,

        );

    }

}
]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_51 Wed, 10 Dec 2025 19:44:43 +0000 discourse.slimframework.com-post-14421
Slim4 Foto Kit demo project OK sorry, you are right, humility is important and you were in a better approach than I remembered at the start; so please excuse my terrible memory and my haste in siding with Eugene thinking you were a bit hasty too and harsh in your judgements (and advices which were very nice of you btw, to take some of your time to give feedback, I dunno why I remembered otherwise) and was also thinking you were lacking of humility..

All in all it’s quite funny everybody was thinking that somebody was lacking humility among other virtues.

Maybe we should all breath a good one and remember we are only human after all.

Plus, I hope, PHP friends.

Please, have a good week (I really mean week not weak this time ^^) and have some fun.. And thank you both for that discussion. I am quite sure you are real humans now xD

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_50 Wed, 10 Dec 2025 19:44:04 +0000 discourse.slimframework.com-post-14420
Slim4 Foto Kit demo project @tj_gumis . Why did you think so long? And my advice is for you: do not play with such words. As I said I know some Polish people. They are brave, honest and polite. You have to learn from your fellow countrymen.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_49 Wed, 10 Dec 2025 19:29:09 +0000 discourse.slimframework.com-post-14419
Slim4 Foto Kit demo project

Обирай союзників мудро. Не сери на руку, яку хтось тобі безкорисливо простягає.

Otherwise, just like in this case, you will be always left alone. Tapping your shoulders is worthless, but constructive criticism might be priceless.

This small advice is all I can do for you.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_48 Wed, 10 Dec 2025 19:22:52 +0000 discourse.slimframework.com-post-14418
Slim4 Foto Kit demo project @tj_gumis. Hmm. And what about your code?

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_47 Wed, 10 Dec 2025 18:54:19 +0000 discourse.slimframework.com-post-14417
Slim4 Foto Kit demo project Ok, guys, there is still lots of things to learn in your case, both of you.

You will never achieve anything without humility. Stay humble whole your life, no matter your age, and it will help you to reach any goal much faster.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_46 Wed, 10 Dec 2025 18:50:27 +0000 discourse.slimframework.com-post-14416
Slim4 Foto Kit demo project Yes. Youth is a disadvantage that goes away with age.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_45 Wed, 10 Dec 2025 18:45:51 +0000 discourse.slimframework.com-post-14415
Slim4 Foto Kit demo project He is young, and poor fellow is quite mad. Beside I think he has a quick and irreversible judgment which is not a great virtue but meh, I am assured he got lots of those nonetheless.

edit to TJ : not saying mad as an insult against you, just mad like all the world is made lately.. I’m too

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_44 Wed, 10 Dec 2025 18:43:03 +0000 discourse.slimframework.com-post-14414
Slim4 Foto Kit demo project What’s your problem with french people guppi ? kiurva tak ? xD

I’m not even that french, just french not french french. I can understand (a bit) why you are mad but please don’t take all this too seriously (especially my jokes..)

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_43 Wed, 10 Dec 2025 18:38:29 +0000 discourse.slimframework.com-post-14413
Slim4 Foto Kit demo project Yes, @LLEGAZ . PHP. It’s obvious @tj_gumis do not understand everything to the end. Let’s leave it to him.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=3#post_42 Wed, 10 Dec 2025 18:35:49 +0000 discourse.slimframework.com-post-14412
Slim4 Foto Kit demo project You had your chance with me, now its gone. Talk to Frenche.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_41 Wed, 10 Dec 2025 18:35:47 +0000 discourse.slimframework.com-post-14411
Slim4 Foto Kit demo project Peoples just deserve Peace. (I think)

Please gentlemen can we talk PHP here ?

@tj_gumis stollatz
@EugeneM dobayov ?

(sorry I need some lessons on all those languages too)

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_40 Wed, 10 Dec 2025 18:32:09 +0000 discourse.slimframework.com-post-14410
Slim4 Foto Kit demo project Even if I think there would be things to say regarding code quality and team work but I will keep to myself too (I’m not giving confiture to cochons), or at least not this time :wink:

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_39 Wed, 10 Dec 2025 18:28:39 +0000 discourse.slimframework.com-post-14409
Slim4 Foto Kit demo project

My people are wining time now for your people.

Most of your people passing the boreder in 2022, openly admitted they would never do the same for my people.

So no, your people do nothing for my people, your people do everything for themselves, not for anybody else. This statement is just a tool to play with our conscience to force our guilt and obligation.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_38 Wed, 10 Dec 2025 18:28:00 +0000 discourse.slimframework.com-post-14408
Slim4 Foto Kit demo project Sa seigneurie est trop bonne,

土も ありがと よ

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_37 Wed, 10 Dec 2025 18:27:27 +0000 discourse.slimframework.com-post-14407
Slim4 Foto Kit demo project @tj_gumis, is it really yours? It’s usual code. But quiet good approach. Show its further implementation.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_36 Wed, 10 Dec 2025 18:25:32 +0000 discourse.slimframework.com-post-14406
Slim4 Foto Kit demo project @tj_gumis do not talk on behalf of all your people. I have friends and acquaintances among your people. They are really brave, honest and polite people. My people are wining time now for your people.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_35 Wed, 10 Dec 2025 18:21:18 +0000 discourse.slimframework.com-post-14405
Slim4 Foto Kit demo project “rude”, “offensive”, “powered by AI” …

Touché.

By the way, I am Pole, so don’t forget about “fascist”, “homophobe” or “islamophobe”.

It will be complete, Frenchie.

Tu sais quoi, je jetterai une perle aux pourceaux. The first one, and the last one.
No AI will ever generate anything like that for you, the same as you would never imagine it can be done like that:

class ActionController implements ActionControllerInterface
{
    public function __construct(
        protected JsonResponderInterface $responder
    ) {
    }

    public function __invoke(
        ServerRequestInterface $request,
        ResponseInterface $response,
        ActionServiceInterface $actionService,
    ): ResponseInterface {
        return ($this->responder)(
            $request,
            $response,
            $actionService,
        );
    }
}
]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_34 Wed, 10 Dec 2025 18:15:21 +0000 discourse.slimframework.com-post-14404
Slim4 Foto Kit demo project @EugeneM you still got a lot of things to learn, and you’re the last one to give me anything, especially a chance.

Thanks to such ruzzian bots, like me and my people, your people are where they are nowadays. Unfortunatelly after what you and your people say we might not do the same next time.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_33 Wed, 10 Dec 2025 18:13:38 +0000 discourse.slimframework.com-post-14403
Slim4 Foto Kit demo project Or, may be, the situation is worse.
@tj_gumis is ruzzian bot XP.

@tj_gumis , tell us the truth. Show your first class code.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_32 Wed, 10 Dec 2025 18:03:11 +0000 discourse.slimframework.com-post-14402
Slim4 Foto Kit demo project Hi, @LLEGAZ. It’s seems to me, after some days of the discussion in such manner, we speaks to US AI bot O_O )))

Hey, @tj_gumis. Are you US AI bot?

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_31 Wed, 10 Dec 2025 17:57:02 +0000 discourse.slimframework.com-post-14401
Slim4 Foto Kit demo project @tj_gumis.
BTW. Where is your code?
Don’t be shy :wink: Show it.
Or… just take your chance, and say nothing.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_30 Wed, 10 Dec 2025 17:50:11 +0000 discourse.slimframework.com-post-14400
Slim4 Foto Kit demo project You are being rude now, you are being hurting my feelings :’(

maybe crappy code like mine is still better than non existing one like yours.. just saying :grin:

And btw I’m quite pretty confident that all your so called “expertise” is powered by an US AI so.. keep it to yourself, I can too use an AI if I want a good feeback but again thanks for nothing especially for your kindness and your stagecoach

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_29 Wed, 10 Dec 2025 17:44:21 +0000 discourse.slimframework.com-post-14399
Slim4 Foto Kit demo project @LLEGAZ

I have never said my code is great, but with a full responsibility I can say your code is a crap.

Say one more word, and I will gladly put into pieces the first controller in your code.

Believe me or not it will be quite embarrassing for you.

With no regards.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_28 Wed, 10 Dec 2025 17:31:50 +0000 discourse.slimframework.com-post-14398
Slim4 Foto Kit demo project And I too are being quite polite by calling your answer a feedback LMAO, you just seem quite embittered with your fantastic job and your (so called by you) “great” code that we will never see I guess because it is in your Gitea vault stored very far inside your arche.

Best regards,

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_26 Wed, 10 Dec 2025 16:56:07 +0000 discourse.slimframework.com-post-14396
Slim4 Foto Kit demo project OK, thank you kindly even if I didn’t ask for your feedback.

I was just answering Eugene that I had too a slim demo project on my github.

Still. Thanks anyway.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_25 Wed, 10 Dec 2025 16:44:33 +0000 discourse.slimframework.com-post-14395
Slim4 Foto Kit demo project Your Slim4 code: https://github.com/llegaz/zelty-php-test .

With no effort of searching, first class in your project folder tree: zelty-php-test/src/Authentication/TokenStore/TokenStore.php at 92ce357ff36d7db85f24abac26d05b564ffd2090 · llegaz/zelty-php-test · GitHub

I did not even bother to go any further. It would be a waste of time.

Next time, instead of finding anything offensive, just take your chance, and say nothing.

Especially good quality any best practices applied from below:

Just with a 1 or 2 glimpses of the code I can see :

  • good quality

  • well documented

  • best practices applied.

  • web app standard (AJAX, even if it’s old fashioned it works well)

  • JWT to manage authentication (not a bad standard at all + ‘httponly’ => true, // prevent XSS which is a good point with the short, 15min duration for the token I think..)

Gosh, it is so sweet of you :smiley:

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_24 Wed, 10 Dec 2025 15:43:59 +0000 discourse.slimframework.com-post-14394
Slim4 Foto Kit demo project Dear @EugeneM,

If you start answering philosophically then I will too.

There is only one good, knowledge, and one evil, ignorance.

Socrates (~ 420-410 av. J.-C.)

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_23 Wed, 10 Dec 2025 15:04:23 +0000 discourse.slimframework.com-post-14393
Slim4 Foto Kit demo project Thank you, @LLEGAZ, for your participation. Let me answer a little bit philosophically. Everyone has its own life philosophy. Life is very bright.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_22 Tue, 09 Dec 2025 08:41:58 +0000 discourse.slimframework.com-post-14390
Slim4 Foto Kit demo project I think @tj_gumis is either very young, quite junior; either over pressured at work and is talking without taking the necessary time (required for him, as a human, I mean) to understand what he is even saying.. Brating before even knowing the subject is something that is quite offensive to me.

But yes, I’m also very curious (dubious) about what M. has to teach us.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152?page=2#post_21 Tue, 09 Dec 2025 01:44:34 +0000 discourse.slimframework.com-post-14389
Slim4 Foto Kit demo project If you code as well as you argument your boss has to be very happy with you.

From my point of view when you are talking of “week code” (le code de la semaine ?), by weak I think you mean secure and again, from my side, his code appears secured enough for a demo project (JWT implemetation looks OK, but I didn’t test it or in depth analysis, not even using AI to audit it completely = yes I’m that lazy).

Just with a 1 or 2 glimpses of the code I can see :

  • good quality
  • well documented
  • best practices applied.
  • web app standard (AJAX, even if it’s old fashioned it works well)
  • JWT to manage authentication (not a bad standard at all + ‘httponly’ => true, // prevent XSS which is a good point with the short, 15min duration for the token I think..)
]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152#post_20 Tue, 09 Dec 2025 01:36:11 +0000 discourse.slimframework.com-post-14388
Slim4 Foto Kit demo project Hi, @LLEGAZ. Ok. My public project is free.

]]>
https://discourse.slimframework.com/t/slim4-foto-kit-demo-project/6152#post_19 Mon, 08 Dec 2025 16:41:21 +0000 discourse.slimframework.com-post-14387