Skip to content

Instantly share code, notes, and snippets.

@unixnut
Last active December 19, 2016 19:47
Show Gist options
  • Save unixnut/9b7f226090d0fe5a65b973efc7c53808 to your computer and use it in GitHub Desktop.
Save unixnut/9b7f226090d0fe5a65b973efc7c53808 to your computer and use it in GitHub Desktop.
template-PHP-project example
#! /usr/bin/php
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
require_once "foo.inc";
?>
Demo!
<?php
\Demo\Util::hello();
foobar();
# vim: set tabstop=2 shiftwidth=2 :
# Local Variables:
# tab-width: 2
# end:
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment