Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Oct 10, 2023
1 parent 88243f9 commit 18052d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ You can now access the variable in the `template.blade.php` by using the `{{ $bu
When you need to generate the image without using the blade component, you can use the following method:

```php
OpenGraphImage::generate(['title' => 'Vormkracht10', 'subtitle' => 'Slimme websites']);
OpenGraphImage::createImageFromParams(['title' => 'Vormkracht10', 'subtitle' => 'Slimme websites']);
```

This will return the actual image from your configured storage. You can use this method to generate the image in your own controller for example.
Expand Down

0 comments on commit 18052d3

Please sign in to comment.