Download the PHP package kodio/chatter-core without Composer
On this page you can find all versions of the php package kodio/chatter-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kodio/chatter-core
More information about kodio/chatter-core
Files in kodio/chatter-core
Package chatter-core
Short Description A simple forum package for your laravel app
License MIT
Informations about the package chatter-core
Chatter - Laravel Forum Package
This is a Vue + Tailwind CSS + Laravel forum package. Chatter is a single page application to create forums on Laravel applications with ease.
This package is inspired on the thedevdojo/chatter package
Installation
If you are planning to install Chatter on an already existing project, please check the ChatterPreset class and check which of the instalations steps you need to run, really dependes on what you got.
Chatter Branch | Chatter Version | Laravel version |
---|---|---|
5.x | ^5.8 | ^5.8 |
6.x | ^6 | ^6 |
master | dev-master | ^7 |
-
Install Laravel 7, If you are installing Chatter in an existing project skip this step.
-
Include the package in your project and publish the package views, configs, etc:
-
Run the install command and follow the instructions:
If you are installing Chatter in an existing project, include the --plugin option when you call the install command:
The installation command will take care of all that you need to install the forum: migrations, js components, tailwind, composer packages, node packages, etc.
-
Add the CanDiscuss and HasApiTokens trait to your User model. If you have Laravel Passport already installed on your project you probably already have the HasApiTokens trait in your User model:
- Chatter instalation command already installs Laravel Passport but you need to add the CreateFreshApiToken middleware to your
web
middleware group in your app/Http/Kernel.php file:
If you are installing Chatter on a fresh Laravel instalation, go straight to step 9
-
Make sure you have Tailwind CSS installed on your project. Tailwind CSS instalation.
-
Include the Chatter JS app into your resources/js/app.js:
-
Populate the categories of your forum. You can create a new seed for your project.
-
Run the Laravel server:
- Now, visit http://localhost:8000/forums and you should see your new forum in front of you!
Testing
There are some factories that generates some testing information on the database. Just run the seed to execute those factories:
Roadmap
- [x] Check compatiblity with Laravel 6
- [x] React to posts
- [x] Star this repository
- [ ] Pin a discussion
- [ ] Administration/moderation panel (block users, delete posts)
- [ ] Report discussion
- [ ] Edit posts and discussions (with versioning)
- [ ] Users profiles
- [ ] Users rewards
- [ ] Tag other users on discussions and posts
- [ ] Create tests
- [ ] Use Localization (translations)
Known issues
If you're experiencing issues with your chatter installation, refer to Known issues. If you couldn't solve the issue, please submit a new ticket.
Customization
Configuration
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
Vue components
All the view components used by Chatter are published to your project by the preset instalation. You can make all the changes you need for your project on those.
Screenshots
All versions of chatter-core with dependencies
laravel/passport Version ^7 || ^8 || ^9
mews/purifier Version ^3.1
cviebrock/eloquent-sluggable Version ^4 || ^6 || ^7
laravel-frontend-presets/tailwindcss Version ^4.1
laravel/ui Version ^2.1
kg-bot/laravel-localization-to-vue Version ^1.6