Giter Site home page Giter Site logo

cujsonphpfile's Introduction

CUJSONPHPFile

###将php文件的类,和函数名以及函数的注释导出成JSON

Vendor

PHP-Token-Reflection

Sami

###php文件转成markdown语言文档

php markdown.php -s test

image

###php文件转成json

http://localhost/CUJSONPHPFile/command.php?path=test

Out put

{
    "Account": {
        "index_get": false,
        "test": false
    },
    "Table": {
        "index_get": false,
        "list_get": "/**\n     * 根据数据库实例名字查找所有的数据库表名称\n     * \n     * @param string $database_name  数据库实例名\n     * \n     * \n     * @param string $database_name2 dumy\n     * \n     * @link http://www.baidu.com\n     * @return json\n\n{\n    \"statuses\": [\n        {\n            \"created_at\": \"Tue May 31 17:46:55 +0800 2011\",\n            \"id\": 11488058246,\n            \"text\": \"求关注。\",\n            \"source\": \"<a href=\"http://weibo.com\" rel=\"nofollow\">新浪微博</a>\",\n            \"favorited\": false,\n            \"truncated\": false,\n            \"in_reply_to_status_id\": \"\",\n            \"in_reply_to_user_id\": \"\",\n            \"in_reply_to_screen_name\": \"\",\n            \"geo\": null,\n            \"mid\": \"5612814510546515491\",\n            \"reposts_count\": 8,\n            \"comments_count\": 9,\n            \"annotations\": [],\n            \"user\": {\n                \"id\": 1404376560,\n                \"screen_name\": \"zaku\",\n                \"name\": \"zaku\",\n                \"province\": \"11\",\n                \"city\": \"5\",\n                \"location\": \"北京 朝阳区\",\n                \"description\": \"人生五十年,乃如梦如幻;有生斯有死,壮士复何憾。\",\n                \"url\": \"http://blog.sina.com.cn/zaku\",\n                \"profile_image_url\": \"http://tp1.sinaimg.cn/1404376560/50/0/1\",\n                \"domain\": \"zaku\",\n                \"gender\": \"m\",\n                \"followers_count\": 1204,\n                \"friends_count\": 447,\n                \"statuses_count\": 2908,\n                \"favourites_count\": 0,\n                \"created_at\": \"Fri Aug 28 00:00:00 +0800 2009\",\n                \"following\": false,\n                \"allow_all_act_msg\": false,\n                \"remark\": \"\",\n                \"geo_enabled\": true,\n                \"verified\": false,\n                \"allow_all_comment\": true,\n                \"avatar_large\": \"http://tp1.sinaimg.cn/1404376560/180/0/1\",\n                \"verified_reason\": \"\",\n                \"follow_me\": false,\n                \"online_status\": 0,\n                \"bi_followers_count\": 215\n            }\n        },\n        ...\n    ],\n    \"previous_cursor\": 0,                    // 暂未支持\n    \"next_cursor\": 11488013766,     // 暂未支持\n    \"total_number\": 81655\n}\n     \n     */"
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.