Download the PHP package raohwork/notify without Composer

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

Package notify provides simple way to create notify server.

PkgGoDev

Creating a server is easy as

  1. Select and initialize a db driver (see ./model/mysqldrv)
  2. Select and initialize few notify drivers (see ./drivers/...)
  3. Create a configuration (see SenderOptions)
  4. Create a server with SenderOptions, and Register() your drivers
  5. Start(), enjoy it

Predefined binaries

There're two predefined binaries here. Both enables httpdrv. drivers by default. You can enable sendgriddrv. / tgdrv.* by setting environment variables.

The only difference between notify-api and notify-api-pg is database driver, fore one uses MySQL, the other uses PosgreSQL.

There're automated built Docker images on docker hub. Tag latest is for notify-api and pg for notify-api-pg.

FAQ

This is not well tested.

PR plz.

Is this safe to use in production?

For small scale, yes. I'm using it in production for few months, about few thousands of notifications per day, and few dozens per minute at peak.

Not tested in larger scale.

Can you add xxxx driver?

PR of driver that depends on external service (like mail driver with mailgun) will not be accepted, since I have no chance/spare time to test/maintain. Create your own repo and notify me via issue, I'll add a link in readme.

PR of DB driver is welcome if it can be tested using docker. See ./model/mysqldrv/mysql_test.go for example.

License

MPL version 2.0


All versions of notify with dependencies

PHP Build Version
Package Version
Requires php Version ^7
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 raohwork/notify contains the following files

Loading the files please wait ...