Laravel 6.0 中文文档laravel/ui 扩展包,并使用 Artisan 命令 ui 来安装前端脚手架 代码: composer require laravel/ui php artisan ui vue --auth 升级指南 重要更新概览 影响较大  授权资源 & viewAny  字符串 & 数组辅助函数 影响中等  认证 RegisterController  不再支持 Carbon 1.x 为存储驱动,建议使用社区维护的扩展包来替代。 URL 生成 路由 URL 生成 & 提取参数 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 24 在之前版本的 Laravel 中,传递关联数组参数到 route 辅助函数或 者 URL::route 方法生成指定路由(包含可选参数)对应 URL 时偶 尔会出现将这些参数作为 URI 库保持同步。其中的一些更新已经在这篇升级指南中覆盖到了,但是 还有很多其他的小更新比如配置文件或注释的微调,就不会一一指 出。你可以通过 GitHub 比较工具 轻松查看变更以便选择那些对你 而言更为重要的更新。 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 25 贡献指南 缺陷报告 为了鼓励促进更加有效积极的合作,Laravel0 码力 | 1442 页 | 14.66 MB | 1 年前3
 Laravel 5.6 中文文档Bootstrap 4 所有前端脚手架例如用户登录认证模板和 Vue 示例组件都已经升级到 Bootstrap 4。默认情况下,生成的分页链接现在也已升级到 Bootstrap 4。 升级指南 预计升级时间:10-30 分钟 PHP Laravel 5.6 需要 PHP 7.1.3 或更高版本。 更新依赖 在 composer.json 中更新 laravel/framework org 7 我们还鼓励你查看 laravel/laravel 代码仓库的更新日志。尽管其中的很多更新不是必须的,但是你可以将应用中的这些文件与代码仓库保持同 步。其中的一些更新已经在这篇升级指南中覆盖到了,但是还有很多其他的小更新比如配置文件或注释的微调,就不会一一指出。你可以通 过 GitHub 比较工具 轻松查看变更以便选择那些对你而言更为重要的更新。 二、快速入门 安装配置 Laravel 应用目录)略过,如果了解细节可参考这篇教程,当然也可以留待下一篇讲 Homestead 和 Valet 再去了 解。本文只探讨如何美化 URL 让其更具有可读性。 Apache 框架中自带的 public/.htaccess 文件支持隐藏 URL 中的 index.php,如过你的 Laravel 应用使用 Apache 作为服务器,需要先确保 Apache 启 用了 mod_rewrite0 码力 | 377 页 | 14.56 MB | 1 年前3
 Laravel 5.2 中文文档版本,Eloquent 全局作用域的实现是复杂且容易出错的,但在 Laravel 5.2 中,全局查询作用域只需实现一个简单的方法 apply 即可。 关于全局作用域详情请查看全局作用域文档。 升级指南 从 5.1 升级到 5.2.0 更新依赖 更新 composer.json 文件指向 laravel/framework 5.2.*。 注:如果你安装的是 Laravel 5.2 的 Laravel 学院致力于提供优质 Laravel 中文学习资源 6 Elixir PHP 的 elixir 方法现在返回一个完整 URL 而不是相对 URL,这对应用程序没有什么 影响,除非你曾经手动将这些 URL 转化成完整 URL。 Eloquent 日期转化 当调用模型或模型集合的 toArray 方法时,任何添加到 $casts 的属性, 如 date 或 da 邮件 邮件配置中移除了 pretend 选项,取而代之的,使用 log 邮件驱动执行和 pretend 同样的 功能,并且将邮件信息记录到日志中。 分页 为了与框架生成的其它 URL 保持一致,分页 URL 不再包含斜杠,这一改变对应用代码 不产生任何影响。 服务提供者 Illuminate\Foundation\Providers\ArtisanServiceProvider 从配置文件0 码力 | 377 页 | 4.56 MB | 1 年前3
 Laravel 5.1 中文文档bug 修复和安全修复,这是 迄今为止,Laravel 提供的最大跨度的支持,并且将会持续为更多的企业用户及普通用户提 供稳定平滑的支持。 PSR-2 PSR-2 代码风格指南已经被 Laravel 框架采取为默认风格指南,此外,所有代码生成器已经 被更新到生成兼容 PSR-2 语法的代码。 文档 Laravel 文档的每一个页面都进行了一丝不苟的审查和引人注目的优化,所有代码示例都被 审查并且扩展到更好的支持上下文相关性。 Laravel 版本中,加密通过 PHP 扩展 mcrypt 进行处理,从 5.1 开始,加密改由通 过 PHP 的另一个扩展 openssl 进行处理,因为该扩展较前者而言维护的更加活跃。 升级指南 更新到 5.1.0 预计更新时间:小于 1 小时 更新 bootstrap/autoload.php 更新 bootstrap/autoload.php 中的变量$compilePath:  Session Laravel 安装完成后,你还应该配置自己的本地环境,如数据库驱动、邮箱服务器、缓存驱 动等。 2.1.4 美化 URL  Apache 框架中自带的 public/.htaccess 文件支持 URL 中隐藏 index.php,如过你的 Laravel 应用 使用 Apache 作为服务器,需要先确保 Apache 启用了 mod_rewrite0 码力 | 307 页 | 3.46 MB | 1 年前3
 Laravel 5.3 中文文档......................................................................................... 3 1.2 升级指南 .................................................................................................. Laravel 5.1 发行版本说明 1.2 升级指南 从 5.2 升级到 5.3 注:预计升级升级时间:2-3 小时 PHP & HHVM Laravel 5.3 要求 PHP 5.6.4 及以上版本,官方将不再支持 HHVM,因为其不包含 PHP 5.6+新提供 的语言特性。 废弃 所有罗列在 Laravel 5.2 升级指南中的废弃功能都已从框架中移除,你需要查看这个列表以确定不 4、分享站点 Valet 还提供了一个命令用于将本地站点共享给其他人,这不需要任何额外工具即可实现。 要共享站点,切换到站点所在目录并运行 valet share,这会生成一个可以公开访问的 URL 并插 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 67 入剪贴板,以便你直接复制到浏览器地址栏,就是这么简单。0 码力 | 691 页 | 9.37 MB | 1 年前3
 Laravel 3.2 Documentation............................................................................................ 52 URL Helpers .......................................................................................... passing of strings into the Input::except method.  Fixed replacement of optional parameters in URL::transpose method.  Improved update handling on Has_Many and Has_One relationships.  Improved performance by only loading contents from file once.  Fix handling of URLs beginning with hashes in URL::to .  Fix the resolution of unset Eloquent attributes.  Allows pivot table timestamps to be0 码力 | 139 页 | 1.13 MB | 1 年前3
 Learning Laravelbeanstalkd 145 null 145 Chapter 49: Remove public from URL in laravel 146 Introduction 146 Examples 146 How to do that? 146 Remove the public from url 146 Chapter 50: Requests 147 Examples 147 Getting Controller method 152 A route for multiple verbs 152 Route Groups 153 Named Route 153 Generate URL using named route 153 Route Parameters 154 Optional Parameter 154 Required Parameter 154 Accessing laravel gives .env-example file that you can use as a reference. That's it. Now when you visit the url which you configured as the domain with your server, your laravel app should work just as it worked0 码力 | 216 页 | 1.58 MB | 1 年前3
 Laravel 5.0 Documentation
getPageLinkWrapper signature has changed to add the rel argument: abstract public function getPageLinkWrapper($url, $page, $rel = null); If you are using the Iron.io queue driver, you will need to add a new encrypt your app/lang/en/reminders.php language file to match this updated file. For security reasons, URL domains may no longer be used to detect your application environment. These values are easily spoofable using the url helper: HTTP Routing Basic Routing Basic GET Route Other Basic Routes Route Registering A Route For Multiple Verbs Registering A Route That Responds To Any HTTP Verb $url = url('foo');0 码力 | 242 页 | 1.44 MB | 1 年前3
 The Laravel Handbook
9 For example in this portion of the file you can see we set the app name, the debug flag, the URL, settings related to logging, to the database connection, email sending and much more. One very useful Laravel application: 12 We made a request to the / relative URL ( http://127.0.0.1:8000/ ), which means the “home page”. This URL is handled in the routes/web.php file, which contains the router shown in the screenshot, we tell Laravel to return the welcome view when someone visits the / URL using the GET HTTP method (the one used when you open the page in the browser): Route::get('/'0 码力 | 111 页 | 14.25 MB | 1 年前3
 《Slides Dev Web》02. Introduction aux frameworks PHP
Front Controller – Traitement et dispatch des requêtes grâce aux routes – (bootstrap, ré-écriture des URL, …) • Object Relational Mapping5 – Active Record, Table Data Gateway, Data Mapper, … • UI Patterns6 Configuration • Keep It Simple and Stupid • 12 factor app7 - fr8 Pretty ( | smart | clean | formatted) URL • Les URL doivent être explicites : – Manipulées par l’utilisateur – Utilisées pour le référencement routage (routing) – Le Front Controller recoit toutes les requêtes (URL rewriting) – Il les dispatche vers les contrôleurs Smart URL & SEO Autres Services • Migrations : Evolutions de la strucutre de0 码力 | 24 页 | 1.03 MB | 1 年前3
共 16 条
- 1
 - 2
 













