Download the PHP package infinety-es/notifications without Composer

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

Laravel 5 Notifications

Latest Version on Packagist Total Downloads StyleCI

A package to manage Notifications

With this package you can send notifications to your model. You can choose if you want users, or whatever model.

Notifications are saved on notifications and each item of your model can retrieve it. Also you can set each notification as read.

Installation

Install via composer: composer require infinety-es\notifications

Then register the service provider in config/app.php inside providers array:

Publish package files:

Tip: You can also publish only this tags: config, views and migrations

After modify config\notifications.php file NotificationTraitto your model. For example User model:

Use

In your browser go to notifications. Example: www.infinety.app/notifications.

Default pages are in resources\views\vendor\notifications. You can view and create notifications with a simple interface. You can modify everything.

Command

You can create notifications by artisan with command:

You have some options you need to add. If not, the command will ask you. Options are:

Trait Methods

Get all notifications

This method retrieves all notifications read and not read notifications

Get not read notifications

This method retrieves not read notifications

Get read notifications

This method retrieves read notifications. It's great if you want to show history.

Get count of all notifications

Get count of all notifications including read and not read.

Get count of not read notifications

Get count of all notifications not read.

Contributing

All contributions (in the form on pull requests, issues and feature-requests) are welcome. See the contributors page for all contributors.

License

Laravel 5 Notifications is an open-sourced laravel package licensed under the MIT License (MIT). Please see the license file for more information.


All versions of notifications with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/config Version ~5.0
illuminate/support Version ~5.0
yajra/laravel-datatables-oracle Version ~6.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 infinety-es/notifications contains the following files

Loading the files please wait ....