php-mf2
php-mf2 copied to clipboard
php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
I noticed that the `php56.dockerfile` no longer builds because the debian stretch repos have been relocated to the archives. This PR refreshes the php56.dockerfile so that it will build again.
Currently the `fetch` method is not allowing almost any customization. I found some webpages in which my requests were blocked because we were not sending the `User-Agent` header. To do...
This (small) change needs a little explaining.... First of all, the `setup-php` action, by default uses a "production"-type ini file. This means that `error_reporting` is set to `E_ALL & ~E_DEPRECATED...
PHP 8.4 deprecates implicitly nullable parameters, i.e. typed parameter with a `null` default value, which are not explicitly declared as nullable. Ref: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types There are multiple ways to fix this,...
I'm getting the following Deprecated notices after upgrading to PHP 8.4.5: **Deprecated:** Mf2\Parser::parse(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in...
I was trying to parse my `h-entry` blog posts and I couldn't get any data. Only when I just copied the part of the article, it would work. This meant...