Update composer dependencies

This commit is contained in:
Kijin Sung 2017-06-29 23:39:23 +09:00
parent 49cc39e507
commit cbd324c35b
428 changed files with 17862 additions and 5885 deletions

View file

@ -1,23 +1,22 @@
<?php
# This file passes the content of the Readme.md file in the same directory
# through the SmartyPants filter. You can adapt this sample code in any way
# you like.
// This file passes the content of the Readme.md file in the same directory
// through the SmartyPants filter. You can adapt this sample code in any way
// you like.
//
// ! NOTE: This file requires Markdown to be available on the include path to
// parse the readme file.
########
# NOTE : This file requires Markdown to be available to parse the readme file.
########
# Install PSR-0-compatible class autoloader
// Install PSR-0-compatible class autoloader
spl_autoload_register(function($class){
require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
});
# Get SmartyPants and Markdown classes
// Get SmartyPants and Markdown classes
use \Michelf\SmartyPants;
use \Michelf\MarkdownExtra;
# Read file and pass content through the Markdown praser
// Read file and pass content through the Markdown praser
$text = file_get_contents('Readme.md');
$html = MarkdownExtra::defaultTransform($text);
$html = SmartyPants::defaultTransform($html);
@ -26,7 +25,7 @@ $html = SmartyPants::defaultTransform($html);
<!DOCTYPE html>
<html>
<head>
<title>PHP Markdown Lib - Readme</title>
<title>PHP Smartypants Lib - Readme</title>
</head>
<body>
<?php