Roberto Guido · @madbob
106 followers · 100 posts · Server sociale.network

Oggi mi è capitato di riciclare questo mio trick per l'infinite scroll su .
blog.madbob.org/laravel-infini

#Laravel

Last updated 1 year ago

Roberto Guido · @madbob
105 followers · 83 posts · Server sociale.network

Ho annunciato Larastrap - la mia libreria di componenti per Blade - sul subreddit dedicato a . Gli upvotes sono apprezzati ;-)
reddit.com/r/laravel/comments/

#Bootstrap #Laravel

Last updated 1 year ago

Roberto Guido · @madbob
100 followers · 67 posts · Server sociale.network

Ho scoperto solo adesso che già da 9 è nativamente implementato il caching per gli attributi personalizzabili.
Devo consultare più attentamente la documentazione, tra una versione e l'altra...
laravel.com/docs/9.x/eloquent-

#Laravel

Last updated 1 year ago

owls · @owls
115 followers · 2757 posts · Server mastodon.yshi.org

Hoping Vapor gets graviton support!

Forge added it back in 2020, and Bref has it now.

It's not a huge cost-saver at my volume (and I'm already Octane'd) but every millisecond helps 💪

#Laravel

Last updated 1 year ago

owls · @owls
115 followers · 2734 posts · Server mastodon.yshi.org

Is there a way to *conditionally* eager load a morph relationship's children in Eloquent?

I have Thing, Config, and Subconfig. Config is polymorphic, and only a couple of types of Config have Subconfig.

I need to load Subconfig -- but if Config doesn't use Subconfig, there's no reason to load Config at all and I would like to skip it.

Doesn't seem to be a way?

I can load() them per Config by examining its type, but I'm loading lots of Things and would like to just do one big Subconfig query instead of one per Config. Which is where I'm at right now.

#Laravel

Last updated 1 year ago

renfu · @renfu
0 followers · 1 posts · Server liker.social

用 laravel 接案以及公司的事情,通常在寫 api 或者功能性的網站

最近剛接觸 livewire,寫起來變成 livewire component,寫着寫着就覺得很不賴,這有點像 RoR 的概念

#livewire #Laravel

Last updated 1 year ago

Felix Huber · @felix
74 followers · 102 posts · Server huber.social

@outofcontrol for such cases laravel zero served me always well...

#php #Laravel

Last updated 1 year ago

Lukas Kahwe Smith · @lsmith
419 followers · 111 posts · Server mastodon.green

using @chartjs to render charts in the browser in a PHP app. now I want to email those charts once per week. pondering to call from to render the images. aim is to keep code duplication and logic running in NodeJs to a minimum while being the least hacky

#Laravel #nodejs #php

Last updated 2 years ago

Lukas Kahwe Smith · @lsmith
414 followers · 109 posts · Server mastodon.green

using to authenticate users. as they use a social login, they have no password, which seems to break "remember me" since AuthenticateSession validates that the passwordHash is not empty. setting a default password fixes this but feels like a security fail

#Laravel #socialstream

Last updated 2 years ago

Tyson_NW · @Tyson_NW
7 followers · 42 posts · Server dice.camp

And now I have the spell tool running. It looks rough but it is functional.

And as icing, I integrated the die roller.

tumblr.com/tyson-ot-nw/7069329

#DevDiary #ttrpg #Laravel

Last updated 2 years ago

Tyson_NW · @Tyson_NW
6 followers · 38 posts · Server dice.camp

Another full day of programming. I am two big steps, well one and three-quarters big steps, closer to having a functional site to go with my .

tumblr.com/tyson-ot-nw/7068411

#ttrpg #programming #php #Laravel

Last updated 2 years ago

Lukas Kahwe Smith · @lsmith
391 followers · 93 posts · Server mastodon.green

using , a form and below I show a list of items with an "edit" button. when that "edit" button is clicked it calls a livewire function in the component for the form to load the item values into the form. but now I want to scroll up to make sure the edit form above is visible. any advice?

#Laravel #livewire

Last updated 2 years ago

bzarb8n1 · @bzarb8n1
37 followers · 143 posts · Server canada.masto.host

Just upgraded to 9 (from 8), and liking the new bells and whistles!

#Laravel

Last updated 2 years ago

Lukas Kahwe Smith · @lsmith
266 followers · 43 posts · Server mastodon.green

is there a pattern in app to leverage remember-me in some parts of the app and a fresh login X mins ago for other parts of the app (fe. certain admin tasks)?

#Laravel

Last updated 2 years ago

📌 : ¿Qué es y cómo funciona?

my.mtr.cool/ytcfqitmjb

#Laravel

Last updated 2 years ago

owls, but thankful 🦃 · @owls
70 followers · 1470 posts · Server mastodon.yshi.org

Some times, when I run my E2E tests on github actions, my flash messages just randomly do not appear?

It's not consistent and it's never happened once on my machine *or* production.

This is the one spot I'm using the built-in php dev server but I have no idea why that would randomly lose session data? It should be written out to a file...

#Laravel

Last updated 2 years ago

Open Source Glasgow · @opensource
112 followers · 33 posts · Server glasgow.social

We're hosting our monthly "Intro to web development for beginners" tutorial tonight (Mon 14th) from 6pm in @thegamerclub - all welcome. We'll be using and

More info on our website: opensource.glasgow.social/

#Laravel #php #glasgow

Last updated 2 years ago

📌 : ¿Qué es y cómo funciona?

my.mtr.cool/eznxatkkpf

#Laravel

Last updated 2 years ago

owls, but thankful 🦃 · @owls
70 followers · 1450 posts · Server mastodon.yshi.org

So, I wanted to tag a v1.0.0 release of my form library when the app that I made it for went live.

That happened, and I forgot about tagging v1.0.0 because of the "Oh Fuck People Are Using This".

I guess ... I should consider that today? Maybe some docs updates to go with it, idk?

It's a tool for users to build forms, and other users to fill out those forms. It's got some fairly specific UI stack requirements.

github.com/NIT-Administrative-

#PHP #Laravel

Last updated 2 years ago

📌 Para qué sirve y cómo funciona 👉 buff.ly/3qeSBiL

#Laravel #PHP #Hosting

Last updated 2 years ago