The Twitter API doesn't show user birthdays, but we can scrape the user profile page and parse out the birthday info.
$ composer require kokororin/twitter-birthday:dev-master
$birthday = new TwitterBirthday('pile_eric');
echo $birthday['month']; // 5
echo $birthday['day']; // 2
The MIT License (MIT).