The whereRelation (A better version of whereHas) method in Laravel 8.x
September 5, 2021 — Checking the existence of relationships and fetching model records is quite easy in Laravel.
A blog on PHP, JavaScript, and more
September 5, 2021 — Checking the existence of relationships and fetching model records is quite easy in Laravel.
September 2, 2021 — The newest version of Safari, i.e Safari 15, on iOS is great. It comes with an all-new layout and a new way of navigating websites on it.
August 29, 2021 — Sometimes, it might be the case where you want to place/position the children elements that reside insides their parent absolutely.
August 24, 2021 — Regular expressions (RegEx) are great little strings that help in solving some of the complex problems that are rather hard if we don’t use the RegExes.
August 21, 2021 — Laravel offers mainly two ways to validate the request data inside of the controller methods. Either you can directly call the validate
method on the Illuminate\Http\Request
object and set the validation rules or you can create a form request and type-hint the controller method with this form request class.
August 20, 2021 — No matter what field your business is in, having a mobile application to improve your customer’s engagement and experience helps it immensely.
August 18, 2021 — Here’s a little tip for your React.js projects that can dramatically improve your developer experience.
August 16, 2021 — Sometimes, you might end up in a situation where you would want to add certain validation rules for fields.
August 13, 2021 — If you ask me what is that one thing that I (over)use when working with JavaScript, the only answer you’ll get is console.log()
.