Skip to content

Commit

Permalink
code blocks try #5 (this doesn't work locally)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBrazier committed Jan 15, 2014
1 parent 044f566 commit b88f369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ Installation
============

To Install Laravel-Piwik using Composer, the Default method for Laravel, add ``RobBrazier\Piwik`` to ``composer.json``:
.. code-block:: json
:: json
{
"require": {
"RobBrazier\Piwik": "dev-master"
}
}

Then, add ``'RobBrazier\Piwik\PiwikServiceProvider'`` and ``'Piwik' => 'RobBrazier\Piwik\Facades\Piwik'`` to ``app/config/app.php``:
.. code-block:: php
:: php
'providers' = array(
...
'RobBrazier\Piwik\PiwikServiceProvider',
Expand All @@ -26,7 +26,7 @@ Then, add ``'RobBrazier\Piwik\PiwikServiceProvider'`` and ``'Piwik' => 'RobBrazi
);

Next, move the config out of the package, so that it doesn't get overwritten on each update:
.. code-block:: shell
:: shell
php artisan config:publish robbrazier/piwik

Update your packages by running ``composer update``
Expand Down

0 comments on commit b88f369

Please sign in to comment.