PHP code example of bertptrs / marty
1. Go to this page and download the library: Download bertptrs/marty 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/ */
bertptrs / marty example snippets
return [
// …
'packages' => [
// …
'web' => [
'marty\MartyPackage',
],
],
// …
];
function smarty_modifier_i18n($value, mako\i18n\I18n $i18n) {
return $i18n->get($value);
}