pxlmo, to Pixelfed
@pxlmo@pxlmo.net avatar

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?



j3j5, to Laravel
@j3j5@hachyderm.io avatar

I've got a weird thing going on when trying to test an Http request made with .
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!

shawnhooper, to email
@shawnhooper@fosstodon.org avatar

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.

https://mjml.io/

https://github.com/spatie/mjml-php

kaiserkiwi, to webdev German
@kaiserkiwi@corteximplant.com avatar

Ich bin auf Arbeit ja nicht nur Full Stack , 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 , / , / etc. anfangen. Ohne , , und 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.

SuitedUpDev, to Laravel
@SuitedUpDev@mastodon.online avatar

After getting source code back I worked on almost 2 years ago. Code of which, I was pretty proud of.

Controllers went from a true CRUD approach (so 'index', 'store', 'show', 'delete' and 'update') to a "SomeController@someFunction".

FormRequests are replaced with inline validation and inline authentication checking in the controllers.

doefom, to Laravel
@doefom@mastodon.social avatar

Macros are one thing I enjoy using the most in . It's a way to extend the functionality of many built-in 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.

Here's what this might look like.

jclermont, to Laravel
@jclermont@phpc.social avatar

Don’t explicitly install dependencies if you don’t need to. https://masteringlaravel.io/daily/2023-09-04-dont-explicitly-install-dependencies

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/

SuitedUpDev, to php
@SuitedUpDev@mastodon.online avatar

Found this in a job offering at a startup.

Looking for a developer that has experience with , AND

Honey, you aren't looking for just one person. You are looking for an entire development team.

shane, to Laravel

Writing Native Apps in PHP

by @marcelpociot

#laravel #laracon #laraconau

image/jpeg

Kovah, to Laravel
@Kovah@mastodon.social avatar

Every time I work with , I spend significantly more time reading and trying to understand the documentation, than with every other 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.

shane, to Laravel

Building an accessibility testing habit

by Larene Le Gassick

#laravel #laracon #laraconau #accessibility

image/jpeg
image/jpeg

doefom, to Laravel
@doefom@mastodon.social avatar

When developing 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 😁

Is there a better approach?

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

While deleting all of my replies on X, I stumbled across this Google Trend from Dec 2013, comparing and . Attached are the original from 2013 and the same trend from today. Originally posted by maxsurguy on X

August 2023 Trend showing the dominance of Laravel.

dandb, to Laravel
@dandb@mas.to avatar

Has anyone managed to get '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.

Skoop, to Laravel
@Skoop@phpc.social avatar

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.

Important context: I really like #explicit code.

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

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 ImgFly to implement in our Laravel project.

https://github.com/shawnsandy/img-fly

kaiserkiwi, to Laravel German
@kaiserkiwi@corteximplant.com avatar

Was für einen Scheiß ich teilweise damals bei zusammenprogrammiert habe. Es ist krass, wie schlecht ich vor einem Jahr noch mit 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. 😅

michael, to php
@michael@thms.uk avatar

Wow, I do have to say that I find this rather creepy from / : 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.

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

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

Question for my #laravel fellas:

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

Boosts appreciated, obviously :)

SuitedUpDev, to Laravel
@SuitedUpDev@mastodon.online avatar

Can you tell I really dislike 'use DatabaseMigrations' ? 😅

simonrjones, to php
@simonrjones@mastodon.social avatar

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/

#php #wordpress #laravel #symfony #localDev #localDevelopment

ChrisHardie, to Laravel

I’m thinking of writing an introduction to for current . Would you find this useful? And for anyone who’s already crossed that divide, what do you wish you’d known earlier?

grmpyprogrammer, to Laravel
@grmpyprogrammer@phpc.social avatar

#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”

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