Skip to content

Commit

Permalink
Merge pull request #117 from szabizs/patch-2
Browse files Browse the repository at this point in the history
Update readme.md
  • Loading branch information
barryvdh authored Jul 5, 2016
2 parents c0c8887 + 13f32d3 commit a8fe0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ After updating composer, add the ServiceProvider to the providers array in app/c
You can optionally use the facade for shorter code. Add this to your facades:

'PDF' => Barryvdh\Snappy\Facades\SnappyPdf::class,
'Image' => Barryvdh\Snappy\Facades\SnappyImage::class,
'SnappyImage' => Barryvdh\Snappy\Facades\SnappyImage::class,

You can publish the config-file to change some settings (default paper etc).

Expand All @@ -44,7 +44,7 @@ In `bootstrap/app.php` add:
Optionally, add the facades like so:

class_alias(Barryvdh\Snappy\Facades\SnappyPdf::class, 'PDF');
class_alias(Barryvdh\Snappy\Facades\SnappyImage::class, 'Image');
class_alias(Barryvdh\Snappy\Facades\SnappyImage::class, 'SnappyImage');

To customise the configuration file, copy the file `/vendor/barryvdh/laravel-snappy/config/snappy.php` to the `/config` folder.

Expand Down

0 comments on commit a8fe0dd

Please sign in to comment.