List of Supported Protocols/Wrappers
Table of Contents
- Filesystem
- HTTP and HTTPS
- FTP and FTPS
- PHP input/output streams
- Compression Streams
- Data (RFC 2397)
- Glob
- Phar
- Secure Shell 2
- Audio Streams
- Process Interaction Streams
PHP comes with many built-in wrappers for various URL style protocols for use with the filesystem functions such as fopen() and copy(). In addition to these wrappers, you can as of PHP 4.3.0, write your own wrappers using the stream_wrapper_register() function.
List of context options is available in the chapter Context options and parameters.

