Package Data | |
---|---|
Maintainer Username: | jeroenherczeg |
Maintainer Contact: | jeroen@herczeg.be (Jeroen Herczeg) |
Package Create Date: | 2016-08-12 |
Package Last Update: | 2016-08-26 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-12 15:15:32 |
Package Statistics | |
---|---|
Total Downloads: | 13 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 7 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Via Composer
$ composer require jeroenherczeg/hyena
Next, you must install the service provider:
// config/app.php
'providers' => [
...
Jeroenherczeg\Hyena\HyenaServiceProvider::class,
];
And add facade:
// config/app.php
'aliases' => [
...
Jeroenherczeg\Hyena\Facades\Hyena::class,
];
$result = Hyena::visit('https://github.com')->extract(['name', 'images']);
$result = Hyena::visit('https://github.com')->extract(['name', 'images'], [
'min_image_width' => 50, // optional, minimal width of picture in px
'min_image_height' => 50, // optional, minimal height of picture in px
'min_image_filesize' => 16000, // optional, minimal filesize of picture in bytes
'limit_images' => 10 // optional, max count of images to return
]);
[
'name' => 'Github',
'images' => [
'https://avatars1.githubusercontent.com/u/759412?v=3&s=40',
'https://assets-cdn.github.com/images/spinners/octocat-spinner-128.gif',
'https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif'
]
]
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email jeroen@herczeg.be instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.