How to Export data to CSV & Excel format in Laravel 8

In Laravel, you don’t have to write long code to export your data, there is already a package available for that – Laravel Excel.

It allows exporting data in various formats like – XLSX, CSV, XLS, HTML, etc.

In this tutorial, I show how you can export MySQL database data in CSV & Excel format using the Laravel Excel package in Laravel 8.

How to export data to CSV & Excel format in Laravel 8

Read more

How to Update Table structure using migration – Laravel

Laravel is a PHP frame­work that provides develope­rs with an extensive range­ of tools for creating web applications. One of the­ essential feature­s that make Laravel stand out from others is its ability to manage­ database schemas effortle­ssly via migrations.

This feature helps simplify table­ structure modification without having to manually write intricate SQL que­ries by enabling deve­lopers to update them e­asily.

In this article, I show you 2 ways to update table structure using migration in Laravel 9.

How to Update Table structure using migration - Laravel

Read more