Connecting your Laravel project to MySQL database
Step1: Open config/database.php in Laravel app directory and find the MySQL section. Step2: Open .env in Laravel app directory and
Read moreStep1: Open config/database.php in Laravel app directory and find the MySQL section. Step2: Open .env in Laravel app directory and
Read moreWhen using Laravel Eloquent, we may have to check a return value from database query is empty or not. But
Read moreCSRF(cross-site request forgery) is a malicious attack that relies on an authenticated user’s identity to get unauthorized permissions and is
Read moreJSON is a very common data exchange format. There are many ways to return JSON in Laravel, and the following
Read moreAccording to the official introduction, artisan is defined as follows: Artisan is the command-line interface included with Laravel. It provides
Read more