Textareas with auto-increasing height using CSS
September 25, 2023 — Textareas areas are great when it comes to accepting a large amount of text from the user. But, the problem with textareas is that they have a fixed height. So, if the user enters more text than the height of the text, the text will overflow and the user will have to scroll to see the rest of the text.
The many uses of "..." ellipsis operator in PHP
September 21, 2023 — With the evolution of PHP to its modern version, the one operator that has been used thoroughly across various places is the ellipsis operator (...
).
Pail — A Laravel Package for Tailing Logs
September 21, 2023 — A few days ago I discussed many ways to tail logs in Laravel. And it hasn’t been long since I wrote that article, a new package called Pail has popped up on my radar which is also a Laravel package for tailing logs.
A macro to produce AP-style headings in Laravel
September 20, 2023 — If you’re a journalist or a writer, you might be familiar with the AP Stylebook commonly known as “AP-style”. It’s a writing style guide for journalists and it’s widely used in the United States.
Override Fetch/XHR response in Chrome DevTools
September 17, 2023 — When you’re debugging a web application, you might want to override the response of a fetch
or XMLHttpRequest
request to test your application’s behavior in certain scenarios.
Built-in port forwarding in VS Code
September 15, 2023 — There are a lot of tools like ngrok that let you expose your local server to the internet. But did you know VS Code has just got this feature in the form of port forwarding so that you don’t need to install any third-party tool to do this anymore?
Fail-safe way of accessing environment variables in Laravel
September 14, 2023 — Environment variables are tricky little things that we use in our Laravel applications to store sensitive information such as API keys, database credentials, and so on. And there are two ways to access them in your Laravel application.
Artisan command to generate views in Laravel
September 14, 2023 — Laravel has all kinds of Artisan commands to let you generate boilerplate code for your application. For instance, you can generate a controller, model, migration, and so on using the Artisan command. But, there was no command to generate views in Laravel until now.
Camel Humps in VS Code
September 13, 2023 — There are some things that you never know you need until someone tells you about them. For instance, Christoph Rumpel recently shared a handy little setting in PhpStorm called Camel Humps which allows you to navigate through the camel-cased class/variable names using the arrow keys.