Oggi mi è capitato di riciclare questo mio trick per l'infinite scroll su #Laravel.
https://blog.madbob.org/laravel-infinite-scroll/
Ho annunciato Larastrap - la mia libreria di componenti #Bootstrap per Blade - sul subreddit dedicato a #Laravel. Gli upvotes sono apprezzati ;-)
https://www.reddit.com/r/laravel/comments/13zfnr9/larastrap_bootstrap_blade_components/
Ho scoperto solo adesso che già da #Laravel 9 è nativamente implementato il caching per gli attributi personalizzabili.
Devo consultare più attentamente la documentazione, tra una versione e l'altra...
https://laravel.com/docs/9.x/eloquent-mutators#accessor-caching
Hoping #Laravel 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 💪
Is there a way to *conditionally* eager load a morph relationship's children in #Laravel 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 接案以及公司的事情,通常在寫 api 或者功能性的網站
最近剛接觸 livewire,寫起來變成 livewire component,寫着寫着就覺得很不賴,這有點像 RoR 的概念
using @chartjs to render charts in the browser in a #Laravel PHP app. now I want to email those charts once per week. pondering to call #NodeJS from #PHP to render the images. aim is to keep code duplication and logic running in NodeJs to a minimum while being the least hacky
using #laravel #socialstream 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
And now I have the spell tool running. It looks rough but it is functional.
And as icing, I integrated the die roller.
https://www.tumblr.com/tyson-ot-nw/706932956419260416/codename-neosys-journal-6
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 #ttrpg.
#programming #php #laravel #ttrpg
https://www.tumblr.com/tyson-ot-nw/706841133724155904/codename-neosys-journal-5?source=share
#ttrpg #programming #php #Laravel
using #laravel #livewire, 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?
Just upgraded to #Laravel 9 (from 8), and liking the new bells and whistles!
is there a pattern in #Laravel 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)?
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...
We're hosting our monthly "Intro to web development for beginners" tutorial tonight (Mon 14th) from 6pm in @thegamerclub #Glasgow - all welcome. We'll be using #php and #laravel
More info on our website: https://opensource.glasgow.social/
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.
📌 Para qué sirve #Laravel y cómo funciona 👉 https://buff.ly/3qeSBiL #PHP #hosting