PHP code example of wickedone / muppet
1. Go to this page and download the library: Download wickedone/muppet 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/ */
wickedone / muppet example snippets
$config = new Config(
'~/Code/Project/src', // base dir
'~/Code/Project/tests/Unit', // tests dir
// namespace fragments
[
'Awesome',
'Namespace',
'Tests',
'Unit',
],
'foo <[email protected]>' // author (optional)
);
(new Generator($config))
->generate('MyEntity')
;