├── LICENSE ├── composer.json ├── phpunit.xml ├── readme.md └── src ├── Hamedmehryar └── Chat │ ├── ChatServiceProvider.php │ ├── Models │ ├── Message.php │ ├── Participant.php │ └── Thread.php │ ├── Traits │ └── Chatable.php │ └── examples │ ├── MessagesController.php │ ├── create_users_table.php │ ├── remove_foreign_keys.php │ ├── routes.php │ └── views │ ├── chat │ ├── create.blade.php │ ├── index.blade.php │ ├── show.blade.php │ └── unread-count.blade.php │ └── layouts │ └── master.blade.php ├── chat-assets ├── emotions.png └── smiley.css ├── config ├── .gitkeep └── config.php └── migrations ├── .gitkeep ├── 2014_10_28_175635_create_threads_table.php ├── 2014_10_28_175710_create_messages_table.php ├── 2014_10_28_180224_create_participants_table.php ├── 2014_11_10_083449_add_nullable_to_last_read_in_participants_table.php ├── 2014_11_20_131739_alter_last_read_in_participants_table.php ├── 2014_12_04_124531_add_softdeletes_to_threads_table.php ├── 2015_12_24_113028_add_mime_type_and_extension_to_messages_table.php └── 2015_12_26_155551_add_file_name_to_messages_table.php /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/LICENSE -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/phpunit.xml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/readme.md -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/ChatServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/ChatServiceProvider.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/Models/Message.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/Models/Message.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/Models/Participant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/Models/Participant.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/Models/Thread.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/Models/Thread.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/Traits/Chatable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/Traits/Chatable.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/MessagesController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/MessagesController.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/create_users_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/create_users_table.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/remove_foreign_keys.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/remove_foreign_keys.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/routes.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/views/chat/create.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/views/chat/create.blade.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/views/chat/index.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/views/chat/index.blade.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/views/chat/show.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/views/chat/show.blade.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/views/chat/unread-count.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/views/chat/unread-count.blade.php -------------------------------------------------------------------------------- /src/Hamedmehryar/Chat/examples/views/layouts/master.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/Hamedmehryar/Chat/examples/views/layouts/master.blade.php -------------------------------------------------------------------------------- /src/chat-assets/emotions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/chat-assets/emotions.png -------------------------------------------------------------------------------- /src/chat-assets/smiley.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/chat-assets/smiley.css -------------------------------------------------------------------------------- /src/config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/config/config.php -------------------------------------------------------------------------------- /src/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/migrations/2014_10_28_175635_create_threads_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2014_10_28_175635_create_threads_table.php -------------------------------------------------------------------------------- /src/migrations/2014_10_28_175710_create_messages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2014_10_28_175710_create_messages_table.php -------------------------------------------------------------------------------- /src/migrations/2014_10_28_180224_create_participants_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2014_10_28_180224_create_participants_table.php -------------------------------------------------------------------------------- /src/migrations/2014_11_10_083449_add_nullable_to_last_read_in_participants_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2014_11_10_083449_add_nullable_to_last_read_in_participants_table.php -------------------------------------------------------------------------------- /src/migrations/2014_11_20_131739_alter_last_read_in_participants_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2014_11_20_131739_alter_last_read_in_participants_table.php -------------------------------------------------------------------------------- /src/migrations/2014_12_04_124531_add_softdeletes_to_threads_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2014_12_04_124531_add_softdeletes_to_threads_table.php -------------------------------------------------------------------------------- /src/migrations/2015_12_24_113028_add_mime_type_and_extension_to_messages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2015_12_24_113028_add_mime_type_and_extension_to_messages_table.php -------------------------------------------------------------------------------- /src/migrations/2015_12_26_155551_add_file_name_to_messages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hamedmehryar/laravel-chat/HEAD/src/migrations/2015_12_26_155551_add_file_name_to_messages_table.php --------------------------------------------------------------------------------