In this post we're covering how to create a simple CLI app with the help of MiniCLI. What we'll be creating is a small CLI tool to ping websites.
Setting up our requirements.
The first thing we do is to create a folder for our new tool, which I'll name ping-cli and require the minicli/minicli package.
composer require minicli/mi...
The future of Responsive Design with Container Queries.
When we write responsive design using CSS today, we use the media at-rule, more commonly known as a Media Query. This at-rule queries the device or user-agent to grab the values it needs for our media condition. That condition can be a multitude of conditions based on the provided media type or media feature.
One thing that medi...
Don't get me wrong, Composer is an amazing product. It has an easy-to-use API for quick autoloading, supports multiple standards, and has autoloading optimization built-in - it even lets you search and require packages easily. It's a reason Composer is the most used package manager for PHP.
If your project is a lightweight OOP p...
Laravel Quickie: How to install and build TailwindCSS v2 with Laravel Mix 😎
Welcome to another Laravel Quickie!
In this quickie, we will go over how to install and build TailwindCSS v2 with the help of Laravel Mix. If you've already tried and have run into issues, hopefully, this post will solve those issues for you.
If you don't already have a Laravel project up and running....
Welcome to Laravel Quickie!
In this section, we will go over the two basic controllers used in Laravel. The regular controller and the single-action controller.
If you don't already have a Laravel project up and running. I'd suggest using a DigitalOcean Ubuntu Droplet. Use my affiliate code to get free...
The contact form, an essential piece of functionality on every website. From a single input field asking for an email address. To full-page forms with address fields. Used to acquire potential clients and create new leads, or get subscribers to an email list.
The contact form contains a multitude of combinations. I...
When Tails first got released to the public. DevDojo opened up the repository for contributions. Prompting pull request after pull request to come in. Some being ready to merge into the project from the first request. But some that required some changes. Here's how I go about reviewing those pull requests with the help of the Gi...
Here's a scenario, let's say you have users. And those users can sell domains, or maybe add their domains to their profile.
Now you can validate that they own that domain multiple ways. You could have them send a picture of the dashboard showing the domain. Or you could have them create a page just for you.
While both of these s...
Hacktoberfest is back! 🎉
Hacktoberfest 2020 edition being less than a month away from starting - the challenge, should you choose to accept it, is to contribute to open-source projects between October 1st and the 31st, to earn a limited-edition Hacktoberfest t-shirt.
That is the official word taken straight from the landing page...
Introduction into Laravel.
The password confirmation middleware was introduced in Laravel v6.2.0, and it's built into Illuminate/Auth, and can be found under Illuminate/Auth/Middleware/RequirePassword.php
How it works.
It works by looking at the password_confirmed_at session on an incoming request and based on the result it buil...
This post had some traction on my dev.to profile, so I thought, why not add it here as well.
What are "default" avatars?
When it comes to user-uploaded material, such as avatars, for instance, some users might refrain from uploading one and, in those instances providing a sensible fallback is an appropriate thing to do...