PHP

Crell, (edited )
@Crell@phpc.social avatar

Hey . When you use union and intersection types, do you include spaces?

(RT for reach, etc. This is survey data for @phpfig. If you know of any official policies by major projects already, please note/link in the replies.)

Crell,
@Crell@phpc.social avatar

@ramsey @phpfig Have a link for Symfony?

ramsey,
@ramsey@phpc.social avatar

@Crell @phpfig They don’t call it out here, but the code example shows using it without spaces. https://symfony.com/doc/current/contributing/code/standards.html

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

#php #documentation

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

danielsiepmann,

@phpdoc Thanks. I'm really looking forward to the "Extensions" feature as it sounds like something we wanna have for customer projects.

And I highly value the existing features in the release.

thomastospace,
@thomastospace@phpc.social avatar

Making PDF's in makes me cry.

mrbase,
@mrbase@phpc.social avatar

@thomastospace you can use gd to merge pdf documents

thomastospace,
@thomastospace@phpc.social avatar
reactphp,
@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!

premartinpatrick, French
@premartinpatrick@mastouille.fr avatar

Petit changement sur mes prévisions de :

Ca démarre sur aux alentours de 14/15 heure.
https://www.twitch.tv/patrickpremartin

cooptilleuls, 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

typo3, German
@typo3@typo3.social avatar

Did you miss the General Assembly last month? ⚖️

This month on the podcast, we speak with Mathias Bolt Lesniak, TYPO3 Project Ambassador, and Ben van 't Ende about the democratic process and the importance of community involvement! 🎙️

🎧Listen, let us know what you think and don't forget to subscribe! https://youtu.be/EpW9Rmt14AA?feature=shared

wowa_TYPO3, German
@wowa_TYPO3@techhub.social avatar

Hast du meinen letzten Stream über verpasst? Kein Problem! Schau dir jetzt die Aufzeichnung an und lerne einiges über Backstop JS und Visual Regression Testing. Lass uns zusammen in die Welt von und eintauchen! 👉 https://youtu.be/ad4AgfA_mQs

mikestreety, (edited )
@mikestreety@hachyderm.io avatar

I'm looking for a solution to branch-based previews for a / stack. We have nearly 60 sites we want to set this up for (a lot of services I find either charge $1000s or don't even support that many).

I don't want anything fancy, I don't need to edit in the browser. I would like to push a branch to gitlab and have the option to spin up an environment to preview.

I have considered doing it myself, but I was hoping to not have to support my own infrastructure.

gcg,
@gcg@phpc.social avatar

@mikestreety @ramsey after reading all the different replies to your post I would like to add couple of benefits of handling this on Cloud Run:

  • scale down to 0. So you only pay if you are using it (sending it traffic.)
  • same service on cloud run can have multiple versions live. (I create 1 service per repo and multiple versions for each PR with unique urls)
  • you have the option to create/attach a DB to each version/service or use production DB .
mikestreety,
@mikestreety@hachyderm.io avatar

@gcg @ramsey Ah, that is cool. What would be the killer feature is if it doesn't spin up until the URL is access & then shut down after ~10 mins of inactivity.

Devs & Ams would have no problem waiting a minute or two for it to startup to preview it

JustineSC9, French
@JustineSC9@mamot.fr avatar
wowa_TYPO3, German
@wowa_TYPO3@techhub.social avatar

⏰ Heute ist DER Tag! Der "Business Roundtable: Digital mit TYPO3" startet um 16 Uhr. Letzte Chance zur Anmeldung bis 15 Uhr. Stell dir vor, du könntest heute Abend die Lösung für dein größtes Business-Problem in der Hand halten – verpasse diese Chance nicht!
https://wwagner.net/events/business-roundtable-digital-mit-typo3

mobileatom,
@mobileatom@flipboard.com avatar
mobileatom,
@mobileatom@flipboard.com avatar

Running PHP blazingly fast at the Edge with WebAssembly.

https://wasmer.io/posts/running-php-blazingly-fast-at-the-edge-with-wasm?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

ntha,
@ntha@mastodon.social avatar

Re: Primitive Obsession (https://acairns.co.uk/posts/primitive-obsession)

I like the idea, but has anybody performance tested this? What happens when you're dealing with thousands of rows of data that pass every item along as class instants vs primitive types?

Crell,
@Crell@phpc.social avatar

@ntha Unless you're dealing with very large datasets, the cost of the SQL query to load it will be vastly more than the cost of making an object.

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