Download the PHP package syntech/notifier without Composer

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

Laravel Error Notifier

Laravel Error Notifier is a Laravel package that sends email notifications whenever an error occurs in your Laravel application. It helps you monitor and address issues promptly.

Installation

Step 1: Install via Composer

You can install the package via Composer. Run the following command in your Laravel application's root directory:

Step 2: Publish the Configuration File

This command will create a configuration file at config/error-notifier.php.

Step 3: Configure the Email Recipient

Open the newly created configuration file config/error-notifier.php and set the email address where error notifications should be sent:

Ensure you set the ERROR_NOTIFIER_EMAIL environment variable in your .env file:

[email protected]

Step 4: Configure Mail Settings

Ensure your Laravel application's mail settings are correctly configured in the .env file. Here's an example configuration using SMTP:

Replace these settings with your actual mail server details.

Step 5: Update Logging Configuration

Add the custom log channel to your application's config/logging.php file:

Step 6: Update Exception Handler

Open the app/Exceptions/Handler.php file and update the report method to log errors to the email channel:

Usage

Once installed and configured, the package will automatically send an email notification whenever an error occurs in your Laravel application. Customizing the Notification Email

If you need to customize the email notification, you can modify the ErrorOccurred notification class located at src/Notifications/ErrorOccurred.php. This class defines the content and structure of the email sent when an error occurs. Example

Here is an example of what the email notification might look like:

Subject: Error Occurred in Your Application

An error has occurred:

Please address this issue promptly.

Contributing

If you would like to contribute to this package, please follow these steps:

Fork the repository on GitHub.
Create a new branch for your feature or bugfix.
Make your changes and commit them with a descriptive message.
Push your changes to your forked repository.
Submit a pull request to the main repository.

License

This package is open-source software licensed under the MIT license. Support

If you encounter any issues or have questions, please feel free to open an issue on the GitHub repository.


All versions of notifier with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
illuminate/support Version ^8.0|^9.0|^10.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 syntech/notifier contains the following files

Loading the files please wait ....