PHPackages                             masuresh124/agree-terms - 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. masuresh124/agree-terms

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

masuresh124/agree-terms
=======================

This package is used agree terms and condition

2.0(5d ago)163MITPHPPHP &gt;=7.1.0

Since Apr 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/masuresh124/agree-terms)[ Packagist](https://packagist.org/packages/masuresh124/agree-terms)[ Docs](https://github.com/masuresh124/agree-terms)[ RSS](/packages/masuresh124-agree-terms/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (2)Versions (10)Used By (0)

Agree Terms and Conditions
==========================

[](#agree-terms-and-conditions)

This plugin offer an intuitive, user-friendly interface where users can easily add agree terms and conditions component.

Installation
------------

[](#installation)

Install agree terms component with the composer

```
 composer require masuresh124/agree-terms
```

Add the following code in config\\app.php

```
  /**
  * Package Service Providers...
  */
  Masuresh124\AgreeTerms\Providers\AgreeTermsProvider::class,
```

Run the following command to publish the service provider

```
  php artisan vendor:publish --provider="Masuresh124\AgreeTerms\Providers\AgreeTermsProvider"
```

Run the following command to run the migration

```
  php artisan migrate
```

In `Model\User.php` add the trait

```
  \Masuresh124\AgreeTerms\Http\Middleware\AgreeTermsMiddleware::class,
    ];
```

In `routes/web.php` add the following middleware for routes

```
  Auth::routes();

  Route::middleware(['auth', 'agree-terms'])->group(function () {
    Route::get('/dashboard', [App\Http\Controllers\HomeController::class, 'index'])->name('dashboard');
});
```

Go To `resources/views/agree-terms/form.blade.php`

- Add layout to this page as per the application design

```
@include('agree-terms.terms')

    @csrf

        Terms and Conditions
        @error('is_agreed')
            {{ $message }}
        @enderror

```

Go To `resources/views/agree-terms/terms.blade.php`

- Add application terms and conditions content

```
Please agree to our updated Terms of Service.

    This place we can add terms and conditions
.
.
.
.

```

Updating
--------

[](#updating)

If the package is already installed and you are trying to update it to the latest version, please follow the instructions below:

- Take a backup of the existing config file located at app/config/agree-terms.php.
- Run the following commands:

**Note: The commands below will replace the existing config file with the new one. After that, compare the new config file with your backup and add any missing values as needed.**

```
  composer require masuresh124/agree-terms
  php artisan vendor:publish --provider="Masuresh124\AgreeTerms\Providers\AgreeTermsProvider"  --tag="config-agree-terms" --force
```

Badges
------

[](#badges)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://choosealicense.com/licenses/mit/)

Authors
-------

[](#authors)

- [@Suresh M A](https://github.com/masuresh124)

Features
--------

[](#features)

- Accept terms and condition
- Exclude paths
- Add custom conditions

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance61

Regular maintenance activity

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.2% 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 ~101 days

Recently: every ~180 days

Total

9

Last Release

5d ago

Major Versions

1.07 → 2.02026-06-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/153027904?v=4)[Suresh M A](/maintainers/masuresh124)[@masuresh124](https://github.com/masuresh124)

---

Top Contributors

[![sureshaigs](https://avatars.githubusercontent.com/u/176040993?v=4)](https://github.com/sureshaigs "sureshaigs (9 commits)")[![masuresh124](https://avatars.githubusercontent.com/u/153027904?v=4)](https://github.com/masuresh124 "masuresh124 (4 commits)")

### Embed Badge

![Health badge](/badges/masuresh124-agree-terms/health.svg)

```
[![Health](https://phpackages.com/badges/masuresh124-agree-terms/health.svg)](https://phpackages.com/packages/masuresh124-agree-terms)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.7k1](/packages/crumbls-layup)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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