Feedable Core overview
feedable-core is a Composer package that separates Feedable’s core helpers and built-in drivers.Install it in a new Laravel project to reuse the same foundation as the Feedable starter kit.
- Core package: invokable/feedable-core
- Starter kit: invokable/feedable
Response classes
UseRss2Response and JsonFeedResponse to fix output format.Use
ResponseFactory when users should choose format (rss or json).
FeedItem / Author
FeedItem is a shared item object for RSS/JSON Feed.Use
Author::make() for the authors field.
Support helpers
AbsoluteUri::resolve()
RSS::filterLinks()
RSS::each()
How to add custom drivers
1
Add directly to the starter kit
Since the starter kit is a normal Laravel app, add routes in
routes/web.php and implement your controller (or invokable class).2
Package your driver for reuse
If you want to reuse across multiple projects, register routes in a Service Provider.
3
(Optional) Register metadata with Driver::about()
Driver::about() is used to show driver metadata in the supported-sites list. Your driver can still work without it.Format route binding requires web middleware.