is the pixelfed directory submission not working? after many days still showing as waiting for approval. mades changes and resubmitted today. anyone know why it would be removed in the first place?
I've got a weird thing going on when trying to test an Http request made with #Laravel.
I'm using the HTTP client with a custom middleware to modify the request using
->withMiddleware(
Middleware::mapRequest()
)
When doing the Http::assertSent() the request that is passed to the callback does not seem like it's passed through the middleware, although when I inspect the response, the request seem correct. Did I find a bug? Help! #PHP
Has anyone worked with MJML before? Having issues with one particular email client not rendering messages properly. Thinking of giving MJML a try with Spatie's Laravel integration.
Ich bin auf Arbeit ja nicht nur Full Stack #Webdev, sondern auch Teamlead. Eine meiner Aufgaben (die ich mir selbst gegeben habe) ist, meinem Team teils die Fundamentals von Dingen zu erklären.
Einfach weil heutzutage (Durch Bootcamps, Tutorials und sonst was) viele in den Beruf gehen und direkt mit #Sass, #Symfony / #Laravel, #Vue / #React etc. anfangen. Ohne #CSS, #PHP, #HTML und #JavaScript im Kern richtig kennenzulernen.
Und jedes Mal, wenn ich eine solche Session hinter mir habe, fühle ich mich einfach gut. Meist egal wie es mir vorher ging, danach ist einfach eine positive Grundstimmung in mir.
Wenn ich irgendwann mal keine Lust mehr habe, selbst beruflich als Webdev zu arbeiten, werde ich definitiv versuchen irgendwo als Lehrkraft reinzukommen. Ich kann mir echt vorstellen, dass das etwas ist, mit dem ich glücklich und alt werden könnte.
Macros are one thing I enjoy using the most in #Laravel. It's a way to extend the functionality of many built-in #Facades 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.
This article uses #React as it's main example, but it applies to #Laravel, #Tailwind, even #Drupal 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.
Every time I work with #Laravel#Livewire, I spend significantly more time reading and trying to understand the documentation, than with every other #PHP tool or framework. The amount of edge cases you run into is frustrating, and it feels like you are basically lost if your use case is just a bit special.
Can’t be the only one with these problems.
When developing #Laravel applications I'm always a little afraid of sending emails to actual customers or placing real orders by accident. So I came up with a habit that works super well for me and maybe this will suit you as well.
In my /config/mail.php I add a 'developer' email address and ensure in my AppServiceProvider all emails are sent to this address when in non-production environments no matter what. Makes me build and test stuff way more confidently 😁
While deleting all of my replies on X, I stumbled across this Google Trend from Dec 2013, comparing #Laravel#CodeIgniter#CakePHP and #Symfony. Attached are the original from 2013 and the same trend from today. Originally posted by maxsurguy on X
Has anyone managed to get #Laravel's Isolatable commands working? I dunno what I'm doing wrong, but I'm able to run an Isolatable command via artisan console in 2 separate terminals and they both execute just fine.
I've started enjoying working with #laravel, but things like the throw_unless helper functions really annoy the hell out of me. It does not offer any added value and makes the code less readable.
Glide from The PHP League looks like an awesome package. Going to be trying this out tonight or tomorrow on a project that will benefit from the real-time image resizing. Most likely will use #Laravel ImgFly to implement in our Laravel project.
Was für einen Scheiß ich teilweise damals bei #Questlog zusammenprogrammiert habe. Es ist krass, wie schlecht ich vor einem Jahr noch mit #Laravel umgehen konnte.
Also ja, ich sag selbst immer »Wenn du dir deinen Code nach 6 Monaten anschaust und denkst, er sei immer noch gut, hast du in der Zeit nichts gemacht«, aber holy cow…
Jetzt zum Glück nichts sicherheitskritisches, aber in Sachen Performance kann ich da so viel rausholen. 😅 Keine Ahnung, was ich mir damals dabei gedacht habe, aber das Unwissen zum Thema Pivot-Tabellen war definitiv ein Teil davon.
Teilweise sind die Sachen aber auch so tief drin, dass ich das nicht "mal eben nebenbei" fixen kann, sondern das isoliert machen sollte. Bei einigen Sachen geht das, bzw. ging das und ich hab es schon optimiert, aber das Hauptfeature (Tracken von Games) ist performancetechnisch so unfassbar ineffizient. 😅 Bevor ich das komplett umbaue, muss ich dafür aber definitiv viele und robuste Tests schreiben.
Aber hey, durch sowas sehe ich immerhin, wie viel ich in der Zeit lernen konnte. Der Code, den ich heute schreibe hat nichts mehr mit dem Code von vor einem Jahr zu tun. 😅
Wow, I do have to say that I find this rather creepy from #Tinkerwell / #BeyondCode: I’ve been on holiday for two weeks, and I receive this email from them because I haven't used the app during that time.
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.
Anyone use Lando for local development environments? Am thinking of switching to it for our team. We work on a mix of WordPress, Laravel & Symfony projects. https://lando.dev/
I’m thinking of writing an introduction to #Laravel for current #WordPress#developers. Would you find this useful? And for anyone who’s already crossed that divide, what do you wish you’d known earlier?
#laravel#php folks using Laravel 10 — how are you doing validation at the model level? We have a need for this at $dayjob — things like “this field that is a percentage value cannot be more than 100 or less than 0 when the record is saved”