symfony

syntaxseed,
@syntaxseed@phpc.social avatar

Hey folks.

What's your thoughts on vs ? I'm looking for a PHP CMS that isn't WordPress based on a potential client's request. Prefer based so that's why these 2.

Mostly a brochure site with some normal CMS-y features (gallery, contact form, etc).

Bonus for ease of ongoing maintenance.

dkreuer,
@dkreuer@toot.metasyntactical.com avatar

@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.

dominikzogg,

@syntaxseed another one you could take into consideration https://boltcms.io/ was silex based at start and moved to symfony with it's dead.

ramsey,
@ramsey@phpc.social avatar

Why does 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)?

Crell,
@Crell@phpc.social avatar

@ramsey I believe it's used for a security key, much like the Laravel equivalent.

Symfony does some very dumb things with env files.

pieceofthepie,
@pieceofthepie@n8e.dev avatar

@ramsey yeah, that is weirdly hard to track down :S

Symfony does have some oddities.

https://symfony.com/doc/current/reference/configuration/framework.html#secret

crystal,

I wrote an article about the health of the community and what I’m hoping to do to help it better—because it needs to get better.

https://magazine.joomla.org/all-issues/june/creating-a-healthier-community-together

crystal,

@symfonystation that’s great! Thank you, let me know if I can ever provide extra context for you or direct you to someone about a specific topic :)

regularlabs,

@crystal Thanks and I wish you all the energy and strength you need to achieve change.

Edent,
@Edent@mastodon.social avatar

OK, I'm getting started with .
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.

Thanks!

agf102,

@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!

Edent,
@Edent@mastodon.social avatar

@agf102 short answer: "no".

Long answer: "Nooooooooo" 😉

Because of the way federated login works, I'd need to create an app for every single fediverse server. That isn't something offered by .

I've raised it with them at https://community.auth0.com/t/custom-social-for-mastodon/103356/

Feel free to give them feedback at https://community.auth0.com/t/mastodon-social-login/103400/

syntaxseed,
@syntaxseed@phpc.social avatar

So I have a User entity in a 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.

Bizarre.

syntaxseed,
@syntaxseed@phpc.social avatar

@thgs I can't reproduce it, it's very rare. 🤷‍♀️

thgs,
@thgs@phpc.social avatar

@syntaxseed a rare gem, it is. May the force be with you

Or luck, so that it doesn't appear again!

wouterj,
@wouterj@phpc.social avatar
wouterj,
@wouterj@phpc.social avatar

@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).

wouterj,
@wouterj@phpc.social avatar

@graphite thanks!

The colors are from a list of HTML colors supported by browsers. Unfortunately, graphite is not yet one of them

alessandrolai, Italian
@alessandrolai@phpc.social avatar

This Friday I'll be speaking at @phpday 2024, this time about my long story with queues and, in particular, about Messenger.

See you there?

alessandrolai,
@alessandrolai@phpc.social avatar

@lmillucci @phpday happy to hear that! 😁

heiglandreas,
@heiglandreas@phpc.social avatar

@alessandrolai Now off to see whether I still have some shark stickers..... 🤪

/cc @phpday

bastian, German
@bastian@neos.social avatar

On my way to a user group meetup with my branded Vespa.. I hope, they'll let me in ;)

bastian,
@bastian@neos.social avatar

@robert yes ;)

markus306,
@markus306@neos.social avatar

@bastian @robert we have symfony components in the composer files, so what could possibly go wrong 😂

Skoop,
@Skoop@phpc.social avatar

This morning gave me yet another idea for a new project to build.

I hate this.

But it could be a fun project to go and experiment with Turbo and Symfony UX

heiglandreas,
@heiglandreas@phpc.social avatar

@Skoop @dgoosens emphasis on "try"...

mrbase,
@mrbase@phpc.social avatar

@Skoop I have one project I tend to rewrite on whatever sack I want to try - then I don't have to reinvent and have a baseline to compare to 🙂

mglaman,
@mglaman@phpc.social avatar

Who needs to worry about the Drupal 7 end-of-life if you can just run your Drupal 7 code on any version of 🤷‍♂️

Find out more next week 👀

mglaman,
@mglaman@phpc.social avatar

@aitala so they were D8 ready? Are they abandoned by community?

This thing I'm building should hopefully let you run them on D10 by just hacking the info file.

aitala,

@mglaman there are several with no D8+ releases.

alessandrolai, Italian
@alessandrolai@phpc.social avatar

Ok, the first full trial run of my talk about messenger went to 44 minutes and I have a 50 minutes slot...

It's going so well it's suspicious 😅

alessandrolai,
@alessandrolai@phpc.social avatar

@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" 😅

SenseException,
@SenseException@phpc.social avatar

@alessandrolai I learned it by watching myself in the videos. I also realized some wrong infos like using class and object as synonyms for each other.

Schrank,
@Schrank@phpc.social avatar

@Andrewhowdencom @heiglandreas @shochdoerfer I know it is late, but just in case you want to make it today evening to Frankfurt, there is a meetup and I give a talk:
https://www.eventbrite.de/e/shopware-meetup-frankfurt-29-november-2023-tickets-671398871097

SenseException,
@SenseException@phpc.social avatar

@shochdoerfer Sounds like a nice place to be. @Schrank @Andrewhowdencom @heiglandreas

shochdoerfer,
@shochdoerfer@phpc.social avatar

@SenseException would have pinged you if I had more time today. Hopefully next time :)

dominik,
@dominik@nona.social avatar

I'm this close to writing my own Symfony router and this idea might be even more ill-advised than writing my own CMS.

awoodsnet,
@awoodsnet@phpc.social avatar

@dominik perhaps write a blog post on why you want to do that?

dominik,
@dominik@nona.social avatar
shochdoerfer, German
@shochdoerfer@phpc.social avatar

Hello ! Looking forward to some fun 2 days...

shochdoerfer,
@shochdoerfer@phpc.social avatar

@SenseException I give my best to have some fun :)

shochdoerfer,
@shochdoerfer@phpc.social avatar

@pbl0m I may have another talk in my queue for the lovely Münster meetup :)

Schrank,
@Schrank@phpc.social avatar

6 more days to get your , 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!

https://www.kickstarter.com/projects/734475887/sylius-elephpant

JosephLeedy,
@JosephLeedy@phpc.social avatar

@Schrank I’d love to, but €49 extra for shipping to the United States is too much.

Schrank,
@Schrank@phpc.social avatar

@JosephLeedy get 10 and split it with others! 🙈

symfonystation, (edited )
symfonystation avatar

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,
symfonystation avatar

@ernest

@Symfony Yeah it was my fault.

ernest,
ernest avatar

@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.

Edent,
@Edent@mastodon.social avatar

Any of you clever-clogs know

https://stackoverflow.com/questions/76101417/how-to-add-cache-to-a-twig-app-extension

I'm just getting started after hacking around on without frameworks for too long.

Now I'm stuck on something which is probably pretty basic around how to cache the results of a function.

Edent,
@Edent@mastodon.social avatar

@boldewyn aha! You explicitly define a namespace for the cache... That seems to have fixed it.
You may claim your SO points if you like 🙂

boldewyn,
@boldewyn@mastodon.social avatar

@Edent hm, strange. https://symfony.com/doc/current/components/cache/adapters/filesystem_adapter.html says, that an empty string (the default) should be alright...

alessandrolai, Italian
@alessandrolai@phpc.social avatar

In 5 minutes I'll be on stage with my talk " Messenger: the sharpest tool in your toolbox"

Come to see me, and please give me feedback on Joindin!

https://alessandrolai.dev/talks/2024-phpday-symfony-messenger/

alessandrolai,
@alessandrolai@phpc.social avatar

@rskuipers thank you! Yours was very good too!

rskuipers,
@rskuipers@phpc.social avatar

@alessandrolai much appreciated!

wouterj,
@wouterj@phpc.social avatar

Played a bit with statistics this week: The average age of PHP code lines in

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,
@sebastian@phpc.social avatar

@wouterj How did you calculate this and how did you render this chart? Thanks!

wouterj,
@wouterj@phpc.social avatar

@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.

Edent,
@Edent@mastodon.social avatar

Anyone here know if has a way to support compression?

Answers to https://github.com/symfony/symfony/discussions/51074 - greatly appreciated!

Edent,
@Edent@mastodon.social avatar

@dracos this is very weird... I'm seeing it on the command line - but not in the browser

Edent,
@Edent@mastodon.social avatar

@dracos I'm a prat!
The gz is smaller than the br in that instance. My server is being clever and I am being stupid.

sebastienmonterisi, French
@sebastienmonterisi@phpc.social avatar

What is https://connect.symfony.com/ ?
registration is not open ?

sebastienmonterisi,
@sebastienmonterisi@phpc.social avatar

@thomastospace yes, some ux/redirection problems !
You have to go to https://symfony.com/connect/login to register not to https://connect.symfony.com/login

thomastospace,
@thomastospace@phpc.social avatar

@sebastienmonterisi Even more fun, the link I send does work... If you're not logged in. Try a private window!

vansari, German
@vansari@phpc.social avatar

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?

vansari,
@vansari@phpc.social avatar

@alessandrolai I know what you mean but if you work with API test you must rely on ids rather on referencesor particular properties.

Because you want to update or delete a resource with a specific id.

alessandrolai,
@alessandrolai@phpc.social avatar

@vansari yes but you shouldn't hard code IDs in your tests, rather fetch the entity by reference and get the ID from there.

shochdoerfer, German
@shochdoerfer@phpc.social avatar

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.

https://blog.bitexpert.de/blog/symfony_live_berlin_2024

ronnorthrip,
@ronnorthrip@phpc.social avatar

@shochdoerfer Oh very nice!

shochdoerfer,
@shochdoerfer@phpc.social avatar
kaiserkiwi,
@kaiserkiwi@corteximplant.com avatar

My "resting" heart rate while doing a update :blobcatbatupsidedown:

kaiserkiwi,
@kaiserkiwi@corteximplant.com avatar

Oh I just saw, that the heart rate from a minute before is shown too. 100 bpm. The 144 was when it failed again. ^^"

kaiserkiwi,
@kaiserkiwi@corteximplant.com avatar

And nothing worked. As expected. This software is just so frustrating.

The time window is over again. I hope this time the backup works properly.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Symfony
  • kavyap
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • everett
  • slotface
  • osvaldo12
  • khanakhh
  • rosin
  • Durango
  • megavids
  • vwfavf
  • GTA5RPClips
  • cubers
  • tacticalgear
  • tester
  • cisconetworking
  • ngwrru68w68
  • Leos
  • normalnudes
  • provamag3
  • modclub
  • anitta
  • JUstTest
  • All magazines