> Last Updated: 2017-03-16 03:10:55 +0000 由?[LARAVEL CHINA 社區](https://laravel-china.org/)?維護
目前網絡上充斥著大量的過時資訊,讓 PHP 新手誤入歧途,并且傳播著錯誤的實踐以及不安全的代碼。PHP 之道 收集了現有的 PHP 最佳實踐、編碼規范和權威學習指南,方便 PHP 開發者閱讀和查找
使用 PHP 沒有規范化的方式。本網站主要是向 PHP 新手介紹一些他們沒有發現或者是太晚發現的主題, 或是經驗豐富的專業人士已經實踐已久的做法提供一些新想法。本網站也不會告訴您應該使用什么樣的工具,而是提供多種選擇的建議,并盡可能地說明方法及用法上的差異。
> 當有更多有用的資訊以及范例時,此文件會隨著相關技術的發展而持續更新。
## 翻譯
PHP 之道 已經翻譯成多種語言:
* [English](http://www.phptherightway.com/)
* [Bulgarian](http://bg.phptherightway.com/)
* [Chinese (Simplified)](http://laravel-china.github.io/php-the-right-way/)
* [Chinese (Traditional)](http://laravel-taiwan.github.io/php-the-right-way/)
* [French](http://eilgin.github.io/php-the-right-way/)
* [German](http://rwetzlmayr.github.io/php-the-right-way/)
* [Indonesian](http://id.phptherightway.com/)
* [Italian](http://it.phptherightway.com/)
* [Japanese](http://ja.phptherightway.com/)
* [Korean](http://modernpug.github.io/php-the-right-way/)
* [Persian](http://novid.github.io/php-the-right-way/)
* [Polish](http://pl.phptherightway.com/)
* [Portuguese](http://br.phptherightway.com/)
* [Romanian](https://bgui.github.io/php-the-right-way/)
* [Russian](http://getjump.github.io/ru-php-the-right-way)
* [Serbian](http://smatejic.github.io/php-the-right-way/)
* [Slovenian](http://sl.phptherightway.com/)
* [Spanish](http://phpdevenezuela.github.io/php-the-right-way/)
* [Thai](https://apzentral.github.io/php-the-right-way/)
* [Turkish](http://hkulekci.github.io/php-the-right-way/)
* [Ukrainian](http://iflista.github.com/php-the-right-way/)
## 書本
最新版本的?*PHP 之道*?包含 PDF, EPUB 和 MOBI 版本,可以在?[Leanpub](https://leanpub.com/phptherightway)?上購買。
## 如何參與
幫助我們讓本網站作為 PHP 新手的最佳資源
## 推廣
_PHP: 您可以在網站上放置 PHP之道 的橫幅來支持我們,讓 PHP 的新人知道哪里可以獲取到好的資料!
[廣告橫幅](http://laravel-china.github.io/php-the-right-way/banners.html)
- 歡迎
- 入門指南
- 使用當前穩定版本
- 內置的WEB服務器
- Mac安裝
- Windows安裝
- 代碼風格指南
- 語言亮點
- 編程范式
- 命名空間
- PHP標準庫
- 命令行接口
- Xdebug
- 依賴管理
- Composer 與 Packagist
- PEAR
- 開發實踐
- 基礎知識
- 日期和時間
- 設計模式
- 使用UTF8編碼
- 依賴注入
- 基本概念
- 復雜的問題
- 容器
- 延伸閱讀
- 數據庫
- MYSQL 擴展
- PDO 擴展
- 數據庫交互
- 數據庫抽象層
- 使用模板
- 好處
- 原生PHP模板
- 編譯模板
- 延伸閱讀
- 錯誤與異常
- 錯誤
- 異常
- 安全
- Web應用程序安全
- 密碼哈希
- 數據過濾
- 配置文件
- 注冊全局變量
- 錯誤報告
- 測試
- 測試驅動開發
- 行為驅動開發
- 其他測試工具
- 服務器與部署
- Platform as a Service (PaaS)
- 虛擬或專用服務器
- 共享服務器
- 構建及部署應用
- 虛擬化
- Vagrant
- Docker
- 緩存
- Opcode緩存
- 對象緩存
- 文檔撰寫
- 資源
- 社區
- Credits