06/12
                                    2013
                                
                            
                        dev-master
9999999-dev
The Requires
The Development Requires
                         Wallogit.com
                    
                    2017 © Pedro Peláez
                    
                    
                    
                    
                
                
            
generate Wordpress Posts with Alice/Faker, (*1)
with Composer :, (*2)
{
    "require-dev": {
        "digitalkaoz/wordpress-faker": "dev-master"
    }
}
as executable PHAR :, (*3)
$ wget https://github.com/digitalkaoz/wordpress-faker/wordpress-faker.phar
simply define a Alice Faker File (see https://github.com/nelmio/alice and https://github.com/fzaninotto/Faker), (*4)
here is a simple Example:, (*5)
digitalkaoz\WordpressFaker\Post:     #using this class is mandatory
    posts{1..10}:                    #will be a wp_post
        __set: __set
        post_title: <sentence()>
        post_status: 'publish'
        post_content: <paragraphs(6)>
        post_author: 1
        meta:                        #all these parameters will be wp_post_meta
          my_custom_meta: <boolean()>
Then run the Generation:, (*6)
$ php wordpress-faker.phar fake PATH/TO/my_faker.yml PATH/TO/wp_config.php
Voila you have created 10 random Posts, (*7)
to be followed, (*8)