home.social

#slimphp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #slimphp, aggregated by home.social.

fetched live
  1. It's quite interesting how one would build online maps with an "add place" form for hobby projects nowadays. Like makevienna.cool/ or pingpongmap.net/.

    One way is a shared PHP Webspace, small SQL database and maybe a tiny API framework like #slimphp or #leafphp (abandonded?) on top. Caching via stored JSON file of POIs.

    Another way I'd like to try could be with #SvelteKit #Svelte remote functions, e.g. on #Cloudflare. svelte.dev/docs/kit/remote-fun
    A Cloudflare D1 (?) SQL database would be needed here as well.

    Would like to try it just for fun, might be a simple stack for hobby projects with user input?

    How would you build a map like this? 👨‍🔧 #WebDev

  2. It's quite interesting how one would build online maps with an "add place" form for hobby projects nowadays. Like makevienna.cool/ or pingpongmap.net/.

    One way is a shared PHP Webspace, small SQL database and maybe a tiny API framework like #slimphp or #leafphp (abandonded?) on top. Caching via stored JSON file of POIs.

    Another way I'd like to try could be with #SvelteKit #Svelte remote functions, e.g. on #Cloudflare. svelte.dev/docs/kit/remote-fun
    A Cloudflare D1 (?) SQL database would be needed here as well.

    Would like to try it just for fun, might be a simple stack for hobby projects with user input?

    How would you build a map like this? 👨‍🔧 #WebDev

  3. 🚨 Slim Framework released a patch fixing a reflected XSS vulnerability in the HTML error renderer.

    Affected versions:

    >=v4.4.0, <=v4.15.1

    If you are passing unsanitized user input into HttpException, upgrade to Slim v4.15.2 immediately!

    slimframework.com/2026/05/22/s

    github.com/slimphp/Slim/securi

    #SlimPHP #SlimFramework #PHP #XSS #Vulnerability

  4. Je ne sais plus si j'en avais parlé, mais mon projet #devperso #PHP #slimphp avance plutôt bien.
    Je peux générer
    - des squelettes de modules,
    - des fichiers de models,
    - des squelettes de templates,
    - des squelettes de fonctions, dans un contrôleur, associée ou non à un template
    - toute la partie ACL
    - toute la partie associée à la gestion de compte (register, confirm, login, logout, reset password, change password, communication par mail)

    Je vais pouvoir l'utiliser pour mes autres projets.

  5. Je ne sais plus si j'en avais parlé, mais mon projet #devperso #PHP #slimphp avance plutôt bien.
    Je peux générer
    - des squelettes de modules,
    - des fichiers de models,
    - des squelettes de templates,
    - des squelettes de fonctions, dans un contrôleur, associée ou non à un template
    - toute la partie ACL
    - toute la partie associée à la gestion de compte (register, confirm, login, logout, reset password, change password, communication par mail)

    Je vais pouvoir l'utiliser pour mes autres projets.

  6. Activités du moment :

    Création : framework #PHP basé sur #slimphp, avec un core doté d'1 orm perso léger basé sur #PDO, des aspects de sécurité, d'envoi de msg, des générateurs (contrôleurs, templates, modules, routes, models...), etc.

    Possibilités : #restful, #microservice, #monolithique ou tout à la fois.

    Utilité : un projet de site pour des copains (ils participeront au dev) et mes propres besoins.

    Présentation : GIT, langages, outils de prog (pour des néophyte motivés)

    #enmodedev #dev

  7. Fixed a bug in my #slimphp application with the flash messages by simply removing the twig global variable for the flash messages and calling the flash message manager from the session manager interface. Scoping and bootstrapping was a l pain in the ass to resolve.

  8. Fixed a bug in my #slimphp application with the flash messages by simply removing the twig global variable for the flash messages and calling the flash message manager from the session manager interface. Scoping and bootstrapping was a l pain in the ass to resolve.

  9. I released Slim 4.14.0 yesterday. It tidies the plain text error renderer and also adds template generics to the classes where we expose the PSR-11 container. #php #slimphp

    slimframework.com/2024/06/13/s

  10. I released Slim 4.14.0 yesterday. It tidies the plain text error renderer and also adds template generics to the classes where we expose the PSR-11 container. #php #slimphp

    slimframework.com/2024/06/13/s

  11. I've just cut a release of SlimPHP's Twig-View component to allow for either psr/http-message 1.1 or 2.0.

    This minor change makes Twig-View easier to use with other package that use php/http-message and need the later version. #slimphp #php

    github.com/slimphp/Twig-View/r

  12. I've just cut a release of SlimPHP's Twig-View component to allow for either psr/http-message 1.1 or 2.0.

    This minor change makes Twig-View easier to use with other package that use php/http-message and need the later version. #slimphp #php

    github.com/slimphp/Twig-View/r

  13. Quick note that I'm available for part-time and/or contract work for teams needing to augment a project but don't need a full time staff member.

    I excel at maintaining & modernizing legacy PHP apps, Symfony, technical documentation writing & #WebDev team leadership.

    I have some niche experience in multilingual projects (EN/FR) and Canadian insurance rating. I could pick #Laravel back up quickly.

    #PHP #Symfony #JS #SlimPHP #WordPress #MapBox

    Remote only (EST timezone). 👩‍💻

  14. Quick note that I'm available for part-time and/or contract work for teams needing to augment a project but don't need a full time staff member.

    I excel at maintaining & modernizing legacy PHP apps, Symfony, technical documentation writing & #WebDev team leadership.

    I have some niche experience in multilingual projects (EN/FR) and Canadian insurance rating. I could pick #Laravel back up quickly.

    #PHP #Symfony #JS #SlimPHP #WordPress #MapBox

    Remote only (EST timezone). 👩‍💻

  15. @brunty I don't know #SlimPHP, what are the advantages to use it compared to #Symfony? The lightness ?

  16. @brunty I don't know #SlimPHP, what are the advantages to use it compared to #Symfony? The lightness ?

  17. This weekend I was working on a re-do of a side project of mine

    Moving from #Symfony to #SlimPHP

    Moving from #BootstrapCSS to #TailwindCSS

    I've used Tailwind before, but an older version

    I was amazed at how fast it was to get the latest one up and running

    Bravo

    Anyway, new rbox.app coming soon 👀

  18. This weekend I was working on a re-do of a side project of mine

    Moving from #Symfony to #SlimPHP

    Moving from #BootstrapCSS to #TailwindCSS

    I've used Tailwind before, but an older version

    I was amazed at how fast it was to get the latest one up and running

    Bravo

    Anyway, new rbox.app coming soon 👀

  19. Guess who was fighting middleware and initialisation / execution orders etc in #SlimPHP for 45 minutes before remembering they're LIFO rather than FIFO

    I need to RTFM more

  20. Guess who was fighting middleware and initialisation / execution orders etc in #SlimPHP for 45 minutes before remembering they're LIFO rather than FIFO

    I need to RTFM more

  21. @brunty I like #SlimPHP actually, but it was quite an interesting task to migrate our little app that ran v3 to v4

  22. @brunty I like #SlimPHP actually, but it was quite an interesting task to migrate our little app that ran v3 to v4

  23. With #SlimPHP stripping so much stuff out and being _so_ minimal in V4, how many versions do we think it'll take before it just turns into a README telling you to install other packages because it's entered its final form of "we're so slim, we have no code at all!"

    #PHP #Development #DependencyManagement

  24. With #SlimPHP stripping so much stuff out and being _so_ minimal in V4, how many versions do we think it'll take before it just turns into a README telling you to install other packages because it's entered its final form of "we're so slim, we have no code at all!"

    #PHP #Development #DependencyManagement

  25. Is Slim-PHP still the state of the art if you want to build a small REST API application with PHP? Or do you use something else?

  26. Is Slim-PHP still the state of the art if you want to build a small REST API application with PHP? Or do you use something else?

    #slimphp #php #framework #restapi #stateoftheart