【PHPDOC】PHPの関数をドキュメントとして見る方法

自分で作ったClassやfunctionをドキュメントとして見たい!って人は

PhpDocmentorというツールで、ウェブ画面やWORDファイル化するのがオススメです。

超簡単セットアップ方法を紹介します

Step:1 PhpDocmentorのインストール

コマンド1発うつだけ
#pear install PhpDocmentor

Step:2 Webドキュメントページを生成するバッチを実行する

phpdoc -d [phpファイルが保存されているディレクトリパス] -t [phpdocのWebページを書き出す先のパス] -o HTML:Smarty:PHP

-o の後の記述は以下の記述から選ぶとそれぞれデザインが変わりますね。

HTML:default:default(デフォルト)
HTML:frames:default
HTML:frames:l0l33t
HTML:frames:phpdoc.de
HTML:frames:phphtmllib,
HTML:frames:earthli,
HTML:frames:DOM/default
HTML:frames:DOM/l0l33t
HTML:frames:DOM/phpdoc.de,
HTML:frames:DOM/phphtmllib
HTML:frames:DOM/earthli
HTML:Smarty:default
HTML:Smarty:PHP
HTML:Smarty:HandS
PDF:default:default
CHM:default:default
XML:DocBook/peardoc2:default

STEP3:吐き出したパスのところにアクセス!

http:://あなたのサイト/吐き出したディレクトリ
phpコメントの書き方は以下のページを参照してみてくださいな。
http://phpspot.net/php/pgphpDocumentor%97p%83R%83%81%83%93%83g%82%CC%8F%91%82%AB%95%FB.html

ちょー簡単!
HTML:default:default(デフォルト)
HTML:frames:default
HTML:frames:l0l33t
HTML:frames:phpdoc.de
HTML:frames:phphtmllib,
HTML:frames:earthli,
HTML:frames:DOM/default
HTML:frames:DOM/l0l33t
HTML:frames:DOM/phpdoc.de,
HTML:frames:DOM/phphtmllib
HTML:frames:DOM/earthli
HTML:Smarty:default
HTML:Smarty:PHP
HTML:Smarty:HandS
PDF:default:default
CHM:default:default
XML:DocBook/peardoc2:default
カテゴリー: IDE、開発ツール, php タグ: , , ,
【PHPDOC】PHPの関数をドキュメントとして見る方法” への1件のコメント
  1. There are some intriguing points at some point in this post but I do not determine if they all center to heart. There is some validity but I will take hold opinion until I appear into it further. Very good write-up , thanks and then we want far more! Added to FeedBurner also

  2. This can be truly legal issue as elevated around the wordpress blog. Recognize the value of raving about across.

  3. Hi there, I check your blog like every week. Your story-telling style is awesome, keep it up!

  4. goibibo coupons より:

    This really is somewhat legal stage as increased around the blog website. Treasure discussing about close to.

  5. This is certainly really legal period as increased in the web log. Delight in speaking of in existance.

  6. An interesting discussion might be worth comment. I do believe which you ought to write a great deal additional about this subject, it may absolutely be a taboo topic but generally folks are as well handful of to communicate on such topics. Yet another. Cheers

  7. Top Hotels より:

    It was some kind of pleasure locating your web site a short even though ago. I came up here at the moment hoping to come across interesting items. And I was not dissatisfied. Your concepts about new approaches on this subject were topical plus a good support to myself. Thank you for making time to write down these issues plus for sharing your notions.

  8. Lleva operando de forma impune desde hace ya cuatro años. Su modus operandi es siempre el mismo. Se aprovecha de la red wifi de los hoteles para acceder a sus víctimas (principalmente directivos de empresas), y de esta forma engañarles para que instalen un backdoor

  9. This is the fitting weblog for anyone who needs to find out about this topic. You understand a lot its almost exhausting to argue with you (not that I truly would want…HaHa). You undoubtedly put a new spin on a subject thats been written about for years. Great stuff, just nice!

  10. herpes cure より:

    whoah this blog is excellent i love reading your posts. Keep up the great work! You realize, many individuals are searching round for this info, you can help them greatly.

  11. Thank you for your style connected with motive though this information is certain spot a new damper within the sale with tinfoil hats.

  12. HIMS pilot より:

    I do not even know the way I stopped up correct here, but I thought this publish used to be great. I do not recognize who you might be even so surely you are going to a well-known blogger when that you are not already Cheers!

  13. cheap flight より:

    Hi there, simply turned into aware of your blog via Google, and located that it’s truly informative. I am going to watch out for brussels. I will appreciate if you happen to continue this in future. Numerous people can be benefited out of your writing. Cheers!|

  14. Hello there, just become alert to your weblog via Google, and located that it’s truly informative. I’m going to be careful for brussels. I will appreciate if you happen to proceed this in future. Lots of other folks will probably be benefited from your writing

  15. hardcore donkey sex at IKOVPS.com

  16. blog より:

    It’s the best time to make some plans for the future and it truly is time to be pleased. I’ve read this post and if I could I wish to suggest you some interesting items or advice. Perhaps you are able to write next articles referring to this article. I wish to read even more things about it!

  17. It’s difficult to get knowledgeable men and girls with this topic, and you appear to be what happens that you are dealing with! Thanks

  18. beard oils より:

    I’ve been surfing on-line more than 3 hours these days, but I by no means discovered any fascinating article like yours. It is pretty value sufficient for me. In my view, if all web owners and bloggers made good content as you did, the web will probably be much more useful than ever before. “I thank God for my handicaps, for through them, I have found myself, my work and my God.” by Hellen Keller.

  19. Aw, this was quite a very good post. In concept I have to spot in writing similar to this moreover – spending time and actual effort to make a superb article… but what / things I say… I procrastinate alot and no indicates often get something carried out.

  20. I’d require to verify with you here. Which is not 1 thing I typically do! I take pleasure in reading a submit that will make individuals believe. Moreover, thanks for permitting me to remark!

  21. Hi there, just turned into aware of your weblog thru Google, and located that it’s really informative. I’m gonna watch out for brussels. I will be grateful in case you continue this in future. Lots of other folks might be benefited from your writing

  22. satellite tv より:

    Hello, Neat post. There’s a problem with your site in web explorer, could test this? IE still is the market chief and a big component to other people will pass over your fantastic writing because of this problem.|

  23. 【PHPDOC】PHPの関数をドキュメントとして見る方法 | 小俣泰明ブログ:株式会社トライフォート共同代表 http://www.mallorca-rentals.de 【PHPDOC】PHPの関数をドキュメントとして見る方法 | 小俣泰明ブログ:株式会社トライフォート共同代表

  24. kayak より:

    Ask the representative for any exclusive pricing they might know about.
    Delta careers Book online, pack your bag and you also don’t must
    worry about whatever else but getting on the airport.

    This very last minute option is therefore a brilliant way of getting towards the Caribbean capital of scotland- choice without
    spending much on the airfare. For instance, on round-trip flights from New York to London, an agenda booked at least two weeks upfront
    may be as inexpensive on some airlines as $600.

  25. AAA+++SUPER SELLER ====FAST SHIPPING!!!!
    best replica gucci handbags http://www.happy-garten.com/Gucci/

  26. The UL30A is more rounded than the Timeline, but it is also heavier.
    I checked the CDs bundled with the notebook
    and found no drivers. Samsung chromebook 3g verizon

  27. They can receive resonant frequencies of environmental electrical pollution and transmit them for the body, especially the thymus, which is surely an important
    part with the immune system. The Panasonic electric shaver ES8249S Nanotech comes using a
    lithium-ion battery, travel case plus a trimmer.
    Razor electric scooter contact number If you want
    to buy an electric powered shaver, here are a few tips to
    think about before purchasing one:.

    Occram’s Razor can be applied equally to advanced
    scientific and industrial problems. Earlier, the mostly used razors are already the straight razors.

  28. Convertible sleeper sofas are also available in leather for everlasting fashion and durability that makes it worth investing in. Nowadays, with plenty
    of options for the sleeper sofa mattress and the numerous propriety designs
    for your memory foam, it might be quite difficult to really focus about the best options.
    Another good thing about designer sectional sleeper sofas is because they are available in number of different styles and colors that are great for in your room easily.

    You must buy special cleaning answers to properly care to get a Microfiber sofa, but it is still a lot
    more cost effective than the most of other sofas
    on the market. There are a few rules everybody should follow whenever they go shopping for furniture,
    and particularly for sofas.

  29. Since the admin of this website is working, no doubt very shortly it will be famous, due to its feature contents.

  30. The USA has experienced many massive natural disasters that
    have changed the landscape forever. He has a strong mechanical
    electrical background from working 28 years in the
    US steel industry. However, that’s very likely a real possibility in future.

13 Ping/トラックバック のために "【PHPDOC】PHPの関数をドキュメントとして見る方法"
  1. Just Browsing

    While I was surfing yesterday I saw a excellent article concerning

  2. Dreary Day

    It was a dreary day here yesterday, so I just took to messing around online and found

  3. Tumblr article

    I saw a writer writing about this on Tumblr and it linked to

  4. Dreary Day

    It was a dreary day here today, so I just took to messing around online and found

  5. led grow lights より:

    Its hard to find good help

    I am regularly proclaiming that its hard to get good help, but here is

  6. Informative and precise

    Its hard to find informative and precise information but here I found

  7. Its hard to find good help

    I am constantnly proclaiming that its hard to procure good help, but here is

  8. binary options より:

    Its hard to find good help

    I am forever saying that its difficult to procure quality help, but here is

  9. Nike Shoes より:

    Yahoo results

    While browsing Yahoo I discovered this page in the results and I didn’t think it fit

  10. Looking around

    I like to surf around the internet, often I will go to Digg and follow thru

  11. Binary Trading より:

    Tumblr article

    I saw someone writing about this on Tumblr and it linked to

  12. wood watch より:

    Informative and precise

    Its hard to find informative and precise information but here I found

  13. Wikia

    Wika linked to this site