Download the PHP package delight-im/privacy-policy without Composer
On this page you can find all versions of the php package delight-im/privacy-policy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download delight-im/privacy-policy
More information about delight-im/privacy-policy
Files in delight-im/privacy-policy
Package privacy-policy
Short Description Programmatically composable privacy policies for humans and machines
License MIT
Homepage https://github.com/delight-im/PHP-PrivacyPolicy
Informations about the package privacy-policy
PHP-PrivacyPolicy
Programmatically composable privacy policies for machines
Requirements
- PHP 5.6.0+
- Internationalization extension (
intl
)
- Internationalization extension (
Installation
-
Include the library via Composer [?]:
- Include the Composer autoloader:
Upgrading
Migrating from an earlier version of this project? See our upgrade guide for help.
Usage
- Creating an instance
- Privacy policies for humans in natural language
- Privacy policies for machines in formal language
- Displaying or printing an instance
- Privacy policies for humans in natural language
- Privacy policies for machines in formal language
- Defining metadata
- Describing your privacy practices
- Explaining the amount, type and purpose of the data you collect
- Lawful bases
- Special conditions
- Data purposes
- Data requirements
- Data types
- Primary
- Secondary
- Tertiary
- Specifying the scope of your policy
- Configuring an instance
- Privacy policies for machines in formal language
Creating an instance
Privacy policies for humans in natural language
Privacy policies for machines in formal language
Displaying or printing an instance
Privacy policies for humans in natural language
Privacy policies for machines in formal language
Defining metadata
Describing your privacy practices
Explaining the amount, type and purpose of the data you collect
Lawful bases
Special conditions
Data purposes
Data requirements
Data types
Primary
Secondary
Tertiary
Specifying the scope of your policy
Configuring an instance
Privacy policies for machines in formal language
Frequently asked questions
How can I help translate the policy to my language?
If there's a class for your language in the src/Language/
directory already, you can just start working on that file.
If there's no such class yet, simply create a new file for your language:
- Copy the template class that extends
HumanPrivacyPolicy
- Rename the class and file to specify the name of your language (following the common naming scheme)
- Update the documentation comment for the class
-
Replace all occurrences of
(except for that in the
default
case of theswitch
block) with areturn
statement specifying the translated string
Why is the HTML output not displayed correctly when using the “Bootstrap” framework?
The “Bootstrap” front-end framework overwrites some of the default CSS properties for definition/description lists. In order to fix how the policy is displayed, you have to reset those properties to their default values or improve them further. Usually, you may want to restrict these resets to the container element of your policy.
Bootstrap 3
Bootstrap 4
Disclaimer
This project does not constitute legal advice and is not to be relied upon or acted on as such. Any material presented here is for general information purposes only and may be out of date, incomplete or not suitable for your jurisdiction. You should seek independent legal advice from a qualified professional to guide your decisions around a valid and complete privacy policy.
Contributing
All contributions are welcome! If you wish to contribute, please create an issue first so that your feature, problem or question can be discussed.
License
This project is licensed under the terms of the MIT License.
All versions of privacy-policy with dependencies
ext-intl Version *