Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.44 KB

installation.md

File metadata and controls

48 lines (30 loc) · 1.44 KB

Installation

The recommended way to install Ladybug is through Composer.

Download the composer binary:

wget http://getcomposer.org/composer.phar
# or
curl -O http://getcomposer.org/composer.phar

Now, install Ladybug with Composer:

composer.phar require raulfraile/ladybug

After running the require command, a new directory called 'vendor' will contain the Ladybug code, as well as all the required dependencies.

Once added the autoloader you will have access to the library:

<?php

require 'vendor/autoload.php';

Latest Stable Version Latest Unstable Version

Troubleshooting

Maximum function nesting level error

The Xdebug extension protects you again infinite recursion limiting the maximum function nesting level. By default, this value is 100, too low for current projects. If you get this error:

Fatal error: Maximum function nesting level of '100' reached, aborting!

Change the xdebug.max_nesting_level PHP setting to, at least, 200.


Next section: Extending Ladybug.

Previous section: Usage.