mobileatom, to javascript
@mobileatom@me.dm avatar

Explore our article: Frontend Madness: SPAs, MPAs, PWAs, Decoupled, Hybrid, Monolithic, Libraries, Frameworks! WTF for your PHP backend? https://symfonystation.mobileatom.net/Frontend-Madness-JS-PHP-Backend

symfonystation, to javascript
@symfonystation@newsletter.mobileatom.net avatar
michael, to Laravel
@michael@thms.uk avatar

Oh wow. That’s quite the revelation!

I’ve just spent quite way too much time scratching my head today thinking ‘I swear doing request()->route('param') used to get me the full model. Why is it only getting me a string now?!

Thanks @jclermont

https://phpc.social/@jclermont/112377153052040020

jclermont, to php
@jclermont@phpc.social avatar
codappix, to php German
@codappix@phpc.social avatar

Keine Hürde zu hoch, keine Herausforderung zu schwer. Zudem sind Probleme nunmal erfunden worden, um sie zu lösen 😉. Bei Anfragen rund um individuelle Webentwicklungen aller Art, gerne wenden an hallo@codappix.com ✅. Wir freuen uns auf deine Herausforderung.

valorin, to Laravel
@valorin@phpc.social avatar

Securing Laravel has now officially moved to Ghost from Substack! 🎉

I'll be sending out the first Security Tip written on Ghost later today, but first, it's time for a migration discount!

For the next 2 weeks, you can get 25% off a new Securing Laravel subscription! 🎂

https://securinglaravel.com/ghost-migration-discount/

array, to php
@array@fosstodon.org avatar

My first was 8.0, still in school, and I confess that I began learning it with the prejudice of it being a junky, terrible language everybody was making fun of. Fast forward ~1 year later, after finishing my internship, where I used full stack mainly, and having discovered that not only it wasn't that bad, but really a pleasure to work with. Not perfect, but perfectly suitable for its use cases and, what's perfect anyway? So reading this has been a joy. :D https://developerjoy.co/blog/php-doesnt-suck-anymore

Crell, to react
@Crell@phpc.social avatar

This article uses as it's main example, but it applies to , , even just a much. I say that as a recovering Drupal dev who used to use the standardization argument.

Greedy management is the reason we can't have nice things.

https://www.baldurbjarnason.com/2024/react-electron-llms-labour-arbitrage/

jclermont, to php
@jclermont@phpc.social avatar

Yes, I'm a bit of a PHPStorm fan boy. Here's another handy use for the Local History feature. https://masteringlaravel.io/daily/2024-05-02-another-helpful-use-for-local-history

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
michael, to php
@michael@thms.uk avatar

Pretty cool stuff. Though I'm also wondering if leaving the connection open and reusing it repeatedly might have downsides too, especially if I have need to connect to many different hosts?

https://www.youtube.com/watch?v=BWAocgJVCbw

#PHP #Laravel

3f, to php German
@3f@chaos.social avatar

#php #laravel #testbench

Is there a way to "update composer" during a test run using cli in the testbench composer.json?

jclermont, to php
@jclermont@phpc.social avatar

Fresh off php tek last week, I'm reminded that conferences are so much more than just the talks. https://masteringlaravel.io/daily/2024-05-01-conferences-are-more-than-just-talks

dunglas, to Laravel
@dunglas@mastodon.social avatar

Yesterday I learned that it's possible to change the path where #Laravel apps store uploaded files, caches, logs, etc thanks to the LARAVEL_STORAGE_PATH env var. This is super convenient when distributing apps as standalone binaries using FrankenPHP.

https://github.com/laravel/framework/pull/51243

cooptilleuls, (edited ) to Laravel French
@cooptilleuls@mastodon.online avatar

Nous avons le plaisir d'annoncer la sortie d'@ApiPlatform 3.3 ! Découvrez avec @soyuka, le release manager du framework, ce que comporte cette nouvelle version :

🖍️ De nouvelles options ajoutées aux classes de métadonnées
✨ Une ouverture sur
🔩 Et plein de nouveautés
https://les-tilleuls.coop/blog/sortie-de-api-platform-3-3

Feedbacks grandement appréciés !
https://les-tilleuls.coop/blog/sortie-de-api-platform-3-3

sirber, to Laravel
@sirber@fosstodon.org avatar

#Laravel / Eloquent looks way easier than #nestjs / typeorm and #go / #gin / #gorm 😅

#php #webdev

pieceofthepie, to Laravel
@pieceofthepie@n8e.dev avatar

#ProLifeTip. Put more effort into periodically reinforcing the learning that got you to this point in your career, because at some point you might spend a weekend implementing something from scratch and realising you've literally forgotten it all.

The wheel aren't rusty, they've fallen off.

How does one work with #Laravel?
What is a Dockerfile? WTF is Vite?

#SeniorMyArse #SoftwareDeveloper #Dev #Docker #Linux #PHP

pieceofthepie, to Laravel
@pieceofthepie@n8e.dev avatar

Been battling to get working with rootless all evening and aren't having much luck. Boo to overly complex things.

It's so close to working well but the whole uid/gid mapping thing just falls apart when the container starts running things as different users. All of a sudden there're large parts of my source tree that I can't edit, not to mention being unable to use artisan make tools.

simonhamp, to php
@simonhamp@phpc.social avatar

A few hours ago I managed to get a statically-linked build of PHP for Windows working on a machine with no prior #PHP installation

This build is a single-file distributable executable that can run a #Laravel application

This is a major milestone for #NativePHP as it will now be able to support all the major desktop platforms 🎉

j3j5, to php
@j3j5@hachyderm.io avatar

Does anybody on the fedi Laravel community knows Aaron Francis? It's really sad that his (awesome) fast-paginate package seems abandoned like this, maybe just a statement acknowledging he can't/doesn't want to maintain it anymore can make the community fork it to keep it maintained. This L11 support PR has been opened and unanswered for 2 months already.

https://github.com/hammerstonedev/fast-paginate/pull/58

#PHP #Laravel

doefom, to Laravel
@doefom@mastodon.social avatar

Using the "Higher Order Messages" of #Laravel can save you some code. The following examples all filter for published posts in three different ways. I'm not yet sure which way I like the most. Probably (2) and (3).

shawnhooper, to php
@shawnhooper@fosstodon.org avatar

Do you use Carbon for your #PHP Date calculations? The diffIn* methods have changed in V3.

This is documented, but still caught me by surprise when testing updating to #Laravel 11.

https://shawnhooper.ca/2024/04/11/breaking-change-diffin-carbon/

j3j5, (edited ) to Laravel
@j3j5@hachyderm.io avatar

Question for my fellas:

Do you think Bus::dispatch()and dispatch() behave exactly the same? Should they?

Boosts appreciated, obviously :)

j3j5,
@j3j5@hachyderm.io avatar

We're getting close to finishing so I'll expand. While fixing a bug on the rector-laravel package, I find out that you can queue closures using dispatch (as per the docs) but you can't when using Bus::dispatch(). I thought this was a bug but I got the issue closed (probably for not being assertive enough, haha). What do you think?

https://github.com/laravel/framework/issues/51150

#Laravel #PHP

kaiserkiwi, to webdev
@kaiserkiwi@corteximplant.com avatar

Wanted to get some low hanging fruit tickets done for Questlog. Well I also decided to create more robust testing and now I finished the first task after 3 minutes and fighting Pest for 27 minutes now.

Why in all seven hells is Game::factory()->count(5)->create(); not creating 5 games? It's always 2 or 3. Never 5. This is absolutely infuriating…

I just wanted to get my list shorter and don't break stuff while I do.

The fun part? Also creating all 5 games manually fails. Without any log or something like that…

kaiserkiwi,
@kaiserkiwi@corteximplant.com avatar

Oof. This was a really stupid error… My factory generated games with different categories. Main Game, DLC/AddOn and Expansion.

But the view I was testing filtered games by Main Game only… So by chance it was extremely unlikely that every game is a Main Game and so the count never was 5.

If feel really dumb right now.

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