rennokki/reddit-json-api
A lightweight Laravel/PHP wrapper for Reddit's public JSON API. Fetch subreddits, posts, and comments without OAuth or API keys, making it easy to pull Reddit content into your application with a simple, expressive interface.
composer why-not renoki-co/reddit-json-api ^2.5composer.json for PHP and illuminate/* constraints.composer require renoki-co/reddit-json-api:^2.5php artisan config:clear.composer.json to confirm PHP/Illuminate support.data.children, kind, after, and before. Map posts/comments into your own DTOs or Eloquent models rather than passing raw arrays through the app.after/before tokens where the package exposes them, and cap page counts in scheduled jobs to avoid runaway ingestion.composer.json; the practical minimum is likely PHP 8.1, but trust Composer over release-note shorthand.after can be absent, listings can be empty, and repeated polling can duplicate posts. Use Reddit IDs as idempotency keys when storing.Http::fake() and assert the outgoing URL/User-Agent where possible.How can I help you explore Laravel packages today?