All Projects → geosemaan → Laravel Reddit

geosemaan / Laravel Reddit

Licence: gpl-3.0
Reddit clone built with Laravel 5

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Laravel Reddit

Voten
The code that powers voten.co
Stars: ✭ 1,215 (+1102.97%)
Mutual labels:  forum, laravel, reddit
Flarum
Flarum - 优雅自由的 PHP 轻社区
Stars: ✭ 1,588 (+1472.28%)
Mutual labels:  forum, laravel
Forum
Ama Laravel? Torne se um Jedi e Ajude outros Padawans
Stars: ✭ 233 (+130.69%)
Mutual labels:  forum, laravel
Flarum
Simple forum software for building great communities.
Stars: ✭ 12,190 (+11969.31%)
Mutual labels:  forum, laravel
Hifone
A free, open-source, self-hosted forum software based on the Laravel PHP Framework. QQ群:656868
Stars: ✭ 673 (+566.34%)
Mutual labels:  forum, laravel
Laravel Forum
A minimal forum package designed for quick and easy integration in Laravel projects
Stars: ✭ 335 (+231.68%)
Mutual labels:  forum, laravel
Forum
A fully-fledged modern forum app, including @mention and private messaging, built with Laravel 5.3 and Vue 2.
Stars: ✭ 135 (+33.66%)
Mutual labels:  forum, laravel
Core
Simple forum software for building great communities.
Stars: ✭ 5,372 (+5218.81%)
Mutual labels:  forum, laravel
Api.yike.io
一刻社区后端 API 源码
Stars: ✭ 1,004 (+894.06%)
Mutual labels:  forum, laravel
Talkyard
A community discussion platform: Brings together the main features from StackOverflow, Slack, Discourse, Reddit, and Disqus blog comments.
Stars: ✭ 1,219 (+1106.93%)
Mutual labels:  forum, reddit
Reddit Bot
🤖 Making a Reddit Bot using Python, Heroku and Heroku Postgres.
Stars: ✭ 99 (-1.98%)
Mutual labels:  reddit
Laravel Seo Tools
Laravel Seo package for Content writer/admin/web master who do not know programming but want to edit/update SEO tags from dashboard
Stars: ✭ 99 (-1.98%)
Mutual labels:  laravel
Laravel Filemanager Example 5.3
Demo integration for laravel-filemanager (https://github.com/UniSharp/laravel-filemanager).
Stars: ✭ 100 (-0.99%)
Mutual labels:  laravel
Laravel Table
Generate tables from Eloquent models.
Stars: ✭ 101 (+0%)
Mutual labels:  laravel
Addchat Laravel
AddChat Laravel is a Laravel chat package. Live chat widget for Laravel that also includes multi-user chat, group permissions, customer support chat & more.
Stars: ✭ 99 (-1.98%)
Mutual labels:  laravel
Place Atlas
The /r/place Atlas is a project aiming to catalog all the artworks created during Reddit's /r/place event.
Stars: ✭ 100 (-0.99%)
Mutual labels:  reddit
Reddit Sentiment Analysis
This program goes thru reddit, finds the most mentioned tickers and uses Vader SentimentIntensityAnalyzer to calculate the ticker compound value.
Stars: ✭ 97 (-3.96%)
Mutual labels:  reddit
Sentinel
A framework agnostic authentication & authorization system.
Stars: ✭ 1,354 (+1240.59%)
Mutual labels:  laravel
Eoenyoubbs
🍻EoenYoubbs v2.3版本(2014年项目)
Stars: ✭ 98 (-2.97%)
Mutual labels:  forum
Sarala
Javascript library to communicate with RESTful API built following JSON API specification. inspired by Laravel’s Eloquent
Stars: ✭ 101 (+0%)
Mutual labels:  laravel

laravel-reddit

Reddit clone built with Laravel 5

Demo: http://maghnatis.com

Packages Used

  1. "intervention/image"
  2. "oscarotero/Embed"
  3. "mohankumaranna/comment"

Features

  1. Login/Register
  2. Subreddits
  3. Posts (link and text)
  4. Moderators
  5. Search
  6. Threaded Comments with inline editing
  7. Upvote/Downvote
  8. User Profiles

To-Do

  1. Sorting

Installation

  1. git clone https://github.com/Halnex/laravel-reddit projectname
  2. composer install
  3. php artisan migrate

Open AuthServiceProvider.php and import the following classes.

use Illuminate\Auth\Access\Gate;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;

Now add the following method to the class

public function boot(GateContract $gate)
{
    parent::registerPolicies($gate);

    $gate->define('update-post', function ($user, $post, $isModerator) {
        if ($user->id === $post->subreddit->user->id) {
            return true;
        }

        if ($user->id === $post->user_id) {
            return true;
        }

        if ($isModerator) {
            return true;
        }

        return false;
    });

    $gate->define('update-sub', function($user, $subreddit) {
        if($user->id === $subreddit->user->id) {
            return true;
        }

        return false;
    });

    $gate->define('update-comment', function($user, $comment, $isModerator) {
        if($user->id === $comment->user_id) {
            return true;
        }

        if ($isModerator) {
            return true;
        }
    });
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].