PHPackages                             softservlet/forum - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. softservlet/forum

ActiveLibrary

softservlet/forum
=================

05PHP

Since Apr 10Pushed 12y ago2 watchersCompare

[ Source](https://github.com/vladuemilian/forum)[ Packagist](https://packagist.org/packages/softservlet/forum)[ RSS](/packages/softservlet-forum/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Forum (Laravel Package) version 1.0
===================================

[](#forum-laravel-package-version-10)

The package was designed to resolve a common part of most web application: users messages. The package cames with a extensible database structure which allows you to use the package for problems such as private messages between your users or a place where all your users can write their ideas.

### About

[](#about)

This package was intended to be used as a storage sollution for messages in a application with instant messages chat delivered through websockets. The websocket server at some moment will save the conversation using this package.

### Installation

[](#installation)

Currently only a installation guide for Laravel 4 framework are provided in this documentation.

- Run database migrations

`php artisan migrate --bench=softservlet/forum`

- Add package service provider in your app/config/app.php

`Softservlet\Forum\Providers\ForumServiceProvider`

- Implement the ActorInterface in your application.

The base idea behind this package is to send messages between entities. We call this entity an Actor. In order to use this package, you must define in your application who is the actor.

The actor usually will send messages.

Somewhere in your models, you should implement ActorInterface from `Softservlet\Forum\Actor\ActorInterface`. A code sample for this might be:

```
