PHPackages                             saydum/site-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. saydum/site-policy

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

saydum/site-policy
==================

Пакет для вывода политики сайта в модальном окне

02↓88.9%Blade

Since Jun 1Pushed 1mo agoCompare

[ Source](https://github.com/saydum/site-policy)[ Packagist](https://packagist.org/packages/saydum/site-policy)[ RSS](/packages/saydum-site-policy/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

site-policy
===========

[](#site-policy)

📝 Description
-------------

[](#-description)

Enhance your website's compliance with data privacy regulations using the 'site-policy' Laravel package. This package provides a customizable cookie consent banner that seamlessly integrates into your Laravel application. Benefit from auto-loaded routes and views, simplifying the implementation process and allowing you to quickly deploy a user-friendly and legally compliant cookie consent solution. [![SitePolicy Banner](assets/preview.png)](assets/preview.png)

📦 Installation
--------------

[](#-installation)

1. **Install the package via Composer:**

```
composer require saydum/site-policy
```

2. **Publish configuration and views:**

```
php artisan vendor:publish --tag=sitepolicy
```

3. **Include package routes in your web.php:**

```
echo "require __DIR__.'/sitepolicy.php';" >> routes/web.php
```

4. **Add the cookie banner to your Blade layout (e.g., before ):**

```
@include('sitepolicy::modal')

```

📁 Project Structure
-------------------

[](#-project-structure)

```
.
├── composer.json
├── config
│   └── sitepolicy.php
├── resources
│   └── views
│       └── modal.blade.php
├── routes
│   └── sitepolicy.php
└── src
    └── SitePolicyServiceProvider.php

```

👥 Contributing
--------------

[](#-contributing)

Contributions are welcome! Here's how you can help:

1. **Fork** the repository
2. **Clone** your fork: `git clone https://github.com/saydum/site-policy.git`
3. **Create** a new branch: `git checkout -b feature/your-feature`
4. **Commit** your changes: `git commit -am 'Add some feature'`
5. **Push** to your branch: `git push origin feature/your-feature`
6. **Open** a pull request

Please ensure your code follows the project's style guidelines and includes tests where applicable.

---

*This README was generated with ❤️ by ReadmeBuddy*

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance59

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/61598489?v=4)[Saydum Khalibekov](/maintainers/saydum)[@saydum](https://github.com/saydum)

---

Top Contributors

[![saydum](https://avatars.githubusercontent.com/u/61598489?v=4)](https://github.com/saydum "saydum (8 commits)")

### Embed Badge

![Health badge](/badges/saydum-site-policy/health.svg)

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

###  Alternatives

[tonyhhyip/sse

An easy-to-use, object-oriented library for Server-Sent Events

24169.6k2](/packages/tonyhhyip-sse)[joaopaulolndev/filament-world-clock

Show hours around the world by timezone

3114.8k](/packages/joaopaulolndev-filament-world-clock)[lukesnowden/menu

Effortless menu building for Laravel 4

142.5k](/packages/lukesnowden-menu)

PHPackages © 2026

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