PHP code example of startpl / t2cms-module
1. Go to this page and download the library: Download startpl/t2cms-module 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/ */
startpl / t2cms-module example snippets
return [
'url' => 'example-module', // module url
'namespace' => 'startpl\\t2cms\\moduleExample',
'name' => 'example module',
'description' => 'The module example',
'version' => '1.0.0',
'fa_icon' => 'envelope', // fontawesome
'author' => 'Your Name'
];