PHPackages                             leadingdots/coderepo - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. leadingdots/coderepo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

leadingdots/coderepo
====================

A list laravel package for Leadingdots community uses

07551Blade

Since Jan 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Leadingdots/coderepo)[ Packagist](https://packagist.org/packages/leadingdots/coderepo)[ RSS](/packages/leadingdots-coderepo/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

An official laravel packages for Leadingdots community
======================================================

[](#an-official-laravel-packages-for-leadingdots-community)

There is a list of laravel modules to make faster development process for our developers. Please follow the instruction to use these modules.

### Features:

[](#features)

- Custom Email templates via database using laravel default markdown mail functionality.
- Create tokens to make templates dynamic for every email needs in your application.
- Change templates at anytime you want.
- Dont bother for artisan make:mail commands and write lots of codes for every template.

How to install package
----------------------

[](#how-to-install-package)

Require this package in your composer.json and update composer. This will download the package.

```
composer require leadingdots/coderepo

```

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
Leadingdots\CustomEmail\CustomEmailServiceProvider::class,

```

You can optionally use the facade for shorter code. Add this to your facades:

```
'DynamicMail' => 'Leadingdots\CustomEmail\Mail\DynamicMail',

```

### Lumen:

[](#lumen)

After updating composer add the following lines to register provider in `bootstrap/app.php`

```
$app->register(\Leadingdots\CustomEmail\CustomEmailServiceProvider::class);

```

### Blade Files

[](#blade-files)

The defaults blade files are set in `resources/views`. Copy this file to your own views directory to modify the page html. You can publish the blade files, css and js using this command:

```
php artisan vendor:publish --provider="Leadingdots\CustomEmail\CustomEmailServiceProvider"

```

After publishing you can get the blade files at /resources/views/leadingdots/customemail location to modify these also you can see css and js files at /public/leadingdots/customemail location

Now you just need to run migration command for our email template tables generating. Run the command below-

```
php artisan migrate

```

Now you can set your routes prefix and middlewares in /config/coderepoldots.php file

Using
-----

[](#using)

You can use DynamicMail class into your controllers to send emails like example given below

```
//namespace
use DynamicMail;

$tokens = [
      'token1' => 'Token 1 value',
      'token2' => 'Token 2 value'
];
$attachments = [
        [
        'data' => 'file url here',
        'name' => 'file name here'
        ],
        [
        'data' => 'file url here',
        'name' => 'file name here'
        ]
    ]
\Mail::to()->send(new DynamicMail($tokens, , $attachments));

```

### Creating Tokens

[](#creating-tokens)

Tokens are key for our dynamic data in our mails like user name, contact info etc. After fully installation of this package, to create tokens you need to go to the url below and from there you can create no. of tokens needed.

```
//token

```

### Creating Templates

[](#creating-templates)

After fully installation of this package, to create templates you need to go to the url below and from there you can create no. of templates needed.

```
//template

```

### Privacy

[](#privacy)

This CODEREPO package is for use of Leadingdots internal teams and not an open source repository. You can contact to Leadingdots Solution Pvt. Ltd. before using this package to get approval.

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f65bcc7883b19165c42dffe2b416ddec9f4d229d258cc91c93c2b3f448cf12ac?d=identicon)[arvind.maurya@leadingdots.com](/maintainers/arvind.maurya@leadingdots.com)

---

Top Contributors

[![ArvindMaurya199410](https://avatars.githubusercontent.com/u/170220177?v=4)](https://github.com/ArvindMaurya199410 "ArvindMaurya199410 (7 commits)")[![arvindmaurya-dotcom](https://avatars.githubusercontent.com/u/64199777?v=4)](https://github.com/arvindmaurya-dotcom "arvindmaurya-dotcom (7 commits)")

### Embed Badge

![Health badge](/badges/leadingdots-coderepo/health.svg)

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

PHPackages © 2026

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