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

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

Natanox, to webdev
@Natanox@chaos.social avatar

I probably get flooded by asking this but welp, here I go:

I'm looking for a good, visual (!) #tutorial for #WebDevelopment that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn #HTML, #CSS, #PHP and #SQL. Perhaps some minor #Javascript, however I'd like to primarily work without it.

I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is #programming.

Anyone knows something that checks these boxes?

ramsey, to random
@ramsey@phpc.social avatar

Thanks to kochen and jankal on GitHub (don’t think either are here in the Fediverse), there’s a new version of ramsey/uuid-doctrine (v2.1.0), with support for doctrine/dbal v4 and binary types in PostgreSQL. 🎉🎊🥳

#PHP #UUID #Doctrine

https://github.com/ramsey/uuid-doctrine

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

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

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.

linuxiac, to linux
@linuxiac@mastodon.social avatar

Learn how to install the LEMP stack on Ubuntu 24.04 LTS with our step-by-step guide. Nginx, MariaDB, and PHP setup made simple.
https://linuxiac.com/how-to-install-lemp-stack-on-ubuntu-24-04-lts/

html5test, to random
@html5test@mastodon.social avatar

I just ran into an UUIDv4 collision. Two identical UUIDs generated, just two days apart. Lucky me.

ramsey,
@ramsey@phpc.social avatar

@html5test @jimw This can happen if the underlying random number generator forks and reuses the same process state. This happened with OpenSSL years back, and became a big issue for a library I maintain in .

Here's a link to a summary of the problem: https://github.com/ramsey/uuid/issues/80#issuecomment-188286637

martijn, to fediverse
@martijn@ieji.de avatar

Writing the most basic implementation in that is compatible with shared hosting. I've seen some other great projects, but I needed a "call this function with a simple message" functionality for some existing websites

phpc, to php
@phpc@phpc.social avatar

WHAT IS HAPPENING, MY PHPEOPLE!

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 #ebooks #PHP #WebDevelopment #SoftwareArchitecture

mobileatom, to Symfony
@mobileatom@flipboard.com avatar
mobileatom, to Symfony
@mobileatom@me.dm avatar

Explore today's @SymfonyStation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://symfonystation.mobileatom.net/Symfony-Station-Communique-24-May-2024 🇺🇦

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
pwaring, to php
@pwaring@fosstodon.org avatar

Finished client work for the week so spending a bit of time on side projects. Just closed two outstanding issues on my repository for bootstrapping PHP applications using the Slim framework, bringing the total down to zero.

phpdoc, to php
@phpdoc@phpc.social avatar

phpDocumentor 3.5 is here! With better Guides support and now fully functional RST! Automatic generated class diagrams by querying your code base and much more!

Let us know what you like in this new release!

https://github.com/phpDocumentor/phpDocumentor/releases/tag/v3.5.0

ddd, to drupal
@ddd@drupal.community avatar

Excited to welcome Erik Erskine to 🥳

The session by Erik Erskine at is aimed at developers getting started with testing!

🔗 Learn more about the session at https://ddd2024.drupalcamp.bg/drupal-dev-days-2024/session/retrofitting-tests-existing-project

thomastospace, to php
@thomastospace@phpc.social avatar

Making PDF's in makes me cry.

reactphp, to php
@reactphp@phpc.social avatar

Just released v3.2.0 of our Promise component! 🎉

Today's release adds initial support for the upcoming PHP 8.4 release, improves reporting unhandled promise rejections and more 🚀

https://github.com/reactphp/promise/releases/tag/v3.2.0

Enjoy!

michael, to Laravel
@michael@thms.uk avatar

So, it really annoyed me that in Laravel 11 you cannot have multiple listeners for the same event in an array like you could in Laravel 10.

It's not like it's a big deal, as it's simple enough to implement, but just seems like a step backwards.

What do you think?

https://blog.thms.uk/2024/05/event-listeners-laravel-11?utm_source=mastodon

SymfonyStation, to Symfony
@SymfonyStation@drupal.community avatar

Have an idea for an article for us to write on Symfony Station? Contact us here on the Fediverse! And please sign up for our "newsletter" to get the latest news communiques and original content delivered to your inbox. https://symfonystation.mobileatom.net/Contact

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar

Have an idea for an article for us to write on Symfony Station? Contact us here on the Fediverse! And please sign up for our “newsletter” to get the latest news communiques and original content delivered to your inbox.

https://symfonystation.mobileatom.net/Contact

https://newsletter.mobileatom.net/have-an-idea-for-an-article/

cooptilleuls, to php French
@cooptilleuls@mastodon.online avatar

Nous sommes à l' Lille mais nous participons également à l'édition lyonnaise ! Près de 270 personnes sont présentes aujourd'hui à la CPE Lyon, à l'occasion de ce rassemblement d'expert·es . Bravo et merci @afup pour l'orga !

Photo de l'AFUP Day Lyon

theseer, to random
@theseer@phpc.social avatar

Is it just me or is getting worse by the day?

I'm runnig 2024.1 (Build -241.14494.237, built on March 27, 2024) but have to constantly restart the IDE to fix bizarre errors like PHPStorm claiming a property or parameter isn't used while highlighting the very use a line later, inconsistently resolving asserts with instanceof checks - e.g. claiming a method doesn't exist in the class referenced in a different assert and not seeing a parameter that is clearly there...

PHPStorm claiming a parameter is missing that is clearly there..

michael,
@michael@thms.uk avatar

@zf2timo tried that. Still having the same issues 😩 @theseer

#php #PhpStorm

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