How to Calculate Age from Date of Birth (dob) in Laravel ?

Posted on by

In this simple tutorial, You will learn to calculate age using carbon in laravel. First of all, you need some software to get started with laravel project :  Xampp Composer Cmd First Step Goto C:\Xampp\htdocs Shift + Right Click to Open Command prompt here In Command prompt type (composer require nesbot/carbon) and press ↵ Enter. Carbon will immediately…