Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Update git usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweeney authored Sep 27, 2017
1 parent 9ea852c commit ac40be1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ will reside
* Or download a nightly (the latest, unreleased code) from
http://eclecticgeek.com/dompdf

Require dompdf, libraries, and helper functions in your PHP:
Use the packaged release autoloader to load dompdf, libraries,
and helper functions in your PHP:

```php
// include autoloader
Expand All @@ -127,19 +128,22 @@ cd dompdf

git clone https://github.com/PhenX/php-font-lib.git lib/php-font-lib
cd lib/php-font-lib
git checkout 0.4
git checkout 0.5.1
cd ..

git clone https://github.com/PhenX/php-svg-lib.git php-svg-lib
cd php-svg-lib
git checkout v0.1
git checkout v0.3
```

Require dompdf, libraries, and helper functions in your PHP:

```php
// include autoloader
require_once 'dompdf/autoload.inc.php';
require_once 'dompdf/lib/html5lib/Parser.php';
require_once 'dompdf/lib/php-font-lib/src/FontLib/Autoloader.php';
require_once 'dompdf/lib/php-svg-lib/src/autoload.php';
require_once 'dompdf/src/Autoloader.php';
Dompdf\Autoloader::register();
```

## Quick Start
Expand Down

0 comments on commit ac40be1

Please sign in to comment.