PHP code example of lapaz / plain-php

1. Go to this page and download the library: Download lapaz/plain-php 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/ */

    

lapaz / plain-php example snippets



/* @var $this SomeObject */

return [
    // your config
    'some-element' => $parameter,
    'another-element' => $anotherParameter,
    'element-by-method-call' => $this->getConfigElement(),
];

$config = ScriptRunner::which()->notherParameter' => '...',
])->binding($someObject)->run();