2017 © Pedro Peláez
 

library robo-pack

iMi Package Tasks for Robo task runner

image

imi/robo-pack

iMi Package Tasks for Robo task runner

  • Friday, April 20, 2018
  • by imi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 125 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 26 Versions
  • 0 % Grown

The README.md

Robo Utils Pack by iMi

We use this pack internally to unify the setup of our projects., (*1)

Robo-pack is included the .phar of iRobo, (*2)

Included Tasks

The robo-pack includes, (*3)

robo-run, (*4)

robo-wpcli, (*5)

robo-typo3, (*6)

robo-laravel, (*7)

Check the above links for documentation., (*8)

Utility Function: askSetup

$this->askSetup()

Asks basic setup questions that apply to most if not all of our projects. This is the database configuration and the base URL. Smart guesses are made based on our heuristics., (*9)

  • The live URL is supposed to be the directory name
  • The database name shall be the directory name, special characters replaced by _
  • The base URL is live URL and the host name appended

Returns an array with the keys, (*10)

dbName
dbHost
dbUser
dbPassword
baseUrl

If you use place holders like #dbName#, #dbHost# and so on in the config file how can use the following to fill a config file:, (*11)

$settings = $this->askSetup();
$this->taskFilesystemStack()->copy('app/etc/env.template.php', 'app/etc/env.php')->run();
foreach ( $settings as $key => $value ) {
    if (strpos($key,'db') === 0) {
        $this->taskReplaceInFile( 'app/etc/env.php' )->from( '#' . $key . '#' )->to( $value )->run();
    }
}

In the future, such a code should also be included in roboPack, (*12)

The Versions

20/04 2018
19/08 2017

1.5.1

1.5.1.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

19/08 2017

1.5.0

1.5.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

24/07 2017

1.4.0

1.4.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

27/05 2017

1.3.1

1.3.1.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

26/05 2017

1.3.0

1.3.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

06/05 2017

dev-develop

dev-develop

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

1.2.2

1.2.2.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

1.2.1

1.2.1.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

1.2.0

1.2.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

1.1.0

1.1.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

1.0.0

1.0.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

0.3.0

0.3.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

01/05 2017

0.3.0-alpha.1

0.3.0.0-alpha1

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

29/04 2017

0.2.0

0.2.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH

28/04 2017

0.1.0

0.1.0.0

iMi Package Tasks for Robo task runner

  Sources   Download

MIT

The Requires

 

by iMi digital GmbH