PHP code example of erp-mgroen / php-censor

1. Go to this page and download the library: Download erp-mgroen/php-censor library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

erp-mgroen / php-censor example snippets

bash
composer create-project php-censor/php-censor php-censor.local --keep-vcs
bash
    cd /var/www/php-censor.local
    
bash
    ./bin/console php-censor-migrations:migrate
    
yml
setup:
  composer:
    action: "install"
test:
  php_unit:
    config: "phpunit.xml"
  php_mess_detector:
    allow_failures: true
  php_code_sniffer:
    standard: "PSR2"
  php_cpd:
    allow_failures: true
complete:
  email:
    default_mailto_address: [email protected]
bash
cd /path/to/php-censor
./bin/console php-censor-migrations:migrate
bash
cd /path/to/php-censor
./bin/console php-censor-migrations:create NewMigrationName