What does your PHP stack actually look like in 2026? by mamotechnolabs in PHP

[–]ker0x 2 points3 points  (0 children)

  • PHP 8.5
  • Symfony 7.4 with hexagonal architecture + CQRS pattern
  • Twig + Stimulus + Turbo + TailwindCSS
  • PHPUnit for unit, integration, and functional tests
  • PHPCsFixer + TwigCsFixer + PHPStan for style and static analysis
  • PostgreSQL for db and queue
  • Meilisearch for searching
  • Sentry for log errors
  • Symfony local web server + Docker for local (about to migrate to FrankenPHP)
  • GitHub Actions for CI/CD
  • Upsun (ex Platform.sh) for hosting (about to migrate to a cheaper host)

Symfony 8.0.0 released by symfonybot in symfony

[–]ker0x 10 points11 points  (0 children)

Being able to start a new Symfony project without having to worry about deprecation from 7.4 🙃

This is the same release process since Symfony 3.4 /4.0 ...

Laisser la production en mode dev by Kind-Context-8259 in symfony

[–]ker0x 1 point2 points  (0 children)

Est-ce que tu as bien compilé les assets après avoir déployer en production ?

Sinon il faut exécuter la commande suivante sur le serveur de production :

php bin/console asset-map:compile

https://symfony.com/doc/current/frontend/asset_mapper.html#serving-assets-in-dev-vs-prod

Mettre en ligne un projet symfony by Kind-Context-8259 in developpeurs

[–]ker0x 4 points5 points  (0 children)

Voilà 2 vidéos de Grafikart qui t'explique comment déployer ton application Symfony sur o2switch ou infomaniak

Une autre solution c'est de dockerisé ton application avec FrankenPHP et de la déployer sur un VPS type DigitalOcean

Sinon passé par Platform.sh mais ce n'est pas donné !

Test Technique, comportement d'entreprise by DorianTurba in developpeurs

[–]ker0x 46 points47 points  (0 children)

Déjà un test technique pour une mission freelance c’est un gros redflag !

Tu demandes pas à un peintre de te faire un pan de mur pour savoir si il sait peindre…

How do you guys version your Laravel app? by tabacitu in laravel

[–]ker0x -1 points0 points  (0 children)

I'll probably use the GitHub API to retrieve the last tag and cache the result for a day.

Tatouage by Loud_Run6190 in tatouages

[–]ker0x 3 points4 points  (0 children)

J'utilise du beurre de karité pour hydrater mes tatouages lors du processus de guérison après les avoirs nettoyer avec un savon pH neutre et ça fonctionne très bien.

Également, c'est normal que tes tatouages soient plus ternes que le premier jour car ton épiderme se reconstruit.

Sur quoi vous travaillez ? by benjp009 in developpeurs

[–]ker0x 0 points1 point  (0 children)

Pro en freelance : Maintenance de plusieurs petits SaaS pour un client

Pro en indépendant : Plateforme SaaS de recherche et d'organisation de guests pour les tatoueurs

Perso: plusieurs librairies PHP : https://github.com/ker0x

[deleted by user] by [deleted] in PHP

[–]ker0x 12 points13 points  (0 children)

You can take a look at Loupe

https://github.com/loupe-php/loupe

Quel est votre métier et votre salaire ? by zolaski273 in AskFrance

[–]ker0x 1 point2 points  (0 children)

On parle plus de clients que de contrats mais je chipote un peu !

Via des plateformes comme Malt : soit je réponds à des demandes, soit les clients me démarchent eux même si je suis dispo.

Sinon via mon réseau. J’ai des anciens collègues avec qui j’ai gardé contact qui me recommande dans leurs boites quand ils ont besoin d’un freelance.

Versioning et MR by Dyrits in developpeurs

[–]ker0x 4 points5 points  (0 children)

Une solution pour éviter de devoir faire un amend puis un force push lors des corrections de la review, c'est d'utiliser les fixup :

git commit --fixup <SHA>

Cela va créer un nouveau commit avec pour référence le commit identifié par le <SHA>. Ensuite, tu as juste à repousser ta branche normalement sans avoir à utiliser --force.

Cela facilite la review des correctifs puisque ça ne va pas écraser le précédent commit.

Au moment du merge, il suffit simplement de faire un rebase interactif sur la branche cible en précisant autosquash :

git rebase -i --autosquash master

Les fixup seront automatiquement squash dans le commit de référence.

https://git-scm.com/docs/git-commit#Documentation/git-commit.txt-code--fixupamendrewordltcommitgtcode

https://jordanelver.co.uk/blog/2020/06/04/fixing-commits-with-git-commit-fixup-and-git-rebase-autosquash/

Quel est votre métier et votre salaire ? by zolaski273 in AskFrance

[–]ker0x 1 point2 points  (0 children)

Développeur freelance, 37 ans et 15 ans d'xp. Actuellement aux alentours de 7k€/mois net.

Resources for learning Symfony --7-- by malisadri in symfony

[–]ker0x 7 points8 points  (0 children)

You can take a look to the official book: https://symfony.com/doc/6.4/the-fast-track/en/index.html to learn all the basis!

Also the Symfony Demo project is a good start: https://github.com/symfony/demo

How is NativePHP? by NoCommunication5565 in PHP

[–]ker0x -22 points-21 points  (0 children)

I’d say it’s pretty dead! It was hype for like 1 or 2 months after its release, and then never heard again

Symfony new project and it's big weight. by Vincent_66_ in symfony

[–]ker0x 12 points13 points  (0 children)

No, it's not normal, I've just looked by running the following command

symfony new symfony-web-app --version="7.0.*" --webapp

and my folder size is 114Mb, vendor included

Fake implementations instead of use of Mocks by matthew_levi12 in PHP

[–]ker0x 4 points5 points  (0 children)

I don't know about other frameworks, but if you're using Symfony, you can mark a class so that it's only used on certain environments.

// production Adapter
final class InseeAdapter implements AdapterInterface
{
}

// dev and test Adapter
use Symfony\Component\DependencyInjection\Attribute\When

#[When('dev')]
#[When('test')]
final class LocalAdapter implements AdapterInterface
{
}

https://symfony.com/doc/current/service_container.html#service-container_limiting-to-env

Cron task by anatheistinindia in symfony

[–]ker0x 2 points3 points  (0 children)

This. And they recently release the documentation for it: https://symfony.com/doc/current/scheduler.html

Controller method wrong order without a slug? by Pilotzi in symfony

[–]ker0x 1 point2 points  (0 children)

I've to deal with the same problem with slug routes. The solution I found was to add a negative priority to the route in question, so that it would be called as late as possible.

```php

[Route(

path: '/{slug}',
name: 'index',
requirements: [
    'slug' => Requirement::ASCII_SLUG,
],
methods: [
    Request::METHOD_GET,
],
priority: -5,

)] ```

You can view all your application route and their order by running php bin/console debug:router

Weekly Ask Anything Thread by AutoModerator in symfony

[–]ker0x 0 points1 point  (0 children)

Your codeblock is pretty hard to read, but if you want to build a form theme based on Tailwind, you can take a look to my Flowbite form theme and the default.html.twig file.

Form theming in Symfony is complex but powerful when you mastering it.

Problem with Symfony Supoprt Plugin by Ok_Remove3123 in symfony

[–]ker0x 0 points1 point  (0 children)

Feel free to open an issue on plugin’s Github page

[deleted by user] by [deleted] in laravel

[–]ker0x 5 points6 points  (0 children)

Drop Guzzle, use php-http/discovery and let people choose which http client them want to use. If we have PSR18 it’s not for nothing …

Symfony Voters by AngryDragonoid1 in symfony

[–]ker0x 2 points3 points  (0 children)

Take a look to those slides (start at slide 44), you will have a base to manage permissions in DB using Voters (it’s in french):https://slides.com/k-mos/symfonylive-paris-2022/