Download the PHP package omarabdulwahhab/laramessenger without Composer

On this page you can find all versions of the php package omarabdulwahhab/laramessenger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laramessenger

Lara-Messenger

MarkDown Laravel ask me

A simple package for you to implement a chat in your application without effort !

Table of Contents

Installation

LaraMessenger is a Laravel package that provides messaging functionality for your Laravel application. Follow these steps to get started:

Step 1: Install the Package

You can install LaraMessenger using Composer. Open your terminal and run the following command:

Step 2: Publish Configuration

To publish the LaraMessenger configuration and assets, use the following Artisan command:

This command will copy the necessary configuration files to your project, allowing you to customize the package behavior.

Step 3: Run Migrations

Next, you need to run the migrations to create the necessary database tables for LaraMessenger:

• If you didn't migrate your migrations yet :

• Then :

That's it! You've successfully installed LaraMessenger and set up the necessary database tables for messaging in your Laravel application.

Usage

Firstly : Sending The Message

Here you will find how to use this simple package , follow me: • The code to send a message is very simple :

Option 1: Send a message with broadcasting (pusher) then save the message in the database.

You can use broadcasting with pusher in the package but make sure to integrate with pusher , read this doc section

Option 1: Send a message without broadcasting (just save the message in the database.)

notes

• ->setMessageType($request->type) // Make sure to set a type to one of them ['file','text','voice'] otherwise it will not work!

That's it! You've successfully send a message in LaraMessenger .

Secondly : Loading The Chat ...

Option 1: Load the chat by chatID

Option 2: Load the chat by UsersIDs

Option 3: Load the chat by Scrolling

This function will return the chat with the latest message ID to store it and send it again with next request and so on

Finally I have published the model , migrations and events files to your project ,In case you may like to customize them.

Contributing

We welcome contributions from the community! If you'd like to contribute to this project, please follow these guidelines:

  1. Fork the repository on GitHub.
  2. Create a new branch for your feature or bug fix: git checkout -b feature/awesome-feature.
  3. Make your changes and commit them: git commit -am 'Add some feature'.
  4. Push your changes to the branch: git push origin feature/awesome-feature.
  5. Create a new Pull Request (PR) on GitHub, describing your changes and why they should be merged.

Thank you for contributing to our project!

License

This project is licensed under the MIT License.

Author

Your support and contributions are greatly appreciated!


All versions of laramessenger with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package omarabdulwahhab/laramessenger contains the following files

Loading the files please wait ....