Download the PHP package paulbunyannet/form_mail without Composer

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

Depreciated, use Laravel's internal mail class instead.

Form Mail

A laravel package to capture submitted for fields and send out response to a recipient.

Setup

Config

Conventions

Recipient

This package will use the current route for generating the email recipient of the message. For example, if there is a route is "contact-us" and the current site's APP_URL is "http://www.example.com" then the recipient will be "[email protected]".

Fields

By default the package requires three fields (in addition to CSRF):

Any other required fields can be added to the config/form_mail.php config file.

As with language, you can add rules that are specific to a path by using the route name as the ley were the rules are located.

Branding

Add a graphic/html/whatever to the branding config item and it will be injected at the top of the email message. If branding is missing the branding will default to a language string ':domain :form Form'.

Messages

To add a verbage (success message, what to do next, etc.) to the top of the message add a line to the resources/lang/vendor/pbc_form_mail/en/body.php using the route name and the the following keys:

For example, if you had a route to App\Http\Controllers\FormController@send you would format your message array like:

Custom Subject Line

There is a helper that will auto create a subject for the message. If you want a custom one add a array key subject with keys sender and recipient like the above example.


All versions of form_mail with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.0.1
laravel/framework Version ^8.0
paulbunyannet/premailer Version ^2.0
paulbunyannet/bandolier Version ^1.8
paulbunyannet/form_mail_template Version 1.04.x
mustache/mustache Version ^2.11
brandonwamboldt/utilphp Version 1.1.*
laravel/helpers Version ^1.1
fideloper/proxy Version ^4.4
doctrine/dbal Version ^3.1
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 paulbunyannet/form_mail contains the following files

Loading the files please wait ....