Skip to content

PHP Faker provider for generating random screenplays/scenarios with the Luc Besson recipe

Notifications You must be signed in to change notification settings

JulienRAVIA/FakerBessonScenarioProvider

Repository files navigation

Faker Besson Scenario

Provider for creating fake scenarios

Faker Cinema

Packagist Travis Build Status

A growing collection of useful Providers for fzaninotto/faker mostly ported to PHP from the stympy/faker Ruby library.

Contents

  1. Installation
  2. Available Formatters
  3. Contributing

Installation

composer require xylis/faker-besson-scenario-provider

Formatters

Below is the list of bundled formatters in the default locale.

Xylis\FakerCinema\Provider\BessonScenario

<?php

$faker = \Faker\Factory::create();
$faker->addProvider(new \Xylis\FakerCinema\Provider\BessonScenario($faker));

$faker->scenario; // Un Dauphin tueur à gages fait une poursuite en Taxi avec des roumains
$faker->basicScenario; // Nikita pète la gueule à des chinois déguisés en Père Noel en banlieue

$faker->scenarios(2); // array
$faker->basicScenarios(2); // array

Contributing

All contributions are welcome. Before opening PRs, make sure that all tests are passing, and that code coverage is satisfactory:

.\vendor\bin\phpunit

About

PHP Faker provider for generating random screenplays/scenarios with the Luc Besson recipe

Topics

Resources

Stars

Watchers

Forks

Languages