dgj2ba / libphutil Goto Github PK
View Code? Open in Web Editor NEWThis project forked from phacility/libphutil
A collection of PHP utility classes
Home Page: http://www.phabricator.com/docs/libphutil/
License: Apache License 2.0
This project forked from phacility/libphutil
A collection of PHP utility classes
Home Page: http://www.phabricator.com/docs/libphutil/
License: Apache License 2.0
= WHAT IS LIBPHUTIL? = `libphutil` is a collection of utility classes and functions for PHP. Some features of the library include: == libphutil Library System == A system for organizing, loading and introspecting PHP classes and functions. Uses static analysis to generate, validate and update library contents and includes. Based on Facebook's similar `flib` system. == Futures == Futures (also known as "promises") are objects which act as placeholders for some future result of computation. They let you express parallel and asynchronous execution with a natural syntax. There are three provided concrete `Future` implementations: `ExecFuture` for executing system commands, `HTTPFuture` for making HTTP requests, and `QueryFuture` for executing database queries. == Filesystem == The builtin PHP filesystem functions return error codes and emit warnings. It is tedious to check these consistently. The `Filesystem` class provides a simple API for common filesystem operations that throws exceptions on failure. == xsprintf == This module allows you to build `sprintf()`-style functions that have arbitrary conversions. This is particularly useful for escaping data correctly. Three concrete implementations are provided: - `csprintf()`: safely escape data for system commands - `jsprintf()`: safely escape data for Javascript - `qsprintf()`: safely escape data for MySQL == AAST/PHPAST == An abstract, abstract syntax tree which can make it easier to perform simple static analysis, and a concrete AST for PHP. == Remarkup == A Markdown-like lightweight markup language. Remarkup's syntax is defined by parser plugins and fairly easy to extend and configure. == Daemons == Enables running PHP scripts as stable, long-lived daemons. == Utilities == A handful of solid utility functions. `libphutil` is used by [[https://secure.phabricator.com/diffusion/P/ | Phabricator]], [[https://secure.phabricator.com/diffusion/ARC/ | Arcanist]] and Diviner. = LICENSE = `libphutil` is released under the Apache 2.0 license except as otherwise noted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.