laravel reddit example with basic functionality