2017 © Pedro Peláez
 

library toumi

Library to include the legacy code.

image

ackintosh/toumi

Library to include the legacy code.

  • Monday, February 12, 2018
  • by ackintosh
  • Repository
  • 1 Watchers
  • 2 Stars
  • 691 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 21 % Grown

The README.md

Toumi

A library for including legacy php file., (*1)

Build Status, (*2)

Usage

legacy.php, (*3)

<?php
function hoge($arg)
{
    return 'hoge' . $arg;
}

somefunction(1234);

function fuga()
{
    $f = function () { echo 'fuga'; };
    call_user_func($f);
}

var_dump(hoge('hogehoge'));
exit;
<?php
// Only function declaration is included.
\Ackintosh\Toumi::load('legacy.php');

class LegacyTest extends PHPUnit_Framework_TestCase
{
    /**
     * @test
     */
    public function hoge()
    {
        $this->assertSame('hogefuga', hoge('fuga'));
    }
}

Author

Akihito Nakano, (*4)

The Versions

12/02 2018

dev-master

9999999-dev https://github.com/ackintosh/toumi

Library to include the legacy code.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

legacy include

12/02 2018

dev-improve-ci

dev-improve-ci https://github.com/ackintosh/toumi

Library to include the legacy code.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

legacy include

11/02 2018

dev-fix-ci-error

dev-fix-ci-error https://github.com/ackintosh/toumi

Library to include the legacy code.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

legacy include

27/09 2017

1.1

1.1.0.0 https://github.com/ackintosh/toumi

Library to include the legacy code.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

legacy include

09/07 2016

1.0

1.0.0.0 https://github.com/ackintosh/toumi

Library to include the legacy code.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

legacy include