What's your thoughts on #Drupal vs #Joomla? I'm looking for a PHP CMS that isn't WordPress based on a potential client's request. Prefer #Symfony based so that's why these 2.
Mostly a brochure site with some normal CMS-y features (gallery, contact form, etc).
@syntaxseed did you consider https://sulu.io ? It’s Symfony based. I used it a while back and it was fairly easy to use. Uses PHPCR under the hood and was very flexible back then.
Why does #Symfony define what appears to be a “real” value for APP_SECRET in the .env file that’s committed to your repository, and then, right above it, there’s a comment that says (in all caps):
“DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.”
Where’s the documentation that explains what APP_SECRET is used for? Why doesn't it put this value in .env.local (ignored by .gitignore)?
OK, I'm getting started with #Symfony.
Can anyone recommend a beginner friendly tutorial?
The official docs jump from 0-100 pretty quickly.
Alternately, anyone able to do some individual tutoring on the basics of design?
I've already got my routing set up, twig templates, and basic DB access. I just need to know the most efficient way of setting up something more complex and deploying it.
@Edent any chance of adding a fediverse login and a migration from Twitter as an auth provider in the initial version? Only thing keeping my Twitter account alive!
So I have a User entity in a #Symfony project with an int type $id property. And something deep in the framework is trying to assign a string value to the $id which is throwing critical type errors.
WTH. Am I supposed to make User::$id a string|int type? No thanks. It's in the framework so out of my hands. Some token unserializing step.
@thepanz this is a PR I'm preparing for Symfony. The scrollbar code is incredibly badly written at the moment. Once it's cleared up and the last bugs are fixed, I'll open a PR.
The list itself is a decoupled class, which you should be able to use for your use-case as well (actually, I was planning on improving Symfony's autocomplete question feature using this class as well in a future PR).
@SenseException@ocramius thanks for the suggestion! I probably did the same mistake 2 years ago with my previous talk, where feedback was "it's too information dense" and "too much stuff for a single talk" 😅
6 more days to get your #sylius#elephpant, please have a look, because it is a "all or nothing" kickstarter, so if we don't find a few more adopter, the single sylius elephpant will stay alone!
#Introduction Hi, I am Reuben Walker the founder of Symfony Station. I hope you enjoy the Symfony /kbin magazine. Learn more about me and Symfony at https://symfonystation.com.
@symfonystation It seems to me that the problem is on my side, as the enlarged original opens correctly. I will verify this when I have some free time.
Played a bit with statistics this week: The average age of PHP code lines in #symfony
75% of the lines are edited within the past 4 years. That's pretty amazing for a codebase that is 15 years old!
Also interesting to see some components that were more or less feature complete from the start (Mime, RateLimiter, etc.) and needed very few changes after their release.
@sebastian I gathered the information per line using find+git-blame.
The data analysis is done with a small PHP script that generates JSON.
Finally, the diagram is rendered as SVG by some custom JavaScript code.
I might one day streamline the process more and publish it to GitHub.
We use the Alice bundle for our fixtures in the behat feature tests. With the last update the order of the inserts of the entities has been changed. I don’t know how or why but it was done. But we must ensure that the entities has the expected ids.
Now we change to the Foundry package where we can be safe that the entities will be created in the expected order.
Does someone had the same problem with the Alice bundle?
Happy to announce that I will be speaking at the SymfonyLive Berlin 2024 conference at the end of June about Gally, the advanced searchandising engine built on top of Symfony, API Platform, and Elasticsearch.