DRYing up test coverage using model scope events
– devonmather.dev - submitted by Devon Mather
Let's explore the option of firing events on model scopes to add some glue between our feature tests and our unit tests.
Read more [devonmather.dev]
– devonmather.dev - submitted by Devon Mather
Let's explore the option of firing events on model scopes to add some glue between our feature tests and our unit tests.
Read more [devonmather.dev]
– github.com - submitted by STEPHEN JUDE
Filament blog builder that supports both Markdown and Richtext editors.
Read more [github.com]
– youtu.be - submitted by Ashish Dhamala
Here, we will be looking at how to create a search functionality using alpine js with up and down keyboard click support. You can use up and down keys to navigate the items after search and click enter to take you to the selected item page. Also clicking outside the searched item and escape key will close the dropdown list.
Read more [youtu.be]
– www.smashingmagazine.com - submitted by Leonardo Losoviz
Matt Mullenweg has expressed interest in having the WordPress editor comply with the Block Protocol, a recently-released specification which aims to have “blocks” be portable across applications. This article analyzes potential positive outcomes if this event comes to happen.
Read more [www.smashingmagazine.com]
– github.com - submitted by Ashish Dhamala
My second step towards making Laravel packages. Using this package you can add a beautiful date or datetime picker into your project without touching any javascript with the power of laravel component. It is just a laravel component wrapper for the Flatpickr javascript library.
Read more [github.com]
– youtu.be - submitted by Ashish Dhamala
Here, we will be looking into Laravel Blanket which is a very beautiful dashboard to view your HTTP Client requests in Laravel. Laravel Blanket is a package with wraps Laravel HTTP client requests and provides logs for request and response, also gives the option to retry any request from the dashboard and more...
Read more [youtu.be]
– tighten.com - submitted by Jamison Valenta
What's all the fuss about React hooks? In our latest blog post, we share the basics of managing state with hooks in a React app.
Read more [tighten.com]
– 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]