Download the PHP package wyang14/chatter without Composer
On this page you can find all versions of the php package wyang14/chatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wyang14/chatter
More information about wyang14/chatter
Files in wyang14/chatter
Package chatter
Short Description A simple forum package for your laravel app based on devdojo/chatter
License
Informations about the package chatter
Installation
Quick Note: If this is a new project, make sure to install the default user authentication provided with Laravel. php artisan make:auth
-
Include the package in your project
-
Add the service provider to your
config/app.php
providers array:If you're installing on Laravel 5.5+ skip this step
-
Publish the Vendor Assets files by running:
-
Now that we have published a few new files to our application we need to reload them with the following command:
-
Run Your migrations:
Quick tip: Make sure that you've created a database and added your database credentials in your
.env
file. -
Lastly, run the seed files to seed your database with a little data:
-
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:
Then, right above the
</body>
tag of your master file add the following:
Now, visit your site.com/forums and you should see your new forum in front of you!
Upgrading
Make sure that your composer.json file is requiring the latest version of chatter:
Then you'll run:
Next, you may want to re-publish the chatter assets, chatter config, and the chatter migrations by running the following:
Next to make sure you have the latest database schema run:
And you'll be up-to-date with the latest version :)
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:
In order to properly display the posts you will need to include the graham-campbell/markdown
library for Laravel:
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:
Trumbowyg requires jQuery >= 1.8 to be included.
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
Customization
CUSTOM CSS
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: