PHPackages                             rs-code/subscription-form - 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. rs-code/subscription-form

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

rs-code/subscription-form
=========================

Simple subscription form for Laravel

v1.2.4(11mo ago)026MITPHPPHP ^8.2

Since May 28Pushed 11mo agoCompare

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

READMEChangelogDependencies (2)Versions (17)Used By (0)

[![RS-CODE](https://camo.githubusercontent.com/189d2c1964f4db97f6421f5b141f3b207146849f170d721da7bedb3fa0340ada/68747470733a2f2f72732d636f64652e617a2f696d672f72732d636f64652e706e67)](https://rs-code.az)

\# rs-code/subscription-form Sadə və yüngül abunəlik forması paketi Laravel üçün.

---

Təsvir
------

[](#təsvir)

`rs-code/subscription-form` Laravel 12 və PHP 8.2 üçün hazırlanmış abunəlik forması paketidir.
Paket, abunəliklərin idarəsi üçün model, controller, migration, view və dil fayllarını təmin edir.

---

Tələblər
--------

[](#tələblər)

- PHP &gt;= 8.2
- Laravel 12.x

---

Quraşdırma
----------

[](#quraşdırma)

Composer vasitəsilə paketi əlavə edin:

```
composer require rs-code/subscription-form
```

---

Paket fayllarının yayımlanması
------------------------------

[](#paket-fayllarının-yayımlanması)

Aşağıdakı artisan komandası ilə paket fayllarını layihənizə yayımlayın:

```
php artisan subscription:install

```

---

Yayımlanacaq fayllar:
---------------------

[](#yayımlanacaq-fayllar)

- Migration: `database/migrations/0001_01_01_000000_create_subscriptions_table.php`
- View: `resources/views/vendor/subscription-form/form.blade.php`
- Controller: `app/Http/Controllers/RSCODE/SubscriptionController.php`
- Model: `app/Models/Subscription.php`
- Dil faylı: `langs/az/rs.php`

Migration icrası
----------------

[](#migration-icrası)

Yayımlanan migration faylını tətbiq edin:

```
php artisan migrate

```

Route əlavə etmə
----------------

[](#route-əlavə-etmə)

`routes/web.php` faylınıza aşağıdakı sətri əlavə edin (əgər yayımlanmamışsa):

```
use App\Http\Controllers\RSCODE\SubscriptionController;
use Illuminate\Support\Facades\Route;

Route::resource('/subscribe', SubscriptionController::class);

```

Subscription inputundan məlumatı ajax ilə göndərmək üçün
--------------------------------------------------------

[](#subscription-inputundan-məlumatı-ajax-ilə-göndərmək-üçün)

```

    $(document).ready(function () {
        $('#subscriptionBtn').click(function () {
            let email = $('#subscriberEmail').val();

            $.ajax({
                type: 'POST',
                url: '{{ route('subscribe.store') }}',
                data: {email, _token: '{{ csrf_token() }}'},
                success: function (response) {
                    $('#subscriberEmail').val(null);
                    toastr.success(response.message);
                },
                error: function (myErrors) {
                    $.each(myErrors.responseJSON.errors, function (key, value) {
                        toastr.error(value);
                    });
                }
            })
        })
    })

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance50

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

16

Last Release

354d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9694fcda033d2e9e443638d6bc393c2361780f9c9442b22f75d81f8d4989cbaa?d=identicon)[RS-CODE](/maintainers/RS-CODE)

---

Top Contributors

[![Rahim12345](https://avatars.githubusercontent.com/u/27228478?v=4)](https://github.com/Rahim12345 "Rahim12345 (17 commits)")

### Embed Badge

![Health badge](/badges/rs-code-subscription-form/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

20917.2M158](/packages/orchestra-canvas)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[glhd/special

1929.4k](/packages/glhd-special)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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