From b58e6e1adc22287ceb021f900e6d58e3f1ac5268 Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Sun, 29 Nov 2015 02:51:50 +0100 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 190039e..66d1705 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,14 @@ PHP-Hooks The PHP Hooks Class is a fork of the WordPress filters hook system rolled in to a class to be ported into any php based system * This class is heavily based on the WordPress plugin API and most (if not all) of the code comes from there. -How to Use? +How to install? +===== + +```shell +composer require voku/php-hooks +``` + +How to use? ===== We start with a simple example ... @@ -134,16 +141,6 @@ Methods - @param mixed $var,... Additional variables passed to the functions hooked to $tag. - @return mixed The filtered value after all hooked functions are applied to it. - There are a few more methods but these are the main ones you'll use :). - -Download -======== -You can download this project in either [zip][1] or [tar][2] formats - -You can also clone the project with Git by running: - - $ git clone git://github.com/bainternet/PHP-Hooks.git - License =======