Skip to content

notmaintained/pnd

Repository files navigation

Pnd

Pnd is a minimal set of non-OO micro-libraries for PHP 5.3+.

Need Less?

Use only the libs you need:

index.php
<?php

	require '/path/to/pnd.php';

	// include only the libs you need
	requires ('template', 'form');

	// do what you want to do...

?>

Libs can also be included directly without having to explicitly include pnd.php and use requires:

index.php
<?php

	require '/path/to/pnd/template/template.php';

	// invoke template funcs...

?>

To know more about the libs read the documentation available in their respective folders.

Need More?

Use Pnd.glue, a micro-framework built by combining a few Pnd libs:

index.php
<?php

	require '/path/to/pnd/glue/glue.php';

	handle_get('/', function ()
	{
		return 'Hello World';
	});

	respond();

?>

Getting Started

Download the latest version of Pnd:

$ curl -L http://github.com/sandeepshetty/pnd/tarball/master | tar xvz
$ mv sandeepshetty-pnd-* pnd

About

A minimal set of non-OO libraries for PHP 5.3+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages