PHP

wyri,
@wyri@haxim.us avatar

Doing some package maintenance tonight, this dev dependency bump kinda stood out 😅 . Mainly I make sure my packages work on the latest versions, either through support requests or when I run into issues myself. Most of my packages are designed with the future in mind.

The long-term plan is to get reusable workflows for every package and to open PR's more aggressively than to uncover potential future issues. Currently rolling that out with every package I

wyri,
@wyri@haxim.us avatar

update, and yank to PHP 8.2 in the process.

sarah,
@sarah@phpc.social avatar

Thanks to @phpday for a great conference. Hope to see everybody next year! #php

doefom,
@doefom@mastodon.social avatar

8.4 introducing "Property Hooks". This means you will be able to hook into the default read and write behavior of your class properties. The design also allows for more hooks in the future. Really looking forward to this one!

Read more about this feature in the RFC:
https://wiki.php.net/rfc/property-hooks

Crell,
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

bobmagicii,
@bobmagicii@phpc.social avatar

@Crell remove the old one?!?!?!? i shout yolo unzip that shi on top boiiiiiiiiiiiiii 🤣 🤣 🤣 🤣

velkuns,
@velkuns@phpc.social avatar

@Crell @acelaya I created a deployer component.

I can integrate it in my app to deploy it in production.
I need to have a git repo on the server (mainly for private repo). And it configurable with y'all config.

But with a cli command, the component will:

  • creates an export of given tag
  • extracts it in some place
  • runs composer install
  • can run some other commands
  • copies secret files into app dir
  • create a symlink (for apache)

In case of problem, I redo a symlink on previous version

Schrank,
@Schrank@phpc.social avatar

Preparing a talk „from url in browser to first byte“ in context of .
What little, not obvious things, do you think are a good addition?

Like: a correct time is important for proper encryption

heiglandreas,
@heiglandreas@phpc.social avatar

@Schrank And if it's only to say "These also exist but we do not care about them unless you have another 5 hours to spare!"

Schrank,
@Schrank@phpc.social avatar

@heiglandreas @derickr yea, it is hard to find a line. But depending on audience and time slot, it case be totally different. I even have BGP on the list, but don’t know what to do with it yet 😂

sarah,
@sarah@phpc.social avatar

Waiting at the airport. Still basking in the post-conference glow. Thanks @phpday!

airwhale,
@airwhale@mastodon.social avatar

@sarah

Ah, just hope you got some time to enjoy that wonderful place.

Safe travels home!

sarah,
@sarah@phpc.social avatar

@airwhale it was lovely.

Now approaching North American airspace.

sarah,
@sarah@phpc.social avatar

For those who made my keynote at @phpday, thank you. I worked hard and shared my heart and your warm reception meant the world.

Hope to see you all next year!

mobileatom,
@mobileatom@flipboard.com avatar
Crell,
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

donatj,
@donatj@mastodon.social avatar

You know, while we’re dropping parentheses on things in I’d like it if we dropped them from control structures like if/for/while

End the argument of

if($foo) {

vs

if ($foo){

once and for all

if $foo {

to rule them all

alessandrolai,
@alessandrolai@phpc.social avatar

@donatj you're skipping the "right" approach, the one with spaces on both sides, which is the one required by PSRs, and PER-CS lately: https://www.php-fig.org/per/coding-style/#5-control-structures

ramsey,
@ramsey@phpc.social avatar

@donatj If you’re arguing over that, you have other problems than language syntax. 😉

sarah,
@sarah@phpc.social avatar

Working on a cool new project.

Can't wait to share more details!

#php

t3muc, German
@t3muc@typo3.social avatar

Peter Schuler hat uns von seinem Vortrag „Wie automatisierte Akzeptanztests Continuous Delivery
ermöglichen“ die Folien, ein Demo Repository und sogar eine Aufzeichnung zur Verfügung gestellt! 🧡

https://www.mtug.de/treffen/veranstaltungen-2024/mai.html#c992

Der Solr Vortrag musste leider kurzfristig auf das nächste Treffen im Juni verschoben werden.

tobiaskoengeter, German
@tobiaskoengeter@sueden.social avatar

We have released a new library: TypoRules for 🎉

It is not actually new, as we have been working with it for years to enable outstanding in our and applications. What is new is that all functionalities are now available in a bundled form and as .

You can find it at https://github.com/BitAndBlack/typorules

The library currently contains 42 rules and 5 rule sets, with more being added all the time.

Give it a try and let us know how you get on with it! 😇

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@ramsey Not yet, no. The library is currently conceived from the perspective of a designer who has to take care of things like dashes and quotation marks. The rules you mentioned might be a little more difficult to implement, as some of them require context. Something like consistently capitalising the name of a month would of course be easy, but putting certain information in a certain order, for example, would be much more difficult. Do you see a need for this?

ramsey,
@ramsey@phpc.social avatar

@tobiaskoengeter I misunderstood the point of the library, and now I understand why it refers to typography instead of of style. 🙂

t3cm, German
@t3cm@phpc.social avatar

Endlich geht's los! Wir haben euch lange genug auf die Folter gespannt. 😆

Der Termin steht fest: 13. - 15. September
Die Location steht fest: Das FatCat München (ehem. Gasteig)
Und Tickets gibt es auch schon!

Alle Infos findet ihr auf unserer neuen Website: https://buff.ly/3jnS6PM

michael,
@michael@thms.uk avatar

Got to say: Just been through upgrading an app from 8.1 to 8.3 and it's really nice and painfree.

Very few breaking changes, and the few that are there are stuff that a sensible person would've addressed a long time ago.

Unfortuantely that means that apart from readonly classes, there are also few exciting new things in there. But I guess these also are just point updates after all…

Almost boring 😉 (Not a bad thing! Stability is also nice.)

Crell,
@Crell@phpc.social avatar

@michael As a general rule, "well-behaved" code tends to upgrade very easily and quickly. Code that is not well-behaved... less so.

Mainly that's because older PHP versions allowed all sorts of stupid shit, and the list of allowed stupid shit has been steadily decreasing over the years. The less stupid shit your code does, the easier the upgrade process will be. 🙂

michael,
@michael@thms.uk avatar

@Crell yep I still got scars from when I upgraded my very first ever PHP application from 3 to 5. I was a kid when I started writing that app, so it definitely was full of stupid shit (still is, to be honest: always only ever stuck on band aids - the full rewrite is finally planned for later this year), so the upgrade was beyond hard.

But yeah, since then I’ve learned how to code properly (I think) so upgrades tend to be a lot simpler.

That first experience traumatised me for life though, so I’m still always scared when I start …

phpday,
@phpday@phpc.social avatar

phpday 2024 is done! Thanks to the amazing speakers, sponsors and attendees! What a blast!

See you next year!

image/jpeg
image/jpeg

alessandrolai, Italian
@alessandrolai@phpc.social avatar

Just got down from the stage, wow! Thank you for all the questions!

Now after me at is time for @afilina to talk about her adventures in legacy codebase and upgrading them to the newest version!

phpday,
@phpday@phpc.social avatar

We are back after the lunch break! Now on stage Alessandro Lai, with the talk titled "Symfony Messenger: the sharpest tool in your PHP toolbox"

alessandrolai, Italian
@alessandrolai@phpc.social avatar

Right now on stage, Enrico Zimuel presents a talk about LLM in , and reminds us how LLM are "based on really big deep learning networks, no one fully understand how it works internally'

alessandrolai, Italian
@alessandrolai@phpc.social avatar

Now @Girgias is doing live coding on the stage in the codebase

Pretty bold if you ask me! 😂

alessandrolai, Italian
@alessandrolai@phpc.social avatar

We now have @rob talking about CI/CD and Github Actions!

wowa_TYPO3, German
@wowa_TYPO3@techhub.social avatar

🚀 Stell dir vor: Du verpasst das "Business Roundtable: Digital mit TYPO3" Event und hörst später, wie andere von bahnbrechenden Einsichten und neuen Partnerschaften berichten.
Nicht cool, oder?
Nur noch 7 Tage, um dieses Szenario zu vermeiden.
https://wwagner.net/events/business-roundtable-digital-mit-typo3

sarah,
@sarah@phpc.social avatar

Just tweaked my slides for @phpday and I think they're ready to go! Will I see you at 16:40 for Twenty lessons from twenty years of ?

thomastospace,
@thomastospace@phpc.social avatar

@sarah @phpday Will see it from a distance! Excited about it

mobileatom,
@mobileatom@flipboard.com avatar

T3CON Recap—Web Analytics: Balancing Data Collection, Privacy, and User Experience

https://typo3.com/blog/t3con-recap-web-analytics?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

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