タグ

2012年5月8日のブックマーク (6件)

  • Windowsでwgetとcomposer - k-holyのPHPとか諸々メモ

    今更ながら Composer というものを使ってみようと思い立ち、Windows7でwgetコマンドとcomposer.pharを使ってみたメモです。 検索してみたら、GNU toolsのWindowsプロジェクト「GnuWin32」にwgetコマンドが移植されていることが分かったので、まずはそちらをインストールします。 Wget for Windowsから、BinariesとDependenciesのZipファイルをダウンロード。 (現在のバージョンは1.11.4) 両方を展開して、Dependenciesの方のbinディレクトリにある4つのDLLファイル(libeay32,libiconv2,libintl3,libssl32) を、Binariesの方のbinディレクトリにコピー。 Binariesの方を適当な名前で適当な場所に移動。今回は c:\Applications\GnuT

    Windowsでwgetとcomposer - k-holyのPHPとか諸々メモ
    k-holy
    k-holy 2012/05/08
    更新しました
  • PHPのマニュアルのビルド方法(2012年4月時点 - id:anatooのブログ

    PHPのマニュアルは、DocBookと呼ばれるフォーマットで記述されており、PhDというPHPのマニュアルのためのツールによってそのDocBookからHTMLやCHM、PDFなどの複数の形式にビルドできる。 そのマニュアルのビルド方法は、他のブログで紹介されていたやり方とは今ではすこし変わっている。この記事では、2012年4月時点で実際にPHPのマニュアルをリポジトリから取ってきてビルドする方法を紹介する。 必要なツールのインストール MaxOSXで作業していることを前提とする。 subversionとpearを予めインストールしておいて、PhDをpear経由でインストールする。 $ pear install http://doc.php.net/get/PhD-1.1.4.tgz $ phd --version PhD Version: 1.1.4 PHP Version: 5.3.8

    PHPのマニュアルのビルド方法(2012年4月時点 - id:anatooのブログ
  • Whois

    概要 Whois では、指定されたドメイン名または IP アドレスの登録レコードを表示します。 Whois の使用 使用法: whois <ドメイン名> [whois.server] <ドメイン名> には、DNS 名 (www.sysinternals.com など) または IP アドレス (66.193.254.46 など) のいずれかを指定します。 Whois のダウンロード (42.5 KB)

    Whois
    k-holy
    k-holy 2012/05/08
    Windows用whoisコマンド
  • Composer: Part 2 – Impact | Nelmio Blog

    In the first part of this post I introduced Composer & Packagist. If you are not familiar with them please read part 1 first. In this second part I would like to talk about a few things Composer could do for you, and the PHP community at large, once it is broadly adopted. Common APIs and Shared Interfaces You may have noticed that quite a lot of people are talking of and asking for more interopera

  • Pieceの中のSymfony #2: Consoleコンポーネント 後編

    Piece FrameworkのプロダクトのひとつStagehand_TestRunnerは、CLI でユニットテストを実行するための継続的テストランナーです。Stagehand_TestRunner v3の実装には多くのSymfonyコンポーネントが使われています。今回は前回に引き続きStagehand_TestRunnerのコマンドラインインターフェイス(CLI)を支えるConsoleコンポーネントについて解説します。 コマンドの実装 - phpunitコマンド今回はPHPUnitのテストを実行するコマンドtestrunner phpunitの実装を見ていきます。 phpunitコマンドはPHPUnitCommandクラスで実装されています。このクラスではテスト実行コマンドの振る舞いのうち、PHPUnit固有のものだけが実装されており、共通のものはスーパークラスであるPluginCom

    Pieceの中のSymfony #2: Consoleコンポーネント 後編
  • Packagist

    Packagist is the main Composer repository. It aggregates public PHP packages installable with Composer. Define Your Dependencies Put a file named composer.json at the root of your project, containing your project dependencies: { "require": { "vendor/package": "1.3.2", "vendor/package2": "1.*", "vendor/package3": "^2.0.3" } } For more information about packages versions usage, see the composer docu

    k-holy
    k-holy 2012/05/08