2017 © Pedro Peláez
 

library message-board

A message board package for Laravel.

image

michele-angioni/message-board

A message board package for Laravel.

  • Saturday, January 14, 2017
  • by Michele
  • Repository
  • 8 Watchers
  • 14 Stars
  • 648 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 22 Versions
  • 0 % Grown

The README.md

MESSAGE BOARD

License Latest Stable Version Build Status SensioLabsInsight, (*1)

Message Board is a Laravel 5 package which assigns a message board to each User, where posts and comments can be posted., (*2)

Bans and a permission system are provided out of the box. Social features such as "likes" are included as well., (*3)

The package comes bundled with a highly customizable full featured API, which needs to be enabled in the config file, to let your application use Message Board through asynchronous calls without having to write your own API., (*4)

Documentation

Check our wiki for full documentation., (*5)

Quick examples

Retrieve a User Posts, (*6)

MessageBoard::getOrderedUserPosts($user);

Create a new Post, (*7)

public function store(Request $request)
{
    [...]

    $user = User::findOrFail($request->get('id_user'));

    MessageBoard::createPost($user, Auth::user(), null, $text);

    [...]               
}

Create a Like, (*8)

public function postLikeStore($idPost, Request $request)
{
    [...]

    MessageBoard::createLike(Auth::user()->getKey(), $idPost, 'post');

    [...]               
}

Ban a User, (*9)

public function banUser($idUser, Request $request)
{
    [...]

    $user = User::findOrFail($idUser);

    MessageBoard::banUser($user, $request->get('days'), $request->get('reason'));

    [...]
}

Read all User Notifications, (*10)

public function readNotifications()
{
    $user = Auth::user();

    $user->readAllNotifications();              
}

Contribution guidelines

Support follows PSR-1 and PSR-4 PHP coding standards, and semantic versioning., (*11)

Please report any issue you find in the issues page., (*12)

Use development branch for pull requests., (*13)

License

Message Board is free software distributed under the terms of the MIT license., (*14)

The Versions

27/02 2016

v1.1.1

1.1.1.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

21/02 2016
08/02 2016

v1.0.8

1.0.8.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

05/02 2016

v1.0.7

1.0.7.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

04/02 2016

v1.0.6

1.0.6.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

02/02 2016

v1.0.5

1.0.5.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

02/02 2016

v1.0.4

1.0.4.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

02/02 2016

v1.0.3

1.0.3.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

01/02 2016

v1.0.2

1.0.2.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

01/02 2016

v1.0.1

1.0.1.0

A message board package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel notifications message board

31/01 2016
04/02 2015

v0.1

0.1.0.0

A message board package for Laravel.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

laravel message board