1. Go to this page and download the library: Download jameslevi/atmos 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/ */
jameslevi / atmos example snippets
/**
* Method to be executed in the command line.
*
* @param array $arguments
* @return void
*/
protected function main(array $arguments)
{
Console::log("Hello World!");
}
/**
* This method will generate new file.
*
* @param array $arguments
* @return void
*/
protected function generate(array $arguments)
{
Console::success("File is generated.");
}
/**
* This method will generate new file.
*
* @param array $arguments
* @return void
*/
protected function generate(array $arguments)
{
Console::success($arguments[0] . " file is generated.");
}
php atmos test:generate newfile.php
protected $alias = "alternative";
Console::log("Hello World!");
Console::success("Congratulations! you made it!");