Laravel 5.1 LTS 中文文档翻译完成「精校版」
说明
前往阅读: http://laravel-china.org/docs/5.1
此次文档的翻译的比较细致,校对上花了很多时间,过了十几遍,阅读体验较之前应该会有很大改善 :beers: :beers: :beers: 。
一些修改 :sparkles:
文档的另一个目的是作为我 所在团队 的团队文档,所以中间加了一些备注,如:扩展阅读、小技巧、注意事项等。
另一个功能是支持夜间阅读模式:
对手机阅读也做了很多优化,拿着手机也可以刷刷刷文档了。:sparkles:
为什么 LTS
我喜欢 LTS, 我们团队 喜欢和推崇 LTS,事实上,在 2018 年以前我们只会使用 LTS 来开发大部分的个人项目和全部的商业项目。
Laravel 的 LTS 版本是一个伟大的发明,终于可以不用被框架的迭代推着走了,框架的更新换代对一个健康的生态系统来说是很必要的,我也认为程序员应该跟上技术的趋势,这对保持个人竞争力很重要。
但是作为一个庞大的商业项目的基础框架,一年一次的大版本更新真的是很痛苦的事情,需要你做决策: 1. 更新框架为最新;2. 沿用老的框架。
如果你选择更新,那么,你会浪费无数个深夜进行代码迁移和测试。
如果你选择不更新,那么,对不起,你放弃了很多能极大提高你开发效率的「扩展包」,并且,过不了多久,官方会宣布对你的过气的基础框架停止维护,包括安全的 fix。
哪一个决策执行起来,都存在很多不合理,都会让你抓狂,并且过程中你会觉得对不起父母,在这浪费生命。
所以,我们在 2018 年以前,重点维护 Laravel 5.1 LTS 版本的文档。
感谢
感谢@appleboy 为代表的可爱的 台湾翻译团队 ,他们做的很棒 :+1: , 翻译过程中参照了很多他们的做法。
--

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

Alipay PHP...

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

The article discusses adding custom functionality to frameworks, focusing on understanding architecture, identifying extension points, and best practices for integration and debugging.

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.
