Bookmarked https://tighten.com/insights/filament-crash-course-create-a-customizable-admin-panel-in-minutes/.
- Filament Crash-Course: Create a Customizable Admin Panel in Minutes | Tighten
- tighten.com
Bookmarked https://liamhammett.com/php-84s-new-domhtmldocument-in-diffs.
Might move some DOMDocument and DOMXPath calls to PHP 8.4’s new Dom\HTMLDocument and its querySelector method.
Mastodon is where I first learned about “blurhashes,” the blurry image placeholders that show while images are still loading. After I’d recently added support for image attachments to this site’s ActivityPub implementation, I learned that Mastodon instances don’t necessarily generate blurhashes for images sent from other servers.
Continue reading Adding Blurhash Support →Bookmarked Building an ActivityPub Server • Robb Knight.
I once tried writing a simple ActivityPub server in PHP and Laravel but never made it past accepting “follows” and sending “create” requests.
Either way, if I ever pick up work on my custom CMS, I now know where to look in order to add ActivityPub support to it!
fstop.cloud is able to fetch full articles even for summary-only feeds. It looks for either the main element or the first article on the page, but you can also hand it a (feed-specific) XPath selector indicating what you want to keep.
Either way, maybe I should give https://github.com/fivefilters/readability.php a try.
And, after yesterday’s Webmention package, a basic IndieAuth package for Laravel.
Been toying with Laravel a bit more. Decided to split off some Webmention functionality into a package of its own, https://github.com/janboddez/laravel-webmention. There’s two classes here that matter, one for receiving (Http\Controllers\WebmentionController), and one for sending (WebmentionSender). Hoping to add a parser of sorts later, and some CLI/Artisan commands.
Bookmarked https://github.com/gRegorLove/php-akismet.
Bookmarked https://brainbaking.com/post/2022/05/dont-expose-the-stacktrace-please/.
Luckily, that’s what happens when you set APP_DEBUG to false. And it’s really easy to set the log level (debug, notice, error, etc.), too. (Clear your config cache afterward!)
Also, the developers here mixed up \Illuminate\Support\Facades\Request and \Illuminate\Http\Request.
If you still want that info, log it somewhere else[.]