2017 © Pedro Peláez
 

library chatter

A simple forum package for your laravel app based on devdojo/chatter

image

wyang14/chatter

A simple forum package for your laravel app based on devdojo/chatter

  • Monday, January 15, 2018
  • by wyang14
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 156 Forks
  • 0 Open issues
  • 43 Versions
  • 0 % Grown

The README.md

Installation

Quick Note: If this is a new project, make sure to install the default user authentication provided with Laravel. php artisan make:auth, (*1)

  1. Include the package in your project, (*2)

    composer require "wyang14/chatter=0.3.*"
    
  2. Add the service provider to your config/app.php providers array:, (*3)

    If you're installing on Laravel 5.5+ skip this step, (*4)

    Wyang14\Chatter\ChatterServiceProvider::class,
    
  3. Publish the Vendor Assets files by running:, (*5)

    php artisan vendor:publish --provider="Wyang14\Chatter\ChatterServiceProvider"
    
  4. Now that we have published a few new files to our application we need to reload them with the following command:, (*6)

    composer dump-autoload
    
  5. Run Your migrations:, (*7)

    php artisan migrate
    

    Quick tip: Make sure that you've created a database and added your database credentials in your .env file., (*8)

  6. Lastly, run the seed files to seed your database with a little data:, (*9)

    php artisan db:seed --class=ChatterTableSeeder
    
  7. Inside of your master.blade.php file include a header and footer yield. Inside the head of your master or app.blade.php add the following:, (*10)

    @yield('css')
    

    Then, right above the </body> tag of your master file add the following:, (*11)

    @yield('js')
    

Now, visit your site.com/forums and you should see your new forum in front of you!, (*12)

Upgrading

Make sure that your composer.json file is requiring the latest version of chatter:, (*13)

"wyang14/chatter": "0.3.*"

Then you'll run:, (*14)

composer update

Next, you may want to re-publish the chatter assets, chatter config, and the chatter migrations by running the following:, (*15)

php artisan vendor:publish --tag=chatter_assets --force
php artisan vendor:publish --tag=chatter_config --force
php artisan vendor:publish --tag=chatter_migrations --force

Next to make sure you have the latest database schema run:, (*16)

php artisan migrate

And you'll be up-to-date with the latest version :), (*17)

Markdown editor

If you are going to make use of the markdown editor instead of tinymce you will need to change that in your config/chatter.php:, (*18)

'editor' => 'simplemde',

In order to properly display the posts you will need to include the graham-campbell/markdown library for Laravel:, (*19)

composer require graham-campbell/markdown

Trumbowyg editor

If you are going to use Trumbowyg as your editor of choice you will need to change that in your config/chatter.php:, (*20)

'editor' => 'trumbowyg',

Trumbowyg requires jQuery >= 1.8 to be included., (*21)

When you published the vendor assets you added a new file inside of your config folder which is called config/chatter.php. This file contains a bunch of configuration you can use to configure your forums, (*22)

Customization

CUSTOM CSS, (*23)

If you want to add additional style changes you can simply add another stylesheet at the end of your @yield('css') statement in the head of your master file. In order to only load this file when a user is accessing your forums you can include your stylesheet in the following if statement:, (*24)

@if(Request::is( Config::get('chatter.routes.home') ) || Request::is( Config::get('chatter.routes.home') . '/*' ))
    <!-- LINK TO YOUR CUSTOM STYLESHEET -->
    <link rel="stylesheet" href="/assets/css/forums.css" />
@endif

The Versions

15/01 2018

dev-master

9999999-dev

A simple forum package for your laravel app based on devdojo/chatter

  Sources   Download

The Requires

 

The Development Requires

by Weili Yang

15/01 2018

0.3.5

0.3.5.0

A simple forum package for your laravel app based on devdojo/chatter

  Sources   Download

The Requires

 

The Development Requires

by Weili Yang

15/01 2018

0.3.4

0.3.4.0

A simple forum package for your laravel app based on devdojo/chatter

  Sources   Download

The Requires

 

The Development Requires

by Weili Yang

15/01 2018

0.3.3

0.3.3.0

A simple forum package for your laravel app based on devdojo/chatter

  Sources   Download

The Requires

 

The Development Requires

by Weili Yang

15/01 2018

0.3.2

0.3.2.0

A simple forum package for your laravel app based on devdojo/chatter

  Sources   Download

The Requires

 

The Development Requires

by Weili Yang

15/01 2018

0.3.1

0.3.1.0

A simple forum package for your laravel app based on devdojo/chatter

  Sources   Download

The Requires

 

The Development Requires

by Weili Yang

13/04 2017

0.2.8

0.2.8.0

A simple forum package for your laravel app

  Sources   Download

The Requires

 

The Development Requires

by Tony Lea

02/04 2017

dev-release/0.3

dev-release/0.3

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

12/03 2017

0.2.7

0.2.7.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

10/03 2017

0.2.6

0.2.6.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

20/01 2017

0.2.5

0.2.5.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

20/01 2017

0.2.4

0.2.4.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

19/01 2017

0.2.3

0.2.3.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

19/01 2017

0.2.2

0.2.2.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

19/01 2017

0.2.1

0.2.1.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

19/01 2017

dev-develop

dev-develop

A simple forum package for your laravel app

  Sources   Download

The Requires

 

The Development Requires

by Tony Lea

19/01 2017
19/01 2017

dev-analysis-zOxVG4

dev-analysis-zOxVG4

A simple forum package for your laravel app

  Sources   Download

The Requires

 

The Development Requires

by Tony Lea

16/01 2017

0.1.24

0.1.24.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

16/01 2017

0.1.23

0.1.23.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

06/09 2016

0.1.22

0.1.22.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

30/08 2016

0.1.21

0.1.21.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

24/08 2016

0.1.20

0.1.20.0

A simple forum package for your laravel app

  Sources   Download

The Development Requires

by Tony Lea

23/08 2016

0.1.19

0.1.19.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

22/08 2016

0.1.18

0.1.18.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

22/08 2016

0.1.17

0.1.17.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

22/08 2016

0.1.16

0.1.16.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

22/08 2016

0.1.15

0.1.15.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

21/08 2016

0.1.14

0.1.14.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.13

0.1.13.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.12

0.1.12.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.11

0.1.11.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.10

0.1.10.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.9

0.1.9.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.8

0.1.8.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.7

0.1.7.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.6

0.1.6.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.5

0.1.5.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.4

0.1.4.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.3

0.1.3.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.2

0.1.2.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

19/08 2016

0.1.1

0.1.1.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea

18/08 2016

0.1

0.1.0.0

A simple forum package for your laravel app

  Sources   Download

by Tony Lea