The setVisible and setHidden Eloquent methods in Laravel 9.x
January 11, 2023 — Laravel gives you a lot of flexibility when it comes to working with Eloquent models. You can easily customize the way you want to work with your models.
A blog on PHP, JavaScript, and more
January 11, 2023 — Laravel gives you a lot of flexibility when it comes to working with Eloquent models. You can easily customize the way you want to work with your models.
January 10, 2023 — In this post, I’ll show you how to upgrade your PHP code to use PHP 8.2 features using Rector. I have written articles about how to upgrade to PHP 8 and PHP 8.1 previously.
January 6, 2023 — HTTPie is an open-source command-line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more. It’s written in Python and is available on all major platforms.
January 5, 2023 — Macros in Laravel are a great way to extend the framework’s functionality. And if you are a Laravel developer, you must have used them at some point.
January 3, 2023 — Extending the GNOME desktop is a fun thing to do. And if you are a GNOME user, you can do it by installing GNOME extensions. I always try to install new extensions to see what they can do and how they can improve my desktop experience.
January 2, 2023 — The other day, I was pretty bored but I wanted to do something productive. So, what’s the best thing to do when you’re bored? You, of course, play around with hover effects on your logo and that’s exactly what I did.
January 1, 2023 — When you commit a change in Git, you can add a message along with it. This message is essentially a note that you can add to the commit.
December 29, 2022 — Stashing is a very useful feature in Git. It allows you to temporarily save your changes in a stash and then apply them later. This is very useful when you want to switch to another branch but don’t want to commit your changes yet. You can stash your changes and then apply them later.
December 27, 2022 — Anonymous components are a great way to create reusable components in Laravel. Essentially, you can create an anonymous component without creating an associated class. For example, you can do something like this.
December 22, 2022 — There are times when you may want to use SVG icons in your web application. For example, you may want to use SVG icons for your navigation menu or buttons.