Streamlining Your Controllers With Eloquent Scopes
β stephenjude.me - submitted by STEPHEN JUDE
In this article, I am going to be showing you how you can use Laravel Eloquent Scopes to clean up your controller methods
Read more [stephenjude.me]
In this section you'll find links submitted by others.
Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?
To be able to submit a link you need to log in first.
Log inβ stephenjude.me - submitted by STEPHEN JUDE
In this article, I am going to be showing you how you can use Laravel Eloquent Scopes to clean up your controller methods
Read more [stephenjude.me]
β protone.media - submitted by Pascal Baljet
This blog post follows up on the first overview of the new Blade, Requests, Routing and Validation features in Laravel 8 since the original release in September 2020. Enjoy!
Read more [protone.media]
β jorgeglz.io - submitted by Jorge GonzΓ‘lez
In the world of SQL Databases, it is pretty easy to update one or many records in a table, you just need to execute an UPDATE query with some column-value bindings and some filters if needed, this will help you either update single record, or update many records with the same data. But what if we want to update many records with independent data? π€
Read more [jorgeglz.io]
β twitter.com - submitted by Juan Pablo
When testing private methods, instead of using a helper method, consider using a wrapper class to improve readability.
Read more [twitter.com]
β stephenjude.me - submitted by STEPHEN JUDE
Multitasking is the ability to perform multiple tasks at once. Can you really do that? Yes, to some extent. Developing your context switching capacity is a boost to your multitasking power as a software developer.
Read more [stephenjude.me]
β youtu.be - submitted by Jonne Roelofs
In this video we will take a look at how you can pass configuration to the Flatpickr instance. We also make the configuration dynamic so you can have multiple datepickers with different configurations.
Read more [youtu.be]
β stephenjude.me - submitted by STEPHEN JUDE
In this article, I will show you a new way to register your global helper files inside your Laravel applications.
Read more [stephenjude.me]
β adevait.com - submitted by Filip Josifovski
As you may know, Oracle Database is not supported out of the box by Laravel. However, like a lot of things that are not supported out of the box, we can actually make Laravel work with Oracle Database. PHP has support for Oracle Database since 2003 through the OCI8 PHP extension. Pair that with the yajra/laravel-oci8 package and boom, we have Laravel working with Oracle Database.
Read more [adevait.com]
β stephenjude.me - submitted by STEPHEN JUDE
In this article, I am going to show you how you can fix your code using the Laravel code style and PHPFixer.
Read more [stephenjude.me]
β chrysanthos.xyz - submitted by Chrysanthos
Using HMR saves time since the part of the page that got changed is refetched automatically and replaced in the DOM . Unfortunately, Laravel Sail Docker configuration does not come with the needed HMR configuration so we need to do a couple of changes before running sail npm run hot.
Read more [chrysanthos.xyz]
β youtu.be - submitted by Jonne Roelofs
In this video we will have look at some of the gotchas you may run into if you decide to work with collections of models in Livewire. Along the way we will solve the problems your are most likely to run into.
Read more [youtu.be]
β youtu.be - submitted by Ashish Dhamala
In this video, we will see a Laravel tip where we will learn about enforce morph map. Using this method we can enforce to save a specific string to the database instead of a fully qualified class name. It is useful in the polymorphic relationship.
Read more [youtu.be]
β adevait.com - submitted by Filip Josifovski
Learn more about the issues faced while publishing a package on the Github package registry as a private NPM package, as well as how to use a private package in another project.
Read more [adevait.com]
β github.com - submitted by Chris
Laravel dumper improves the default dd() output for common Laravel classes to make your debugging experience easier. No more scrolling past thousands of lines of Service Container data to find what you need!
Read more [github.com]
β devdojo.com - submitted by Mithicher Baro
A simple reusable laravel blade component to print a section of the page when a button was pressed.
Read more [devdojo.com]
β youtu.be - submitted by Jonne Roelofs
In this video we we will take a look at some of the problems you may run into when working with child components. Some of the problems you may encounter are unwanted re-ordering of your child components, child components becoming unresponsive and child components not refreshing their data.
Read more [youtu.be]
β itsrav.dev - submitted by Sourav R
Output Buffering is not so popular these days, but it is powerful. with simple vintage OB technique I made a real-time payment process UI
Read more [itsrav.dev]
β adevait.com - submitted by Filip Josifovski
Learn more about JWT authentication in Laravel, how to create new custom guards, issue and verify JWT tokens manually, and much more from this detailed tutorial.
Read more [adevait.com]
β aaronfrancis.com - submitted by Aaron Francis
A slight modification to traditional offset/limit pagination that can drastically boost performance.
Read more [aaronfrancis.com]
β github.com - submitted by Sam CarrΓ©
A Laravel/PHP package that allows you to write your API integrations in a beautiful, standardised syntax.
Read more [github.com]