All Projects → behzadmoradi → Laralack

behzadmoradi / Laralack

Licence: mit
A Slack clone written in PHP & Laravel framework

Projects that are alternatives of or similar to Laralack

Laravel Form Components
A set of Blade components to rapidly build forms with Tailwind CSS (v1.0 and v2.0) and Bootstrap 4. Supports validation, model binding, default values, translations, Laravel Livewire, includes default vendor styling and fully customizable!
Stars: ✭ 295 (+259.76%)
Mutual labels:  laravel, bootstrap
Laravel Vue Pagination
A Vue.js pagination component for Laravel paginators that works with Bootstrap
Stars: ✭ 541 (+559.76%)
Mutual labels:  laravel, bootstrap
Jetstrap
A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream and Breeze to Bootstrap 4.
Stars: ✭ 320 (+290.24%)
Mutual labels:  laravel, bootstrap
Bootstrap Form
Bootstrap 3 form builder for Laravel
Stars: ✭ 225 (+174.39%)
Mutual labels:  laravel, bootstrap
Laravel Bootstrap Table List
Bootstrap table list generator for Laravel.
Stars: ✭ 16 (-80.49%)
Mutual labels:  laravel, bootstrap
Laravel Slack
#️⃣ Slack notification for Laravel as it should be. Easy, fast, simple and highly testable.
Stars: ✭ 263 (+220.73%)
Mutual labels:  laravel, slack
Fullycms
Fully CMS - Multi Language Content Management System - Laravel
Stars: ✭ 465 (+467.07%)
Mutual labels:  laravel, bootstrap
Laravel Bootstrap Components
Bootstrap components as Laravel components
Stars: ✭ 190 (+131.71%)
Mutual labels:  laravel, bootstrap
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+758.54%)
Mutual labels:  laravel, bootstrap
Laracms
LaraCMS 是在学习 laravel ( web 开发实战进阶 + 实战构架 API 服务器) 过程中产生的一个业余作品,试图通过简单的方式,快速构建一套基本的企业站同时保留很灵活的扩展能力和优雅的代码方式,当然这些都得益Laravel的优秀设计。同时LaraCMS 也是一个学习Laravel 不错的参考示例。
Stars: ✭ 588 (+617.07%)
Mutual labels:  laravel, bootstrap
Laravel Slack Slash Command
Make a Laravel app respond to a slash command from Slack
Stars: ✭ 215 (+162.2%)
Mutual labels:  laravel, slack
Laravel Settings
Simple Settings package for a laravel application
Stars: ✭ 45 (-45.12%)
Mutual labels:  laravel, bootstrap
Cms
Multilingual PHP CMS built with Laravel and bootstrap
Stars: ✭ 2,342 (+2756.1%)
Mutual labels:  laravel, bootstrap
Ekko
Framework agnostic PHP package for marking navigation items active.
Stars: ✭ 275 (+235.37%)
Mutual labels:  laravel, bootstrap
Library Management System
📚 An automated library management system developed in Laravel 4.2 PHP MVC Framework
Stars: ✭ 189 (+130.49%)
Mutual labels:  laravel, bootstrap
Polr
🚡 A modern, powerful, and robust URL shortener
Stars: ✭ 4,147 (+4957.32%)
Mutual labels:  laravel, bootstrap
Ignition Go
Bootstrap4 /Codeigniter 3 Modular (HMVC) App Building Framework - to build enterprise class web applications... Versions: CodeIgniter 3.1.9 AdminLTE 3.4 Bootstrap 4.5.0
Stars: ✭ 166 (+102.44%)
Mutual labels:  laravel, bootstrap
Laravel Bootstrap 4 Forms
Bootstrap 4 forms for Laravel 5/6/7/8
Stars: ✭ 181 (+120.73%)
Mutual labels:  laravel, bootstrap
Laravel Failed Job Monitor
Get notified when a queued job fails
Stars: ✭ 582 (+609.76%)
Mutual labels:  laravel, slack
Freelancers Market
Laravel Project to help freelance websites clients and freelancers to find each other.
Stars: ✭ 39 (-52.44%)
Mutual labels:  laravel, bootstrap

LaraLack

About LaraLack

LaraLack is an open-sourced clone of Slack

Requirements

  • PHP >= 7.2.5
  • MySQL >= 5.7
  • Git
  • Composer
  • NodeJS
  • Bootstrap 4
  • jQuery

Installation

In order to install this repository on your local machine, first off make sure Git is installed on your system then clone it through the following command:
$ git clone [email protected]:behzadmoradi/laralack.git
Next you need to install PHP dependencies; to do so, you need the Composer package manager. Go to the project directory and fetch dependencies via this command:
$ composer install
In order to install front-end dependencies, after making sure you have NodeJS installed on you machine, run the following command:
$ npm install
Make a copy of .env.example file located in the root of the project and call it .env. At the moment, the only thing that needs to be changed on this file is the name, username, and password of the database. Go to phpmyadmin and create a new database called laralack or whatever name you want then update the following section in .env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laralack
DB_USERNAME=root
DB_PASSWORD=123456
Now you need to run the following Artisan command to create the required tables:
$ php artisan migrate
If successful, by going to phpmyadmin you can see that a couple of tables are created. Before using Laravel's encrypter, you must set a key option in your config/app.php configuration file; so as a final step in the installation process, do so by running php artisan key:generate command.
Another thing that needs to be updated in the .env file is mail service setup. Services like Mailgun, SendGrid, Spark etc, provide developers APIs to send emails through their application and Laravel supports all of them. After registration in one of those, the site provides you with a couple of credentials that must be added to the following section:
MAIL_MAILER=smtp
MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=587
MAIL_USERNAME=apikey
MAIL_PASSWORD=SG.ACzXAZcPQkiesBluRYAbYQ.5lQ4Tv7KIU3KkxIdQMg1j86khEl2ZJFc
MAIL_ENCRYPTION=null
[email protected]
MAIL_FROM_NAME="${APP_NAME}"
From now on, the only other thing in this process is setting up a CRON JOB on your Linux server to run the following command every minute of two:
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
Laravel Scheduler takes care of the rest and runs the required jobs of the project; for example, by inviting people to a channel, new records will be added to the invitations table and when the CRON JOB runs, those records with zero value for the is_sent column will be selected and an invitation email will be sent to whatever value is stored in email column.
Also keep in mind that on you local machine and for testing purposes, you can just open a new termianl window, go to the project directory and run php artisan schedule:run command.

Usage

To start using LaraLack, you need to run php artisan serve command in the terminal and the server starts running at http://127.0.0.1:8000 and by going to this url, you would see that the project is up and running!
Before anything else, you have to make sure that laravel-websockets server is running; so create another terminal window and run the following command:
$ php artisan websockets:serve
By default, post number 6601 will be used for websockets.
Now, simply go to http://127.0.0.1:8000/register and create a new user (In Incognito mode of your browser, create yet another user for testing purposes.). After login, you need to choose a name and username for your account then click on the plus sign next to the "Channels" on the left sidebar to create a new channel.
By clicking on the channel name, it appears on top of main section of the page with a down arrow. If you click on that arrow then "Invite people", you can send an invitation email to other users.
For example, you can enter the email of the user you already created in Incognito window and if you refresh this page, the channel name that has already been created by the other user will show up. From now on, the two users can easily chat through the channel that is assigned to both of them.
To start chatting one to one, click on the plus sign next to the "Direct Messages" on the left sidebar to create a direct chat with a specific user.

Screenshots

This image shows the popup for choosing a name and username:
LaraLack
This image shows the popup for adding a new channel:
LaraLack
This image shows the popup for inviting people to a channel:
LaraLack
This image shows the popup for creating a chat room for a specific user:
LaraLack
This image shows the chat history for a specific user:
LaraLack
This image shows the number of unread messages from another user:
LaraLack

Issues

If you discover any issue within this project, please send an e-mail to me via [email protected].

Changelog

Please see CHANGELOG for more information what has changed recently.

License

LaraLack is an open-sourced software licensed under the MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].