2017 © Pedro Peláez
 

project laravel-followable

Helper traits to start your microblogging laravel application.

image

nuummite/laravel-followable

Helper traits to start your microblogging laravel application.

  • Wednesday, April 27, 2016
  • by nuummite
  • Repository
  • 1 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel Followable

Introduction

Laravel Followable provides a set of Traits and classes to kick start your microblogging site or your add social collaboration to your current project., (*1)

License

Laravel Followable is open-sourced software licensed under the MIT license, (*2)

Official Documentation

To get started with Laravel Followable, add to your composer.json file as a dependency:, (*3)

composer require nuummite/laravel-followable

Configuration

After installing the Socialite library, register the Nuummite\Followable\Providers\FollowableServiceProvider in your config/app.php configuration file:, (*4)

'providers' => [
    // Other service providers...

    Nuummite\Followable\Providers\FollowableServiceProvider::class,
],

Run the vendor publish artisan command to expose the needed migrations:, (*5)

php artisan vendor:publish

Run the migrations using artisan command. This will create the needed tables in your database. These are: followables and feed_messages, (*6)

php artisan migrate

Basic Usage

As a final step, you can use the traits FollowableTrait and FollowerTrait of this package in your User class in order to start coding your microblogging app., (*7)

It's as easy as thinking that a User can "follow" and can be "followed". So we add the needed functionallity to the User class., (*8)

You can also add these traits to any object. So if you'd like, for example, make a "Task" followable you can do it also! This is usefull when you want to add social collaboration to your application., (*9)

The Versions

27/04 2016

dev-master

9999999-dev

Helper traits to start your microblogging laravel application.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Martin Mochetti

laravel followable microblogging

27/04 2016

0.0.1

0.0.1.0

Helper traits to start your microblogging laravel application.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Martin Mochetti

laravel followable microblogging