Download the PHP package xenonwellz/messenger without Composer

On this page you can find all versions of the php package xenonwellz/messenger. 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 messenger

Messenger Laravel Package

A Laravel package helps you add a real-time messaging system to your application, it supports both pusher and laravel websockets.

Features

Announcement

I will not be updating this package till the next two weeks because i currently have exams but plans for next version is already in place. You expect something more special in the next release

Installation

Prerequisite

composer require xenonwellz/messenger

Publish the assets by running

php artisan vendor:publish --tag=messenger-assets

You can publish the config by entering the following command

php artisan vendor:publish --tag=messenger-config

After runing the php artisan migrate command, you must register at least 2 users and uncomment the allow_conversation_with field in the config.

Customization

Config keys

allow_conversation_with field allows you to specify specific users that can message each other it must return a query (collections will throw an error). Uncomment after first migrate command

use_avatar_field This should return either true or false if set to true it will use a column frrom the database as the path to the image that will serve as profile picture for each user.

avatar_field_name Returns the name of the column that will be used for a specific user's profile picture. to use this, you must set use_avatar_field to true.

default_avatar This field allows you to specify either a full url or a link to an image on the server that could be accessed with Storage::get() if set to empty the users avatar will automatically be st using the uiavatars api.

allowed_mime_types allows you to specify the files that users can send to each other seperated with commas.

max_file_size allows you too set the size of each file that users can send to each other.

max_file_at_once allows you to set the amount of files users can send at once.

websocket_provider Allows you to set your websocket provider. "pusher" to use Pusher's api or "laravel-websockets" to use laravel websockets api. (You should set up your backend how you normallly would for either pusher or Laravel Websockets. Support for Socket.io is coming soon).

force_websocket_ssl/tls If using laravel websockets you can configure either to force TLS or not. You will need to set up websocket tls on you server before doing this.

route_prefix Allows you to set the route for the messenger.

Other customizations

You can always customize anything you want by publishing it first. You can publish them by anything by running this command

php artisan vendor:publish --tag=messenger-whatever

and change the tag based on what you want to publish. (i.e messenger-views to pubish views, messenger-migrations to publish migrations).

Conclusion

You can always open issues if you find any bug or security issue. Thanks for using this package.

This project was developed by Ovabor Obed (Xenonwellz) under the MIT License. I'm currently available for hire especially for remote jobs. Thanks for using this package. Don't forget to Star.


All versions of messenger 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 xenonwellz/messenger contains the following files

Loading the files please wait ....