Giter VIP home page Giter VIP logo

phpdoc's Introduction

title subtitle
Phpdoc
Addons

Phpdoc Addon

The Phpdoc Addon provides Codex the means to parse the phpdoc generated xml file and display it in a user-friendly way.

Installation

composer require codex/phpdoc
php artisan codex:addons:enable codex/phpdoc
php artisan vendor:publish --provider="Codex\Phpdoc\PhpdocAddonServiceProvider"

Configuration

...

Examples

Api Viewer

Revisions with phpdoc enabled allows users to browse the Api Viewer

Macros

Example

<!--*codex:phpdoc:method('Codex\Phpdoc\Documents\PhpdocMacros::method()', { hide: ['namespace','tags','example'], boxed: true })*-->

Class Link

Method popover

Example Code






Class Link [Class Link](#codex:phpdoc['Codex\Codex'])






Class Link [Class Link](#codex:phpdoc['Codex\Codex']:!styling:!icon)






Class Drawer + Popover [Class Drawer + Popover](#codex:phpdoc['Codex\Codex']:drawer:popover)






 [](#codex:phpdoc['Codex\Codex']:drawer:popover)






 [](#codex:phpdoc['Codex\Codex']:drawer:popover:type)






Link to phpdoc class [Link to phpdoc class](#codex:phpdoc['Codex\Codex'])






Link to phpdoc method [Link to phpdoc method](#codex:phpdoc['Codex\Codex::get()'])






Class popover [Class popover](#codex:phpdoc['Codex\Codex']:popover)






 [](#codex:phpdoc['Codex\Codex']:popover)






Method popover [Method popover](#codex:phpdoc['Codex\Codex::get()']:popover)






Method popover + type [Method popover + :type](#codex:phpdoc['Codex\Codex::get()']:popover::type)
Class type: 





 Class type: [](#codex:phpdoc['Codex\Codex']:type)
Interface type: 





 Interface type: [](#codex:phpdoc(Codex\Contracts\Codex):type)
Trait type: 





 Trait type: [](#codex:phpdoc(Codex\Concerns\HasCodex):type)
string type: 





 String type: [](#codex:phpdoc[string]:type)
array type: 





 Array type: [](#codex:phpdoc[array]:type)






Method tooltip [Method tooltip](#codex:phpdoc['Codex\Codex::get()']:tooltip)






Method tooltip [Method tooltip](#codex:phpdoc['Codex\Codex::get()']:tooltip)
Class Interface Trait Code



 


 


 [](#codex:phpdoc(<name>))



Link 


Link 


Link [Link](#codex:phpdoc(<name>))



 


 


 [](#codex:phpdoc(<name>):!styling:!icon)



 


 


 [](#codex:phpdoc(<name>):type:popover)



 


 


 [](#codex:phpdoc(<name>):type:popover:drawer)



 


 


 [](#codex:phpdoc(<name>):type:popover:drawer)

Copyright/License

Copyright 2019 Robin Radic - MIT Licensed

phpdoc's People

Watchers

 avatar  avatar

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.