PHP code example of vassilidev / stubbify
1. Go to this page and download the library: Download vassilidev/stubbify 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/ */
vassilidev / stubbify example snippets
\Vassilidev\Stubbify\Stubbify::make(
inputFilePath: public_path('input.php.stub'),
outputFilePath: public_path('output.php'),
data: [
'{{ pseudo }}' => 'Vassili',
],
override: false,
);