Category: laravel php
Setting of Auto backup of Mysql database in a laravel project
When we work on any database project, it’s always good to set up autoback of the database on daily basis. We can set up a cron job for backing up a MySQL database in a Laravel project, follow these steps: 1. Create a Laravel Artisan Command Run the following command to create a custom Artisan command:…
Read MoreLaravel JWT AUTH only returns TRUE/FALSE instead of the token
When using Laravel JWT authentication, the default behavior is to return a boolean (`true` or `false`) indicating whether the authentication was successful or not. If you want to receive the token upon successful authentication, you might need to customize the authentication response. Here’s how you can modify Laravel to return the token upon successful authentication…
Read More
How to install Composer and Laravel php with your wamp
Laravel is a powerful MVC PHP framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Laravel was created by Taylor Otwell. In this Article we are going to discuss the installation of composer and Laravel frame work. Before we start proceeding with this article, we make an assumption…
Read More