saydum / site-policy
There is no license information available for the latest version (dev-main) of this package.
Пакет для вывода политики сайта в модальном окне
dev-main
2026-06-01 09:34 UTC
This package is auto-updated.
Last update: 2026-06-01 09:34:29 UTC
README
📝 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.

📦 Installation
- Install the package via Composer:
composer require saydum/site-policy
- Publish configuration and views:
php artisan vendor:publish --tag=sitepolicy
- Include package routes in your web.php:
echo "require __DIR__.'/sitepolicy.php';" >> routes/web.php
- Add the cookie banner to your Blade layout (e.g., before ):
@include('sitepolicy::modal')
📁 Project Structure
.
├── composer.json
├── config
│ └── sitepolicy.php
├── resources
│ └── views
│ └── modal.blade.php
├── routes
│ └── sitepolicy.php
└── src
└── SitePolicyServiceProvider.php
👥 Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Clone your fork:
git clone https://github.com/saydum/site-policy.git - Create a new branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -am 'Add some feature' - Push to your branch:
git push origin feature/your-feature - 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