2017 © Pedro Peláez
 

library widespread

Common utilities packed together

image

alternatex/widespread

Common utilities packed together

  • Thursday, April 4, 2013
  • by alternatex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Widespread

Common utilities packed together, (*1)

Prerequisites

PHP 5.3, (*2)

Installation

Install through composer composer require 'alternatex/widespread:*', (*3)

See: https://packagist.org/packages/alternatex/widespread, (*4)

General

Load dependencies through composer autoloader:, (*5)


Use-Case: Preprocessor

... see sledgehammer *, (*6)

Metadata-Extraction

Extract metadata from file header (defaults to first 4096 bytes), (*7)

 array(
      array('NOT', 'Published')
    ),

    // restrict by name
    'Name' => array(
      array('IN', array('Include_1', 'Include_2')),
      array('EX', array('Exclude_1'))
    ),  

    // restrict by age
    'Sort'  => array(
      array('LT', 1000), 
      array('GT', 200)
    )
  )
);

?>

Templating

Gather templates w/partials and merge w/data, (*8)

/templates/body}}'
);

// create mustache rendering engine helper
$m = new \Mustache_Engine(array('partials' => $buckets));

// process
print $m->render($buckets['index.html'], $data);
?>

Convenience

Gather templates w/partials and merge w/data, (*9)

to['prop']['where']->ever;

// ...
$segment_b = 'test2';

// ...
echo $data['path']->to['prop']['where']->ever;

?>

License

Released under two licenses: new BSD, and MIT. You may pick the license that best suits your development needs., (*10)

https://github.com/alternatex/widespread/blob/master/LICENSE, (*11)

The Versions

04/04 2013

dev-master

9999999-dev https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

03/04 2013

2.1.4

2.1.4.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

31/03 2013

2.1.3

2.1.3.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

25/03 2013

2.1.2

2.1.2.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

24/03 2013

2.1.1

2.1.1.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

24/03 2013

2.1.0

2.1.0.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

24/03 2013

2.0.0

2.0.0.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

21/02 2013

1.2.1

1.2.1.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

21/02 2013

1.2.0

1.2.0.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

11/02 2013

1.1.1

1.1.1.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger

10/02 2013

1.1.0

1.1.0.0 https://github.com/alternatex/widespread

Common utilities packed together

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Gianni Furger