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

ActiveLibrary

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 32% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

664d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f068815c027bb5bedb4726ffaf8cbb5643e9948e7490881e28946ccba0253fad?d=identicon)[imranwpsi](/maintainers/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)
```

PHPackages © 2026

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