File: dbot

Recommend this page to a friend!
  Classes of Dimitri Sitchet  >  dframework  >  dbot  >  Download  
File: dbot
Role: Example script
Content type: text/plain
Description: Example script
Class: dframework
Framework to build PHP applications
Author: By
Last change:
Date: 2 months ago
Size: 1,066 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php
/**
 * dFramework
 *
 * The simplest PHP framework for beginners
 * Copyright (c) 2019, Dimtrov Sarl
 * This content is released under the Mozilla Public License 2 (MPL-2.0)
 *
 * @package dFramework
 * @author Dimitri Sitchet Tomkeu <dev.dimitrisitchet@gmail.com>
 * @copyright Copyright (c) 2019, Dimtrov Sarl. (https://dimtrov.hebfree.org)
 * @copyright Copyright (c) 2019, Dimitri Sitchet Tomkeu. (https://www.facebook.com/dimtrovich)
 * @license https://opensource.org/licenses/MPL-2.0 MPL-2.0 License
 * @link https://dimtrov.hebfree.org/works/dframework
 * @version 3.1
 */

require_once __DIR__.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'.bootstrap.php';


$app = new Ahc\Cli\Application('dFramework', dFramework\core\dFramework::VERSION);

$app
   
->add(new dFramework\core\cli\Server, 'serve')
    ->
add(new dFramework\core\cli\Mapper, 'map')
    ->
add(new dFramework\core\cli\Less)
    ->
add(new dFramework\core\cli\Entity)
    ->
add(new dFramework\core\cli\Migrate);
 
$app->handle($_SERVER['argv']);


For more information send a message to info at phpclasses dot org.