Phpstubs is a project mainly written in PHP, it's free.
Repository for missing php stubs
This package contains php stubs for used by me classes missing in official repos