teapotio/teapotio-forum

This package is abandoned and no longer maintained. No replacement package was suggested.

A forum system on Symfony2

Maintainers

👁 idBloc

Package info

github.com/teapotio/teapotio-forum

Homepage

pkg:composer/teapotio/teapotio-forum

Statistics

Installs: 153

Dependents: 0

Suggesters: 0

Stars: 22

Open Issues: 8

v1.0.0 2015-08-30 19:53 UTC

MIT 4c7df397d291495dc370ab5b85a70a2e77111833

  • Thomas Potaire <thomas.woop@teapot.io>

Forum solutionDiscussion boards

This package is not auto-updated.

Last update: 2018-06-08 15:50:06 UTC


README

👁 SensioLabsInsight

Introduction

Teapotio forum provides a full feature forum solution for small to large communities.

If you'd like to download the standalone version of the forum, please refer to the README file located in the teapotio-forum-standard repository.

Integrate to your app

composer.json

Add the following to your composer file:

{
 "require": {
 "teapotio/teapotio-forum": "dev-master",
 }
}

Run the following command: $ composer update

config.yml

Add the following to your config.yml file:

imports:
 - { resource: @TeapotioSiteBundle/Resources/config/config.yml }
 - { resource: @TeapotioSiteBundle/Resources/config/security.yml }

You can omit the security.yml if you'd like to make your own.

If you'd like to start with some default settings:

imports:
 - { resource: @TeapotioSiteBundle/Resources/config/config_default.yml }

Add the different bundles to your Doctrine config:

doctrine:
 orm:
 entity_managers:
 default: # the name of the entity manager might be different here
 mappings:
 TeapotioForumBundle: ~
 TeapotioSiteBundle: ~
 TeapotioUserBundle: ~
 TeapotioImageBundle: ~
 TeapotioUserBundle: ~

routing.yml

You can include the routes by including the main Teapotio routing file:

TeapotioForum:
 resource: "@TeapotioSiteBundle/Resources/config/routing.yml"
 prefix: /

Otherwise, you can manually each route prefix from the file above in your own.

AppKernel.php

Extends your AppKernel class with Teapotio's AppKernel class:

use Teapotio\Components\AppKernel as TeapotioAppKernel;

class AppKernel extends TeapotioAppKernel
{
 $bundles = array(
 ...
 );

 $bundles = array_merge($bundles, parent::registerBundles());

 ...
}

Otherwise you can register the different bundle manually based the bundles registered in Teapotio's AppKernel class.