Download the PHP package utyemma/laranotice without Composer

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

Laranotice

Latest Version on Packagist Total Downloads

Introducing LaraNotice, your go-to package for creating dynamic notifications and email messages effortlessly. LaraNotice allows you to craft and send your notifications with ease while taking advantage of Laravel's powerful built-in notification system.

Setup and Installation

Install LaraNotice in your project

If you intend to store your mail messages in your database, then you’ll be required to run migrations. (Note that this is the default setting)

Usage

Sending Notifications using the Mailable Class

Genrate a mailable class

Format your mail message

Sending Notifications using Laravel's Mail Message Format

Your can learn more about Laravel's default mail message formatting from the Laravel Documentation

Alternatively, if your wish to send a mail instead of create a notification, you can do so by replacing the send method with the 'mail' method

Customizing the Templating Engine

By default, this package makes use of mustache as the default templating system to handle basic templating data. You can learn more about using mustache via the php documentation

However, you are free to use any custom template engine supported by PHP for your entire application or for a single mailable class. You can do so by registering custom template resolvers as shown below

Registering a custom template resolver for a specific mailable class

This example sets the default resolver to make use of Laravel's blade templating engine. You can learn more about Laravel Blade here

Configuring for all mailable classes

Here is an example using handlebars templating engine. Learn more about using Handle Bars in your Laravel Application. Handle Bars Docs

  1. Create a simple invokeable class that returns a static renderEngine method

  2. Update the 'resolver' item in your config file

When this class is provided it will be used in resolving the templates. You must ensure your your mail messages are formatted based on the templating engine you are using as your resolver.

Deleting Mailables

LaraNotice provides a convenient command to clean up mailable classes and their associated database records.

Command Options

The command will ask for confirmation before performing any deletions to prevent accidental data loss.

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laranotice with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
mustache/mustache Version ^2.14
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 utyemma/laranotice contains the following files

Loading the files please wait ...