PHP Documentation Search Workflow for Alfred
Would you like to use Alfred for MacOS to quickly search the PHP documentation?
Well, this Workflow will allow just that, super easy to install and start using. Guaranteed it will improve your productivity as you can just use your hotkey for Alfred and quick look at the function you're wanting to check out. You can also open the php.net documenation in your default web browser.
Inspired by Laravel Docs Search by Till Krüss powered by Algolia.
- Download the latest version
- Install the workflow by double-clicking and opening the
.alfredworkflowfile that you just downloaded.
- If you want you can add the workflow to a category (not required), then click "Import" to finish importing.
- Now the workflow will be listed there on the left of your Alfred Workflows preferences.
Note: If you'd like to change the default language for the PHP documentation you can. Just go to your Alfred preferences -> workflows -> PHP Docs -> then on the right you'll see some options. Click on the environment variables option [~] and edit the language to be the language desired (e.g 'en' => english, 'es' => spanish) and click save. Your PHP docs will now open up in the your set language.
php with a space and whatever you're trying to search on php.net and results display instantly.
php <query> php array_unique
There are two ways to see the actual php.net documentation page.
⌘Yto quick look the result.
<enter>to open the PHP documentation page in your default web browser.