# Examples

The library comes with several examples that allow you to see the JSON policy framework in action. All the samples are part of the jsonpolicy-php(opens new window) repository are located in the /samples folder.

To execute any sample, simply clone the jsonpolicy-php repository and then run composer install. Finally, navigate to the desired sample inside the /samples folder and run php index.php command in the terminal.

This is the complete list of samples that are currently included: