Reddit » Laravel
30 FOLLOWERS
A subreddit for Laravel, the PHP Framework For Web Artisans. Talk about Laravel jobs, Laracasts, Laravel packages, programming and more. Reddit is a network of communities where people can dive into their interests, hobbies, and passions.
Reddit » Laravel
2d ago
I’ve created a video on how to build a ChatGPT clone with livewire 3, Laravel 11 and PrelineCSS.
submitted by /u/Tilly-w-e
[visit reddit] [comments ..read more
Reddit » Laravel
3d ago
I don't know if these kind of posts are allowed within the subreddit, but I just want to take some time to share with you the appreciation I have for the PHP community, and Laravel as well, and the fact we should be glad we're blessed.
For the context, I have been developing for quite some years, and for backend, it was mainly PHP, with Laravel as my go to framework, both on professional and personal projects.
I have taken a role recently which got me to work on a backend project, under Node.js, and I must say it has been a trip so far, that at times made me greatly miss PHP.
I will be sharin ..read more
Reddit » Laravel
3d ago
Referring to the documentation, it states:
Deferring the loading of such a provider will improve the performance of your application, since it is not loaded from the filesystem on every request.
Based on my understanding, even if you define a custom service provider like this:
class RiakServiceProvider extends ServiceProvider implements DeferrableProvider { public function register(): void { $this->app->singleton(Connection::class, function (Application $app) { return new Connection($app['config']['riak']); }); } public function provides(): array { return [Connection::class]; } }
I ..read more
Reddit » Laravel
3d ago
Filament Context Menu Plugin lets you add right-click context menus for faster actions on pages & tables.
Read More
submitted by /u/aymanalhattami
[visit reddit] [comments ..read more
Reddit » Laravel
3d ago
I'm constantly exhausting my PHP's memory limit. I believe it's due to loading too many models into memory. My current setup is works something like this: I have 75 models that have many other related models (~243) that belong to many other related models (~6) with pivot data.
Once we get down to it, I'm looking at 120k+ models loaded into memory. That last set of models being a majority of those but I know there are tons upon tons of duplicates in there.
Is there anyway to call these relationships by reference with eloquent?
submitted by /u/pitcherc
[visit reddit] [comments ..read more
Reddit » Laravel
4d ago
I do a lot of full-stack solo projects for clients. Simple stuff for the most part, nothing crazy. Mainly for clients who want something more custom and more advanced than a typical Wordpress/Shopify site, but don’t have the capacity to hire a boutique agency or an internal team. So they end up with skilled freelance work as a happy medium.
Most projects involve authentication, database optimization, occasionally caching if a high volume site, and occasionally store-based state management if there is a lot of custom functionality. I use Tailwind and Blade for the front-end views, and write my ..read more