PHPackages                             rtmatt/privacy-policy - 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. rtmatt/privacy-policy

AbandonedArchivedLibrary

rtmatt/privacy-policy
=====================

Quick, drop-in privacy policy

0.0.2(9y ago)024PHP

Since Jun 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rtmatt/privacy-policy)[ Packagist](https://packagist.org/packages/rtmatt/privacy-policy)[ RSS](/packages/rtmatt-privacy-policy/feed)WikiDiscussions master Synced 2mo ago

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

Dependencies
------------

[](#dependencies)

- jQuery(loaded before any calls to components)
- Bootstrap Modal CSS (see below)

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

[](#installation)

via composer:

```
composer require rtmatt/privacy-policy
```

Add to configuration file (above route service provider)

```
RTMatt\PrivacyPolicy\Providers\PrivacyPolicyServiceProvider::class
```

Publish Config
--------------

[](#publish-config)

```
php artisan vendor:publish --provider="RTMatt\PrivacyPolicy\Providers\PrivacyPolicyServiceProvider" --tag="config"
```

Modal Usage
-----------

[](#modal-usage)

Include the modal and the link in the appropriate layout file (jQuery required, bootstrap will be included if it's not already)

```
//Put this wherever it should show in the layout
@include('rtprivacypolicy::link')
//...
//Include this near the closing body tag
@include('rtprivacypolicy::modal')
```

If you want the modal to not look like a pile of shit (read:work stylisitically) you will need to include bootstraps modal css somewhere and somehow.

OVERRIDE VIEW
-------------

[](#override-view)

Make a file in

```
/resources/views/vendor/rtprivacypolicy/privacy-policy.blade.php

```

Configuration
-------------

[](#configuration)

```
 	'business_name'    => '[ENTER BUSINESS NAME HERE]', //business name for display in PP
    'contact_email'    => '[ENTER CONTACT EMAIL ADDRESS HERE]', //contact email for display in PP
    'contact_phone'    => '[ENTER PHONE NUMBER HERE]', // contact phone for display in PP
    'site_url'         => url('/'), //site url for display in PP
    'master_layout'    => 'rtprivacypolicy::blank', //Layout for the PP content to extend (when register route active)
    'section_name'     => 'content', // section name within master page for PP content
    'register_route'   => false, //resister route for PP to display on own page
    'link_text'        => 'Terms & Privacy' // the text to display in the modal link when included as a modal
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

3620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cca788b8cba824499662e77e0cf2c23ba64384dca610cb9781a8ceb61028823a?d=identicon)[RTMatt](/maintainers/RTMatt)

---

Top Contributors

[![rtmatt](https://avatars.githubusercontent.com/u/12945032?v=4)](https://github.com/rtmatt "rtmatt (5 commits)")

### Embed Badge

![Health badge](/badges/rtmatt-privacy-policy/health.svg)

```
[![Health](https://phpackages.com/badges/rtmatt-privacy-policy/health.svg)](https://phpackages.com/packages/rtmatt-privacy-policy)
```

PHPackages © 2026

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