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

On this page you can find all versions of the php package webflorist/privacy-policy-text. 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-text

Privacy Policy Texts in German and English

Latest Stable Composer Version Latest Stable npm Version License

This package includes open source texts for a GDPR conform privacy policy of a website. They come in php and json files to be used by common translation frameworks.

Table Of Contents

Demo

An demo application with the texts included in this package is avaliable at:
https://privacy-policy-vue-demo.netlify.app/

This demo uses the package webflorist/privacy-policy-vue.

Features

Ecosystem

This package is mainly meant as a backend package for other implementations, which use it to provide a privacy policy component to a certain framework.

The following companion packages are currently available: Package Framework
webflorist/privacy-policy-vue Vue
webflorist/privacy-policy-laravel Laravel

Installation

Using composer:

Using npm:

Using yarn:

Usage

In Javascript

The ESM module exports the following stuff:

Check out the Vue component of webflorist/privacy-policy-vue for an example implementation.

Here is and example using a singular viewpoint and a translation library with curly-wrap interpolations:

Interpolations

(Replacing Parameters In Translation Strings)

Any dynamic parts of the language files can be interpolated by the translation-library of your choice. The following formats are supported (each with corresponding json and php files):

The following interpolations are present in the language files:

Markdown Functionality

The language files include some markdown functionality:

The package includes a renderText(text) function to render these markdowns. The package exports this function. So usage would be as follows:

In Javascript:

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-text with dependencies

PHP Build Version
Package Version
No informations.
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-text contains the following files

Loading the files please wait ....