Download the PHP package reliqarts/mardin without Composer

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

Mardin Messenger

Mardin is a messaging package for Laravel 5.x based on Laravel Messenger.

Built For Laravel StyleCI Scrutinizer License Latest Stable Version

 

Key Features

Installation & Usage

Installation

Install via composer; in console:

or require in composer.json:

then run composer update in your terminal to pull it in.

Once this has finished, you will need to add the service provider to the providers array in your app.php config as follows:

Publish package resources and configuration:

You may opt to publish only configuration by using the config tag:

Create a users table if you do not have one already.

(Optional) Define names of database tables in laravel messenger's config file (config/laravel-messenger) if you don't want to use default ones:

See: Laravel messenger readme for more information on Laravel Messenger setup.

Run the migrations to create messages, threads, and participant tables.

Configuration

And... it's ready! :ok_hand:

Usage

Routes

The following routes are made available. For clarification you may refer to the method documentations in ReliQArts\Mardin\Http\Controllers\MessagesController here.

Authorization

Mardin supports Laravel's default authorization model. To use the provided policy, map the policy in your AuthServiceProvider like so:

The policy uses the canSendMardinMessage() and canReceiveMardinMessage() methods implemented on the User model. These methods are enforced by ReliQArts\Mardin\Contracts\User.

Sending a Message

Start a new thread by making a request to messages/m/new (POST).

Sample New Message Form

The above example uses laravelcollective/html to generate a HTML form which posts to the create-message route.


For more information on Laravel Messenger, check it out here.

:beers: cheers!


All versions of mardin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
illuminate/support Version ^5.5
doctrine/dbal Version ^2.5
pusher/pusher-php-server Version ^3.0
cmgmyr/messenger Version ^2.0
league/fractal Version ^0.13.0
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 reliqarts/mardin contains the following files

Loading the files please wait ....