使⽤Laravel 8
PHP主流框架打造
RESTful APIVictor 王盛立 鐵⼈賽書籍作者 歡迎將 講者照片 裁成圓形 置於此處 使⽤Laravel 8 PHP主流框架打造 RESTful API ⾃我介紹 • 王盛立 • 出版過⼀本 使⽤Laravel 8 PHP主流框架打造RESTful API(iT邦幫忙鐵⼈賽系列書) • 浪浪的事 Side Project https://langlangthing.com/ 今⽇菜單0 码力 | 22 页 | 3.41 MB | 1 年前3
Laravel 5.1 中文文档项目都有其对应的代码库: Laravel Framework Laravel Application 本文档由 Laravel 学院(LaravelAcademy.org)提供 8 Laravel Documentation Laravel Cashier Laravel Envoy Laravel Homestead Laravel LaraChat 的 Slack 小组的#internals 频道讨论关于 Laravel 的 bugs、新特性、以及 如何实现已有特性等。Taylor Otwell,Laravel 的维护者,通常在工作日的上午 8 点到下午 5 点(西六区或美国芝加哥时间)在线,其它时间也可能偶尔在线。 哪个分支? 所有的 bug 修复应该被提交到最新的稳定分支,永远不要把 bug 修复提交到 master 分支, 除非它们能够修复下个发行版本中的特性。 还将 CSRF 令牌保存到了名为 XSRF-TOKEN 的 cookie 中,你可以使用该 cookie 值来 设置 X-XSRF-TOKEN 请求头。一些 JavaScript 框架,比如 Angular,将会为你自动进行设置, 基本上你不太会手动设置这个值。 6、表单方法伪造 HTML 表单不支持 PUT、PATCH 或者 DELETE 动作,因此,当定义被 HTML 表单调用的 PUT、0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档should not be reported. 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 8 * * @var array */ protected $dontReport = [ AuthorizationException::class, HttpException::class Slack 小组的 #internals 频道讨论关于 Laravel 的 bugs、新特 性、以及如何实现已有特性等。Taylor Otwell,Laravel 的主要维护者,通常在工作日的 上午 8 点到下午 5 点(西六区或美国芝加哥时间)在线,其它时间也可能偶尔在线。 3、哪个分支? 所有的 bug 修复应该被提交到最新的稳定分支,永远不要把 bug 修复提交到 master 分 支,除非它们能够修复下个发行版本中的特性。 还会将 CSRF 令牌保存到了名为 XSRF-TOKEN 的 Cookie 中,你可以使用该 Cookie 值来设置 X-XSRF-TOKEN 请求头。一些 JavaScript 框架,比如 Angular,会为你 自动进行设置,基本上你不太需要手动设置这个值。 6、路由模型绑定 Laravel 路由模型绑定为注入类实例到路由提供了方便,例如,你可以将匹配给定 ID 的 整个 User 类实例注入到路由中,而不是直接注入用户0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档............................................................................................ 220 8. 安全 ............................................................................................... Order; // ... 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 8 $order->save(); 模型被索引之后,就可以通过模型进行全文搜索了,甚至还可以对搜索结果进行分页: return Order::search('Star Trek')->get(); Slack 小组的 #internals 频道讨论关于 Laravel 的 bugs、新特性、以及 如何实现已有特性等。Taylor Otwell,Laravel 的主要维护者,通常在工作日的上午 8 点到下午 5 点(西六区或美国芝加哥时间)在线,其它时间也可能偶尔在线。 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.6 中文文档0 即可访问应用: 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy.org 8 当然,更强大的本地开发环境选择还是 Homestead 和 Valet。 配置 Laravel 初始化配置 公共目录 安装完 Laravel 后,需要将 Web 服务器的 document/web Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy.org 27 charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location 还会将 CSRF 令牌保存到名为 XSRF-TOKEN 的 Cookie 中,你可以使用该 Cookie 值来设置 X-XSRF-TOKEN 请求头。 一些 JavaScript 框架,比如 Angular 和 Axios,会为你自动进行上述设置,基本上你不太需要手动设置这个值。 最后,VerifyCsrfToken 中间件框架底层实现源码位 于 vendor/laravel/framewor0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档显然是不合适的,这个时候懒集合类就派上用场了,它可以每次只读 取文件的一小部分到内存: 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 8 use App\LogEntry; use Illuminate\Support\LazyCollection; LazyCollection::make(function () { $handle bug、新功能、以及现有功能实现的非正式讨论可 以在 Laravel Discord server 的 #internals 频道进行。Taylor Otwell,Laravel 框架的维护者,通常在工作日的上午 8 点到下午 5 点(美西时间或芝加哥时间)在线,其它时间也可能偶尔在线。 哪个分支? 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun Docker Elasticsearch Gearman Go Grafana InfluxDB MariaDB MinIO MongoDB MySQL 8 Neo4j Oh My Zsh Open Resty 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 560 码力 | 1442 页 | 14.66 MB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
Ain’t Gonna Need It • Convention Over 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 Pagination • I18n • Génération de code • Mail • Connecteurs aux webservices 7https://12factor.net/ 8https://12factor.net/fr/ 4 Figure 2: SEO 5 • Captchas • Loggers • … Exemple d’architecture : Laravel Engine, fausse POO • PHP 5, vraie POO, PDO, JSON, … • PHP 6, Unicode , , • PHP 7, que du rêve! • PHP 8, JIT compilation, …11 Il y a plus de vingt ans, Rasmus Lerdorf bricola un outil pour savoir qui consultait0 码力 | 24 页 | 1.03 MB | 1 年前3
Laravel 3.2 Documentation............................ 8 iii Laravel 3.1.6.................................................................................................................. 8 Upgrading From 3.1.5 ..... ................................ 8 Laravel 3.1.5.................................................................................................................. 8 Upgrading From 3.1.4 .......... ................................ 8 Laravel 3.1.4.................................................................................................................. 8 Upgrading From 3.1.3 ..........0 码力 | 139 页 | 1.13 MB | 1 年前3
《Slides Dev Web》 01. Cours devweb
des choses qui vous intéressent • Avant le 1er octobre : – Avoir un compte github avec une clé SSH8 (indispensable au déploiement) – Constitution des équipes de 3 personnes – Choix du projet – Forge : com/l/team/19%3ahGPvEcXl8HCohGre1MLq7AQ4qPWNkY_JqMTTPMPLM- I1%40thread.tacv2/conversations?groupId=cadc33cc-9fc8-49d7-b951-aa26d534e15f&tenantId=5b3b7d7d-e119- 4d05-9022-f775f2e48e96 8https://github.com/settings/keys libérer les dernières semaines de l’année Calendrier Semaine Automne Semaine Printemps 38 Projet PHP 8 39 9 40 10 Rendu intermédiaire 41 S. thématique 11 42 12 43 13 44 Rendu intermédiaire 14 45 16 46 170 码力 | 7 页 | 129.56 KB | 1 年前3
The Laravel Handbook
and modify the database schema 7. Using forms to accept user input and store it into the database 8. Adding a better layout 9. Adding the form at the bottom of the list 10. Allow users to delete dogs and Windows. Open the newly created project folder in VS Code. This should be the file structure: 8 While you’re here I recommend you install the extensions Laravel Extra Intellisense Laravel Artisan Dog::all(); return view('dogs', ['dogs' => $dogs]); })->name('dogs'); Here’s the result: 36 8. Adding a better layout Now that we got data working, let’s clean up the routes a bit, add a more0 码力 | 111 页 | 14.25 MB | 1 年前3
共 22 条
- 1
- 2
- 3













