Moving to a privacy-focused and open-source comment system on my blog
March 24, 2021 — If you’re running any sort of blog, it would be really important to interact with your audience. One way to doing this by having a comment system that can enable a visitor on your blog to drop their view and opinions.
Best Ways to Learn How to Code
March 24, 2021 — Any new beginning is always a challenge. When it comes to learning how to code, many individuals back off simply because it looks not-so-easy to understand the programming principles at the first sight.
Cleaner exception handling using rescue() helper in Laravel
March 22, 2021 — If you want to make your web application robust, you get to handle those quirky and unpredictable exceptions. And the way you do that in PHP is by using try-catch blocks in your code. The same applies in the case of Laravel as well.
How to get system timezone for macOS and Linux in PHP
March 17, 2021 — Oftentimes you would want to retrieve the user’s timezone to perform a certain task. And how would you retrieve it? One way to do it in PHP is by retrieving the timezone set on the user’s system.
Seeding model rows based on the user input in Laravel
March 15, 2021 — Oftentimes, it would be handy if you could seed the number of model rows based on the user input. i.e you don’t hardcode the number of rows a seeder would generate. The user will pass that number while running the seeder.
How to use HTML with CSS inside SVG
March 14, 2021 — Have you ever run into a situation where you want to render some HTML into an SVG? Well, if you ask me the same question, I would say yes.
Dry running Laravel migrations before actually migrating them
March 11, 2021 — Sometimes, you might run into a situation where you want to see what all database queries will run upon running your Laravel migrations, and that too without actually running the migrations.
Fibers or Coroutines for asynchronous programming in PHP 8.1
March 9, 2021 — There has been a scarcity of discussion in PHP land when it comes to asynchronous PHP. Maybe, PHP developers don’t seem to be interested in the very idea of it.