Laravel is a great framework for rapid application building. It allows you to easily connect to a database. If you’re developing locally, chances are that you need to confirm that the application is connected to a database, for example when you’re debugging something.
In this tutorial I’ll show you how to check which database your Laravel app is connected to.
There is a simple code snippet to check the name of the current database connection,
Last week Tailwind CSS released version 2.1.0. One of the best features of the release is the fact that the new Just-In-Time (JIT) compiler is now included in the official build. In this tutorial I’ll show you how to use the Tailwind CSS JIT compiler with Laravel Mix. Best of all is that it takes less than two minutes🚀
The compiler is a huge step forward in the development of Tailwind CSS. There are several important advantages,
For this tutorial I already have a local Laravel application installed with Laravel Valet.
If you’re developing Laravel applications, you’re very likely to use a local development installation. Installing Laravel is not very simple, especially if you’re not familiar with composer or with the command line. In this tutorial, I’ll show you a simple way that will most likely fix the problem.
For this tutorial, I’ll assume that you’ve already got Composer installed (globally).
Before starting, you should determine whether you’re using bash or zsh as a command line shell.