PHPackages                             carter/mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. carter/mailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

carter/mailer
=============

this package is to send emails.

v1.0.3(6y ago)18MITPHP

Since Jul 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/negimanoj/carter-mailer)[ Packagist](https://packagist.org/packages/carter/mailer)[ RSS](/packages/carter-mailer/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (5)Used By (0)

\#Mailer package [![Issues](https://camo.githubusercontent.com/8fc2be197271da50815a584a33c61a1ca543bbf610edcee1f1189722f365aab5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e6567696d616e6f6a2f6361727465722d6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/negimanoj/carter-mailer/issues)[![Forks](https://camo.githubusercontent.com/24e12ccd04da9d6730522ed74de0eb644474c65ebabd2032dd439044247dc867/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e6567696d616e6f6a2f6361727465722d6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/negimanoj/carter-mailer/network/members)[![Stars](https://camo.githubusercontent.com/4359f2af5f0268097e117e6727c23ddab4e45dac9561176b8e0f3ee7ad013040/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6567696d616e6f6a2f6361727465722d6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/negimanoj/carter-mailer/stargazers)

This package is to send email
-----------------------------

[](#this-package-is-to-send-email)

How to Install
--------------

[](#how-to-install)

You can install this by running following composer command

```
composer require carter/mailer
```

Run the follwoing command and publish it

```
php artisan vendor:publish
```

After publish you will find a new file "mailer.php" in your config folder.Please add necessarry details in that file

\##How to use in controller

First thing you need to do is add the follwoing line in provider section of your "config/app.php".

```
Carter\Mailer\MailerServiceProvider::class,
```

Add Follwing line in your controller

```
use Mailer;
```

\##How to use this package to send mail

You can send mail using this package by adding follwing line of code

```
$to="yourmail@example.com";
#or
$to=array('yourmail@example.com'=>'YourName','secondmail@example.com'=>'SecondName');

$subject="Subject of the email";
$message="Body of your message" #you can also load the view in your message

$result=Mailer::sendmail($to,$subject,$message);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

2499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/237fb2a9afcf6a13fd8026ff7b025901f4725b828d041936d77893f0778382e1?d=identicon)[negimanoj](/maintainers/negimanoj)

---

Top Contributors

[![carter-manoj](https://avatars.githubusercontent.com/u/53927729?v=4)](https://github.com/carter-manoj "carter-manoj (6 commits)")[![negimanoj](https://avatars.githubusercontent.com/u/52736449?v=4)](https://github.com/negimanoj "negimanoj (1 commits)")

### Embed Badge

![Health badge](/badges/carter-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/carter-mailer/health.svg)](https://phpackages.com/packages/carter-mailer)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
