2017 © Pedro Peláez
 

library console

PHP Console Library

image

phpbook/console

PHP Console Library

  • Friday, July 27, 2018
  • by phpbook
  • Repository
  • 0 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

About Console

  • A PHP library to run asynchronous task in console.
  • Requires PHP Extension COM on Windows.

Composer Install

composer require phpbook/console

Declare Configurations

 'Name', 'age' => 'Age'],
            [
                ['name' => 'Jhon', 'age' => 20], 
                ['name' => 'Ana', 'age' => 21]
            ]
        );

        //you can kill the script process
        \PHPBook\Console\Script::kill();

        //you can call another asynchronous console
        $run = \PHPBook\Console\Console::run('resource-name', ['parameter-one', 'parameter-two']);

        if ($run) {
            //start success
        } else {
            //start error
        };

    }

}

```

##### Console Run Resource

```php

Start Request Proxies

Start Application Console
<?php

/***************************************************
* 
*  Start Application Console
* 
* *************************************************/

/* FILE console.php */

if (\PHPBook\Console\Script::isConsole()) {

    \PHPBook\Console\Console::start();

};

You can execute console with "php console.php" and all your available resources will be shown., (*1)

You can execute console with "php console.php resoure-name parameter-one parameter-two" to run a resource., (*2)

Scheduler

  • You need register the php console scripts inside your s.o. server environment scheduler. Each operating system and its server has its way to register.

The Versions

27/07 2018

dev-master

9999999-dev https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

27/07 2018

1.1.5

1.1.5.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

27/07 2018

1.1.4

1.1.4.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

20/07 2018

1.1.3

1.1.3.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

19/07 2018

1.1.2

1.1.2.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

19/07 2018

1.1.1

1.1.1.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

19/07 2018

1.1.0

1.1.0.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

19/07 2018

1.0.9

1.0.9.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

19/07 2018

1.0.8

1.0.8.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

18/07 2018

1.0.5

1.0.5.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

30/06 2018

1.0.4

1.0.4.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

25/06 2018

1.0.3

1.0.3.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

25/06 2018

1.0.2

1.0.2.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

25/06 2018

1.0.1

1.0.1.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast

25/06 2018

1.0.0

1.0.0.0 https://github.com/phpbook-sources/console

PHP Console Library

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Avatar phpbook

php console lightweight fast