Skip to content

Commit

Permalink
tweak instructions for non-composer installations
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweeney committed May 1, 2015
1 parent e2e0bf6 commit ffbfa8b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Expand Up @@ -108,6 +108,16 @@ will reside
* Or download a nightly (the latest, unreleased code) from
http://eclecticgeek.com/dompdf

Add references to dompdf, libraries and helper functions in your PHP:

```php
// include autoloaders and helper functions
require_once 'dompdf/lib/html5lib/Parser.php';
require_once 'dompdf/lib/php-font-lib/src/FontLib/Autoloader.php';
require_once 'dompdf/src/functions.inc.php';
require_once 'dompdf/src/autoload.inc.php';
```

### Install with git

From the command line, switch to the directory where dompdf will reside and run
Expand All @@ -120,6 +130,16 @@ cd lib/php-font-lib
git checkout 0.3.1
```

Add references to dompdf, libraries and helper functions in your PHP:

```php
// include autoloaders and helper functions
require_once 'dompdf/lib/html5lib/Parser.php';
require_once 'dompdf/lib/php-font-lib/src/FontLib/Autoloader.php';
require_once 'dompdf/src/functions.inc.php';
require_once 'dompdf/src/autoload.inc.php';
```

## Quick Start

Just pass your HTML in to dompdf and stream the output:
Expand Down

0 comments on commit ffbfa8b

Please sign in to comment.