Add what your program needs.
60 libraries for the web, data formats, data structures, security, CLI tools, threads and desktop apps. 59 official libraries ship bundled with the compiler; 1 more are available from the community registry with hphp install <name>.
Popular
All libraries (60)
No library matches. Try another word, or search the package registry with hphp pkg search.
Bundled vs. community registry
Bundled libraries ship inside the compiler binary so import "<name>"; works offline. Community registry packages are hosted at http://hphp.ch:8930 — add them to a project with hphp install <name> or globally with hphp pkg install <name>.
Built into the language
Some features need no library at all: strings, arrays, math, JSON, regular expressions, files, dates, hashing and SQLite are built-in functions. See the documentation.
Publish your own
Start with hphp create mylib -t lib, test it with hphp test, then hphp pkg publish. See Projects & packages.