This tutorial demonstrates how anyone can implement zero-downtime deployments when using Forge without using Laravel Envoyer. To do that we will use Laravel Envoy, a tool that helps setup tasks during deployment using Blade syntax.
If you followed my Sentry installation guide, you probably wonder to get it updated to the latest version. Well, I am wondering the same once a month so here we go.
There will be cases where you will need to disable formatting in part of a code. Here’s how..
At some point, I needed to download a folder from AWS S3 only to realize that there is no such feature built on their UI. Thankfully, there is a way to download any directory through their CLI. To do that, follow these steps:
Imagine that you have two asynchronous calls like so: While the code above will get the job done, you are missing a major opportunity for huge performance gains. These two API calls are run sequentially, meaning that for “fetchCategories” to run, we will wait until “fetchUsers” is completed. The obvious change here will be to […]
In some occasions you may need to add OTP verification for your logged-in dashboard. Various ways exist for OTP verification (like Laravel Jetstream/Fortify) which will require your end user to have a separate mobile app for this. In my situation, I had the need to send the OTP codes via SMS. To solve this need, […]
Prerequisites Docker 19.03.6+ Docker Compose 1.28.0+ 4 CPU Cores 8 GB RAM 20 GB Free Disk Space Installing Sentry First step you need to do is clone the repository from github. Cloning it will allow you to pull updates at a later stage. Before running the command make sure you cd into the directory you […]
In one of my projects I use Laravel Nova, for a beautifully-designed administration panel. It includes a very easy to use way to generate graphs in various formats such as Trends. One feature that I needed but was missing was generating the graph with future dates. In a project I am working on, we have […]
Vue.js 3 uses Proxies, a powerful metaprogramming feature. By using Proxies Vue.js 3 managed to resolve the reactivity-related issues in Vue.js 2. Since Proxies are a relatively new thing, lots of developers are having trouble understanding how Proxies work. One very frequent question is how to access the underlying value of a Proxy in Vue.js […]
There are cases where you’d like to build different JS/CSS assets for your site, like when you are building a landing page and a user-authenticated dashboard. You wouldn’t want to load all the CSS and JS assets on your landing page would you? In this tutorial we will see how to split the generated builds […]