1. Go to this page and download the library: Download marrios/firulincore 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/ */
marrios / firulincore example snippets
namespace Firulin\Commands;
use Firulin\Messages\MessageNormal;
use Firulin\Messages\MessageSuccess;
use Firulin\Messages\MessageError;
class Hello extends Command
{
//
public function world()
{
echo "Hello World";
}
}
/**
* Before creating a new command, you must add it
* to the "commands" array, and to the "suggestList" array
*/
"commands"=>[
//Command
"project"=>[
// SubCommand
"create"
],
"cmd"=>[
"create"
],
"hello"=>[
"world"
]
]