Download the PHP package webflorist/privacy-policy-laravel without Composer

On this page you can find all versions of the php package webflorist/privacy-policy-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package privacy-policy-laravel

A Privacy Policy Package for Laravel Applications

Build Status Latest Stable Version License

This is a Laravel package providing an open source privacy policy available in german and english.

Table of Contents

Demo

An demo application using the sister-package webflorist/privacy-policy-vue with the same texts is avaliable at:
https://privacy-policy-vue-demo.netlify.app/

Features

Requirements

This package supports Laravel from version 5.5 up until 8.x.

Installation

  1. Require the package via composer:
    composer require webflorist/privacy-policy-laravel
  2. Publish config:
    php artisan vendor:publish --provider="Webflorist\PrivacyPolicy\PrivacyPolicyServiceProvider"
  3. Configure your privacy policy with the privacy-policy.php file in Laravel's config folder. (see below for details).
  4. Include the privacy policy component in your view:

Configuration

data-controller: array (mandatory)

Contact info for the data controller. The array can have the following elements:

singular: boolean (mandatory)

Set to true for singular viewpoint (e.g. "My website...").

Set to false for plural viewpoint (e.g. "Our website...").

data-processing: array (optional)

The data processings used by your site. Each process must be stated as two-dimenstional array with the type of process as it's key and it's properties stated as a value-array.

Supported types of processes are:

The properties of a process can be:

Here is an example for a full data_processing config:

cookies: array|false (mandatory)

This config describes the cookies used by your site.

If your site uses no cookies at all, simply set this to false.

If not, divide the used cookies into first party cookies and third party ones, and list them as sub-arrays of the first_party and third_party arrays of the cookies config.

Each cookie is described as an array with the following possible properties:

Here is an example of the cookie config:

processors: array (optional)

Definition of processors stated with cookies.

Several processors are already included.

State your own ones in the processors config in an array with the shorthand-key of the processor as the key and it's info as an array with the following elements:

Here is and example:

Component Slots

The webflorist-privacy-policy::privacy-policy component provides the following named slots to insert custom text on various positions:

Slot Name Usage
after_intro @slot('after_intro') Custom Text @endslot
gdpr_rights_start @slot('gdpr_rights_start') Custom Text @endslot
gdpr_rights_end @slot('gdpr_rights_end') Custom Text @endslot
data_controller_start @slot('data_controller_start') Custom Text @endslot
data_controller_end @slot('data_controller_end') Custom Text @endslot
security_start @slot('security_start') Custom Text @endslot
security_end @slot('security_end') Custom Text @endslot
cookies_start @slot('cookies_start') Custom Text @endslot
cookies_end @slot('cookies_end') Custom Text @endslot
data_processing_start @slot('data_processing_start') Custom Text @endslot
data_processing_webhosting_start @slot('data_processing_webhosting_start') Custom Text @endslot
data_processing_webhosting_end @slot('data_processing_webhosting_end') Custom Text @endslot
data_processing_analytics_start @slot('data_processing_analytics_start') Custom Text @endslot
data_processing_analytics_end @slot('data_processing_analytics_end') Custom Text @endslot
data_processing_maps_start @slot('data_processing_maps_start') Custom Text @endslot
data_processing_maps_end @slot('data_processing_maps_end') Custom Text @endslot
data_processing_send_emails_start @slot('data_processing_send_emails_start') Custom Text @endslot
data_processing_send_emails_end @slot('data_processing_send_emails_end') Custom Text @endslot
data_processing_end @slot('data_processing_end') Custom Text @endslot
outgoing_links_start @slot('outgoing_links_start') Custom Text @endslot
outgoing_links_end @slot('outgoing_links_end') Custom Text @endslot
processor_list_start @slot('processor_list_start') Custom Text @endslot
processor_list_end @slot('processor_list_end') Custom Text @endslot

Disclaimer

The included text should be suitable for a GDPR-compliant website.

I however do not take any responsibility whatsowever for that.

License

This package is open-sourced software licensed under the MIT license.


All versions of privacy-policy-laravel with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version >=5.5 <9.0.0
webflorist/privacy-policy-text Version ^1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package webflorist/privacy-policy-laravel contains the following files

Loading the files please wait ....