Select specific columns from relationship tables in Laravel
Working with multiple tables and their relationship is common. While combining results from multiple tables, we need to define the relationships between them. Laravel...
Implement Soft Delete and Unique validation in Laravel
If you have been using soft delete in your application then you may have come across this situation. When we try to create a...
How to seeds images with Faker in Laravel
Faker is a library that generates fake data for us. Faker helps us populate the database which helps to speed the development process. It...
Import and Export SQL file into MYSQL using Command Line
In this short article, we will discuss how to import SQL file into MySQL database using command line. MYSQL is open-source relational database management...