Ask questions about frameworks, try your hand at php golf and strike gold or simply show off your latest work.
376 followers 25 articoli a settimana
Laravel Under The Hood - The Strategy Pattern

Have you ever wondered how Laravel switches between different drivers' implementations? Well, hang tight, we will learn how! TL;DR: We will discuss the strategy pattern in Laravel, how it works under the hood, and we will also discuss two other patterns: the builder pattern and the pending object pattern. Any feedback or questions are welcome. I've...

Mon May 13, 2024 01:01
Who here uses `else if` instead of `elseif` ?

If you use else if (with a space between the words) instead of elseif (no space), would you please link to your project here, or DM me with a link? I am testing the "else if to elseif" conversion logic in PHP-Styler and would like to include more real life cases. EDIT: Too late now, but the intent here is not to argue the merits (or lack thereof) regarding...

Sun May 12, 2024 20:59
How do you go about laravel 11 migration with breaking changes in migrations?

I'm about to migrate laravel 10 to 11, and I'm reading upgrade guide. One part that is particurally disturbing is here: https://laravel.com/docs/11.x/upgrade#modifying-columns I have about 1000 migrations in my project, and now they change the attributes in models. How did you manage to work around this? Did you use this schema-dump approach, or did...

Sat May 11, 2024 19:59
Need help passing technical interviews

Alert: long post / ranting out of frustration Hello, I'm supposedly a "senior" PHP dev with 7 years of experience who hasn't passed technical interviews at 4 different companies. I did well in the technical challenges before these technical interviews, but I often encounter questions I don't know, such as: What's the difference between factory and...

Sat May 11, 2024 16:59
Flexhub - repository for private symfony/flex recipes

submitted by /u/ofcRS [link] [comments]

Sat May 11, 2024 05:00
PHP 8.2.19 compile requires C++17?

I can't seem to compile PHP 8.2.19 on CentOS 7. The configure stops at: checking if intl requires -std=gnu++17... yes checking whether g++ -std=gnu++11 supports C++17 features with -std=c++17... no checking whether g++ -std=gnu++11 supports C++17 features with +std=c++17... no checking whether g++ -std=gnu++11 supports C++17 features with -h std=c++17......

Sat May 11, 2024 05:00

Costruisci il tuo feed di notizie

Pronto a fare un tentativo?
Inizia una prova di 14 giorni, nessuna carta di credito richiesta.

Crea account