How to use PHP NumberFormatter to convert numbers to words
Enable intl extension in PHP.ini (Remove the semicolon before) extension=intl Run composer update to use the PHP NumberFormatter ...
DetailsBasic & Advanced Concepts on Laravel Database Migrations & Models
Creating Migration File: php artisan make:migration create_[table_name]_table –table=[table_name] Example: php artisan make:migration create_users_table –table=users Migration File for Updating ...
DetailsHow to prevent form re submission in Laravel
Server-Side Solution: In your controller’s method (that handles input data in a form i.e; Create/Preview), you can generate ...
DetailsLaravel Validation – use multiple Form Requests for complex scenarios
Let’s assume we have website where we allow to create multiple types of user. For example we might ...
DetailsImplementing Laravel Service-Repository pattern using Form Request
Putting all the business logic into the controller can be messy at times, specially when the project is ...
DetailsHow to deploy Laravel project on Shared Hosting using cPanel
Step 1: Zip archive all contents inside your project directory. Step 2: Upload the Zip file into hosting ...
DetailsHow to implement Laravel Excel for exporting data
Laravel Excel allows exporting data in various formats like – XLSX, CSV, XLS, HTML, etc. 1. Install Package ...
DetailsHow to add a custom helper class in Laravel
Step 1: Create your Helpers (or other custom class) file and give it a matching namespace. Write your ...
DetailsLaravel Installation and Get Going Basics
Installation Via Composer: If your computer already has PHP and Composer installed, you may create a new Laravel ...
Details