PHPackages                             imranwpsi/subscription - 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. imranwpsi/subscription

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

imranwpsi/subscription
======================

v1.0.2(1y ago)019MITPHP

Since Jul 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/imranwpsi/email-subscription)[ Packagist](https://packagist.org/packages/imranwpsi/subscription)[ RSS](/packages/imranwpsi-subscription/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Getting Started
---------------

[](#getting-started)

- Create a fresh laravel package

```
composer create-project laravel/laravel example-app

```

- change directory to the new folder

```
cd example-app

```

- When it's done you need to configure your env file and set your app key and other necessary details. In your terminal type:

```
cp .env.example .env

```

- generate the app key

```
php artisan key:generate

```

- create a folder called `packages`, then create a new folder called hossainVendor.

> Note that you can subtitute hossainVendor with your own vendor name. Be sure to change the refrence in every other aspect of the app

- clone this repository to the newly created folder

```
git clone https://github.com/imranwpsi/email-subscription.git packages/hossainVendor/EmailSubscription

```

- Tell Laravel how to load our package and use it's functions, so inside the root of your Laravel app in the composer.json add this code:

```

"autoload": {
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "psr-4": {
            "HossainVendor\\EmailSubscription\\": "vendor/imranwpsi/subscription/src",
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "HossainVendor\\EmailSubscription\\": "vendor/imranwpsi/subscription/src",
            "Tests\\": "tests/"
        }
    },

```

- Dump the composer autoloader

```
composer dump-autoload

```

- Next, we need to add our new Service Provider in our `bootstrap/providers.php` inside the array:

```
return [
   App\Providers\AppServiceProvider::class,
   HossainVendor\EmailSubscription\SubscribeServiceProvider::class,
],

```

- Migrate the database tables

```
php artisan migrate

```

And finally, start the application by running:

```
php artisan serve

```

Visit  in your browser to view the demo.

If you want to include the project as a package to your app, run:

```
composer require imranwpsi/subscription

```

Built With
----------

[](#built-with)

- [Laravel](https://laravel.com/) - The PHP framework for web artisans.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

3

Last Release

718d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29890208?v=4)[Imran Hossain](/maintainers/imranwpsi)[@imranwpsi](https://github.com/imranwpsi)

---

Top Contributors

[![imranwpsi](https://avatars.githubusercontent.com/u/29890208?v=4)](https://github.com/imranwpsi "imranwpsi (9 commits)")

### Embed Badge

![Health badge](/badges/imranwpsi-subscription/health.svg)

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

###  Alternatives

[cerbero/lazy-json

Framework-agnostic package to load JSONs of any dimension and from any source into Laravel lazy collections.

255320.3k1](/packages/cerbero-lazy-json)[bref/symfony-bridge

Makes Symfony work on AWS Lambda with Bref

501.9M9](/packages/bref-symfony-bridge)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

385.6k](/packages/humanmade-lottie-lite)

PHPackages © 2026

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