PHP code example of makinacorpus / static-passthrough-bundle
1. Go to this page and download the library: Download makinacorpus/static-passthrough-bundle 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/ */
makinacorpus / static-passthrough-bundle example snippets
# config/bundles.php
return [
// ...
MakinaCorpus\StaticPassthroughBundle\StaticPassthroughBundle::class => ['all' => true],
// ...
];
$this->generateUrl(
'static_passthrough_docs',
['path' => 'test.html]
);