Skip to content

version 2.0.0 of php locator generator component released

I happy to announce the release of 2.0.0 of bazzlines locator generator component for php. Important changes are:

  • Generator.php now throws "InvalidArgumentException" instead of "RuntimeException
  • Generator now tries to create the provided directory if it does not exists
  • fixed issue 2
  • fixed issue 4
  • fixed issue 5
  • implement usage of phpcomponentcliarguments
  • implement usage of phpcomponentcommand
  • fixed broken entry of "bin" in composer.json
  • renamed "bin/generaltelocator" to "bin/netbazzlinegeneratelocator"
  • renamed "bin/generateLocator.php" to "bin/generatelocator"
  • renamed "example/[..]/run.php" to "example/[...]/run"
  • fixed issue 3
  • updated dependencies
Translate to de es fr it pt ja

version 1.4.1 of php locator generator component released

I happy to announce the release of 1.4.1 of bazzlines locator generator component for php. Important changes are:

  • removed dependency to apigen
  • implemented generation of "LocatorGeneratorInterface"
  • easy up usage of examples by adding command "executeexample"
  • added example for "methodnamewithoutnamespace"
  • updated api
  • updated dependencies
  • easy up usage of examples (by adding a "run.php" in the directories
  • implemented "methodnamewithoutnamespace" option in "FromPropelSchemaXmlAssembler" ("createMyTable" instead of "createMyNamespaceMyTable")
  • refactored Command
  • refactored FromArrayAssembler
  • refactored FromPropelSchemaXmlAssembler
  • fixed bug in propel name space FromPropelSchemaXmlAssembler
  • refactored FromPropelSchemaXmlAssembler
  • extended usage output
  • enhanced Command (absolute configuration paths are now supported)
  • fixed (stupid) broken unittest
  • fixed error in Command (check if "bootstrapfile" exists in configuration was not well implemented)
  • updated dependencies
Translate to de es fr it pt ja

version 1.1.0 of php locator generator component released

I happy to announce the release of 1.0.1 of bazzlines locator generator component for php. Important changes are:

  • enhanced Command
    • absolute configuration paths are now supported
  • fixed (stupid) broken unittest
  • fixed error in Command
    • check if "bootstrap_file" exists in configuration was not well implemented
  • updated dependencies
Translate to de es fr it pt ja

version 1.0.1 of php locator generator component released

I happy to announce the release of 1.0.1 of bazzlines locator generator component for php. Important changes are:

  • added api
  • fixed broken links
  • adapted composer.json project name
  • moved command logic into simple Command class
  • added check in "generateLocator.php" to validate if installed as composer component or not
Translate to de es fr it pt ja

Process Fork Manager for PHP

I'm happy to announce the release of version 1.0.0 from the componen Process Fork Manager for PHP.

What is it good for?

  • Provides OOP style for creating and observing parallel tasks
  • Comes with a TaskInterface to easy up implementing own tasks
  • Comes with thread, memory and time limit management
  • Can be extended by using the build in event dispatcher
  • Is shipped with a lot of examples
  • Supports POSIX signal handling

How can i use it?


$factory = \Net\Bazzline\Component\ProcessForkManager\ForkManagerFactory();
$manager = $factory->create();

/** @var \Net\Bazzline\Component\ProcessForkManager\TaskInterface $task */ $task = new \My\Task();

$manager->addTask($task); $manager->execute();

How can i install it?

Manuel


mkdir -p vendor/netbazzline/phpcomponentprocessforkmanager
cd vendor/netbazzline/phpcomponentprocessforkmanager
git clone https://github.com/bazzline/phpcomponentprocessforkmanager

With packagist


"netbazzline/phpcomponentprocessfork_manager": "1.0.0"
Translate to de es fr it pt ja

Memory Limit Manager for PHP

I'm happy to announce the release of version 1.0.1 from the componen Memory Limit Manager for PHP.

What is it good for?

  • provides easy setting of memory limit
  • gives you the advantage to add a buffer before reaching the limit to easy up reacting when limit is reached
  • helps you to set the limit in bytes, kilo bytes, mega bytes or giga bytes (same for the buffer)
  • comes with DependentInterface and AwareInterface

How can i use it?


$manager = new Net\Bazzline\Component\MemoryLimitManager\MemoryLimitManager();
$manager->setBufferInMegaBytes(4);
$manager->setLimitInMegaBytes(64);

while (!empty($dataSet)) { if ($manager->isLimitReached()) { //exit while loop, shutdown process } else { $data = array_shift($dataSet); //work on data set } }

How can i install it?

Manuel


mkdir -p vendor/netbazzline/phpcomponentmemorylimitmanager
cd vendor/netbazzline/phpcomponentmemorylimitmanager
git clone https://github.com/bazzline/phpcomponentmemorylimitmanager

With packagist


composer require netbazzline/phpcomponentmemorylimit_manager:dev-master
Translate to de es fr it pt ja

Time Limit Manager for PHP

I'm happy to announce the release of version 1.0.0 from the componen Time Limit Manager for PHP.

What is it good for?

  • provides easy setting of runtime limit
  • gives you the advantage to add a buffer before reaching the limit to easy up reacting when limit is reached
  • helps you to set the limit in seconds, minutes or hours (same for the buffer)
  • comes with DependentInterface and AwareInterface

How can i use it?


$manager = new Net\Bazzline\Component\TimeLimitManager\TimeLimitManager();
$manager->setBufferInSeconds(1);
$manager->setLimitInSeconds(4);

while (!empty($dataSet)) { if ($manager->isLimitReached()) { //exit while loop, shutdown process } else { $data = arrayshift($dataSet); //work on data set } }

How can i install it?

Manuel


mkdir -p vendor/netbazzline/phpcomponenttimelimitmanager
cd vendor/netbazzline/phpcomponenttimelimitmanager
git clone https://github.com/bazzline/phpcomponenttimelimitmanager

With packagist


composer require netbazzline/phpcomponenttimelimitmanager:dev-master
Translate to de es fr it pt ja