simple pastebin written in PHP
set up silex dependency:
git clone git://github.com/igorw/Silex.git
cd Silex
./compile
cp silex.phar ..
cd ..
rm -rf Silex
install and start mongodb:
brew install mongo
mongod
install the mongodb driver for php:
pecl install mongo
vi /path/to/php.ini
# extension=mongo.so
set up twig dependency:
git submodule update --init
configure
cp example.htaccess .htaccess
# adjust .htaccess
create a cron job to run garbage_collector.php every now and then.
fork, branch, hack, pull request. thanks!
phpunit is required for the tests.
phpunit
- silex
- mongodb
- twig
- shjs
see LICENSE.