Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the full PHP documentation offline [closed]

Tags:

I travel frequently and am often without an internet connection, so I've been looking for PHP offline documentation for Mac OSX.

I have used the official offline PHP documentation, but I am not able to find many functions with the official documentation, and the user comments are not included. For example: I was searching for PDO syntaxes with MySQL Support, but that is not included in the package.

I also tried PHPfi, but it seems to use the same data as the official offline PHP documentation.

How can I get the full PHP documentation offline?

like image 876
Ibrahim Azhar Armar Avatar asked Apr 22 '11 05:04

Ibrahim Azhar Armar


People also ask

What is the site that gives all the documentation about PHP?

PHP documentation | Google Cloud.

What is the use of documents in PHP?

Heredoc is one of the ways to store or print a block of text in PHP. The data stored in the heredoc variable is more readable and error-free than other variables for using indentation and newline.


1 Answers

I personally use the .chm version of the manual - there are plenty of chm file readers for linux and OSX out there that can be used. It also offers integrated search, which is the main plus for it. The english chm download is also offered with the user notes included.

Also, php.net offers a the php manual as man pages, installable via PEAR - it's awesome to integrate into i.e. emacs or vim.

$ pear channel-discover doc.php.net
$ pear install doc.php.net/pman
$ pman strpos

In the last years I have switched from chm viewers to Zeal, which provides docsets for several programming languages, including PHP.

You can also check http://devdocs.io/offline for offline, also available for Windows, Linux and Mac binaries.

like image 127
cweiske Avatar answered Sep 24 '22 12:09

cweiske