File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # IDE
2+ /.idea /
3+
4+ # Composer
5+ /vendor /
6+ /composer.lock
Original file line number Diff line number Diff line change 1+ # CodeMommy ServerPHP
2+
3+ [ ![ License] ( https://poser.pugx.org/CodeMommy/ServerPHP/license?format=flat-square )] ( LICENSE )
4+ [ ![ Download] ( https://poser.pugx.org/CodeMommy/ServerPHP/downloads?format=flat-square )] ( https://packagist.org/packages/CodeMommy/ServerPHP )
5+ [ ![ Stable] ( https://poser.pugx.org/CodeMommy/ServerPHP/version?format=flat-square )] ( https://packagist.org/packages/CodeMommy/ServerPHP )
6+ [ ![ Unstable] ( https://poser.pugx.org/CodeMommy/ServerPHP/v/unstable?format=flat-square )] ( https://packagist.org/packages/CodeMommy/ServerPHP )
7+ [ ![ composer.lock Available] ( https://poser.pugx.org/CodeMommy/ServerPHP/composerlock?format=flat-square )] ( https://packagist.org/packages/CodeMommy/ServerPHP )
8+
9+
10+ > CodeMommy ServerPHP is a request helper for web development.
11+
12+ Visit [ CodeMommy Website] ( http://www.codemommy.com ) or [ Packagist] ( https://packagist.org/packages/CodeMommy/ServerPHP ) to get more information.
13+
14+ ## Authors
15+
16+ | Name | Identity | Social |
17+ | :--- | :------- | :----- |
18+ | Candison November | Creator | [ Website] ( http://www.kandisheng.com ) - [ GitHub] ( https://github.com/KanDisheng ) |
19+
20+ ## More
21+
22+ - [ Feedback] ( https://github.com/CodeMommy/ServerPHP/issues )
23+ - [ About CodeMommy] ( https://github.com/CodeMommy/CodeMommy )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " codemommy/serverphp" ,
3+ "version" : " 0.0.1" ,
4+ "description" : " CodeMommy ServerPHP is a server helper for web development." ,
5+ "keywords" : [
6+ " CodeMommy" ,
7+ " ServerPHP" ,
8+ " PHP"
9+ ],
10+ "license" : " Apache 2.0" ,
11+ "homepage" : " http://www.codemommy.com" ,
12+ "support" : {
13+ "issues" : " https://github.com/CodeMommy/ServerPHP/issues" ,
14+ "source" : " https://github.com/CodeMommy/ServerPHP"
15+ },
16+ "authors" : [
17+ {
18+ "name" : " Candison November" ,
19+ "email" : " kandisheng@163.com" ,
20+ "homepage" : " http://www.kandisheng.com"
21+ }
22+ ],
23+ "autoload" : {
24+ "psr-4" : {
25+ "CodeMommy\\ ServerPHP\\ " : " source/"
26+ }
27+ },
28+ "require" : {
29+ "php" : " >=5.3.0"
30+ }
31+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * CodeMommy ServerPHP
5+ * @author Candison November <www.kandisheng.com>
6+ */
7+
8+ namespace CodeMommy \ServerPHP ;
9+
10+ /**
11+ * Class Server
12+ * @package CodeMommy\ServerPHP
13+ */
14+ class Server
15+ {
16+ public static function information ()
17+ {
18+ phpinfo ();
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * @author Candison November <www.kandisheng.com>
5+ */
6+
7+ require_once (__DIR__ . '/../source/Server.php ' );
8+
9+ use CodeMommy \ServerPHP \Server ;
You can’t perform that action at this time.
0 commit comments