PHP Newest

mmoya, to php

A filter to prepend Hello world! to /etc/passwd, source https://www.ambionics.io/blog/iconv-cve-2024-2961-p1

mobileatom, to php
@mobileatom@flipboard.com avatar

Fix Your Code With The Debug Backtrace.

https://alexwebdevelop.activehosted.com/social/58238e9ae2dd305d79c2ebc8c1883422.354?utm_source=flipboard&utm_medium=activitypub

Posted into THE FEDIVERSE VS. CORPORATE SOCIAL MEDIA @the

mobileatom, to Symfony
@mobileatom@flipboard.com avatar

Multiple SSO with Symfony and OneLogin SAML Bundle.

https://medium.com/

Posted into THE FEDIVERSE VS. CORPORATE SOCIAL MEDIA @the

jclermont, to php
@jclermont@phpc.social avatar

It's best practice to always use the config helper in our application code, except for one place: Don't use the config helper in config files.

Here's an explanation as to why. https://masteringlaravel.io/daily/2024-05-27-dont-use-the-config-helper-in-a-config-file

sarah,
@sarah@phpc.social avatar

@jclermont isn’t it better practice to inject the config you need into the places you need it, rather than globally calling a function?

typo3, to php German
@typo3@typo3.social avatar

Revolutionizing user experience at OTH Regensburg! 🚀 in2code transformed the OTH Regensburg website into a dynamic recruitment portal, boosting engagement and efficiency. Awarded the Award in 2023 for higher education, this recognition underscores in2code's specialization, elevating the project as a standout in the category.

Discover OTH Regensburg's design refresh in this new case study: https://typo3.com/customers/case-studies/oth-regensburg

image/jpeg
image/jpeg

sanjay_nitsan, to php
oliklee,
@oliklee@chaos.social avatar

@sanjay_nitsan I find bashing other open source projects neither funny nor helpful. Instead, I think projects supporting each other helps us all.

symfony, to Symfony
@symfony@mastodon.social avatar

🖥️ A Week of Symfony (20-26 May 2024)
➡️ https://symfony.com/blog/a-week-of-symfony-908-20-26-may-2024

koehnlein, to php German
@koehnlein@mastodon.social avatar

Leider kann ich dieses Jahr nicht bei den DevDays dabei sein. 🙁

Zur Trauerbewältigung habe ich mir jetzt ein Ticket für das Camp München gekauft. 😄 https://www.typo3camp-muenchen.de

Xitnelat,
@Xitnelat@wue.social avatar

Das Camp ist im Sperrbezirk? 🤔
@koehnlein @IchHabRecht

koehnlein,
@koehnlein@mastodon.social avatar

@Xitnelat @IchHabRecht Keine Ahnung. Ruf doch mal bei 32 16 8 an und frag nach.

wowa_TYPO3, to php German
@wowa_TYPO3@techhub.social avatar

Keine Lust mehr, wichtige TYPO3-News zu verpassen? Abonniere meinen kostenlosen Newsletter und sei immer top informiert! 🎉

Was bringt's dir?

► Aktuelle Trends und Updates
► Exklusive Tipps und Tricks
► Community-basierte Links

Neben den Links, die ich selbst sammle, kann jeder auch Links für diesen Newsletter vorschlagen. Ich überprüfe sie und nehme sie, wenn geeignet, in den Newsletter auf.
Die Möglichkeit dafür findest du auch auf der Anmeldeseite.

Die nächste Ausgabe kommt diese Woche – melde dich jetzt an und nutze die Vorteile:
https://wwagner.net/typo3-newsletter

dseguy, to php French
@dseguy@phpc.social avatar

foreach() works on arrays and objects. On objects, it skips uninitialized properties, which may be very convenient with readonly properties : otherwise, it is a fatal error!

https://php-tips.readthedocs.io/en/latest/tips/foreach_skips_uninitialized.html

nyamsprod, (edited ) to php
@nyamsprod@phpc.social avatar

I know that ship has already sailed but it would have been nice if the spread operator on iterable did follow the semantic of iterator_to_array with the preserve keys argument being true

For context: https://3v4l.org/AKEbB

zimzat,
@zimzat@mastodon.social avatar

@nyamsprod It has the same behavior as array_merge, which makes it very consistent 1-to-1 behavior.

I've seen the default iterator to array key behavior bite people more often, especially when doing iterator to array on multiple yield/from generators.

nyamsprod,
@nyamsprod@phpc.social avatar

@zimzat I get the reasoning behind but would have been "cool" nice to have the iterator_to_array behaviour when working with iterator it seems more appropriate

doefom, to Laravel
@doefom@mastodon.social avatar

Macros are one thing I enjoy using the most in . It's a way to extend the functionality of many built-in by providing custom callbacks for a specific key.

One production example I use macros for fairly often is what I call the "admin alert". Especially in smaller applications I want to get notified whenever an error or an event occurs the admin (mostly that's me) should know about.

Here's what this might look like.

emd,
@emd@cosocial.ca avatar

@doefom welcome, let me know if I can help you get going with them

doefom,
@doefom@mastodon.social avatar

@emd thanks for the offer! Do you know a GitHub repo where this is used and I can take a look at?

DbToolsBundle, enfin un outil pour utiliser légalement nos données de prod en local (jolicode.com)

"Nul n'est censé ignorer la loi", commençons donc par une piqûre de rappel : Il est illégal d'utiliser les données personnelles de vos utilisateurs ailleurs que sur la prod. Plus précisément, le RGPD1 indique que : Les données à caractère personnel doivent être : traitées

mobileatom, to Symfony
@mobileatom@flipboard.com avatar

DbToolsBundle, enfin un outil pour utiliser légalement nos données de prod en local.

https://jolicode.com/blog/dbtoolsbundle-enfin-un-outil-pour-utiliser-legalement-nos-donnees-de-prod-en-local?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

mobileatom, to Symfony
@mobileatom@flipboard.com avatar
carbontwelve, to php
@carbontwelve@notacult.social avatar

Ooh look is getting some more JavaScript array functions https://laravel-news.com/php-8-4-array-find-functions

Crell,
@Crell@phpc.social avatar

@carbontwelve More like functional tools. :-) The functionality exists in most languages standard libraries at this point.

ollieread, to php
@ollieread@phpc.social avatar

So, I’m building a dependency-injection package, and it’s a lot of fun. I’ve gone a route that I don’t really see many, if any, following. I suspect it may be that a lot of the solutions out there are old, and while they have been updated, they’re still going to inherit certain approaches.

ollieread,
@ollieread@phpc.social avatar

@ramsey I happen to already have an example screenshot for this!

ollieread,
@ollieread@phpc.social avatar

@ramsey There are also a number of others, like the Shared, Provider, Scope, and Factory attributes.

phpc, to php
@phpc@phpc.social avatar

WHAT IS HAPPENING, MY PHPEOPLE!

doefom,
@doefom@mastodon.social avatar

@phpc PHPEOPLE, that’s awesome

SenseException,
@SenseException@phpc.social avatar

@phpc Replace all the Ps with PHPs.

Just like PHP mostly got reduced to overriding/replacing eCommerce framework functionality with custom code.

leanpub, to php
@leanpub@mastodon.social avatar

Advanced Web Application Architecture https://leanpub.com/web-application-architecture by Matthias Noback is the featured book on the Leanpub homepage! https://leanpub.com

kimai, to Symfony
@kimai@phpc.social avatar

Proud to be part of family:

https://symfony.com/projects/kimai

mobileatom, to Symfony
@mobileatom@flipboard.com avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • cubers
  • mdbf
  • everett
  • magazineikmin
  • Durango
  • Youngstown
  • rosin
  • slotface
  • modclub
  • kavyap
  • ethstaker
  • provamag3
  • ngwrru68w68
  • thenastyranch
  • cisconetworking
  • khanakhh
  • osvaldo12
  • InstantRegret
  • normalnudes
  • Leos
  • tacticalgear
  • tester
  • megavids
  • anitta
  • lostlight
  • All magazines