Learning LaravelLaravel 2 Main Features 2 MVC 2 Blade Templating Engine 3 Routing & Middleware 3 Artisan 3 Eloquent ORM 3 Event Handling 3 Versions 3 Examples 4 Welcome to Laravel tag documentation! 4 Starter Laravel Artisan commands using PHP code 9 Creating and registering new artisan command 9 Chapter 3: Authentication 10 Examples 10 Multi Authentication 10 Chapter 4: Authorization 14 Introduction Checking for Existence 21 Raw echos 21 Including Partial Views 21 Layout Inheritance 22 Sharing data to all views 24 Using View::share 24 Using View::composer 24 Closure-based composer 24 Class-based0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.0 Documentation
ii. Core Development Discussion iii. Which Branch? iv. Security Vulnerabilities v. Coding Style 3. Setup i. Installation i. Install Composer ii. Install Laravel iii. Server Requirements ii. Configuration vi. Push Queues vii. Failed Jobs xix. Session i. Configuration ii. Session Usage iii. Flash Data iv. Database Sessions v. Session Drivers xx. Templates i. Blade Templating ii. Other Blade Control PodcastWasPurchased($podcast)); Of course, your event handler will receive the event object instead of a list of data: class ReportPodcastPurchase { public function handle(PodcastWasPurchased $event) {0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 3.2 Documentation................................... 3 Laravel's Community ..................................................................................................... 3 License Information .............. ................................. 3 Laravel Change Log ........................................................................................................... 3 Laravel 3.2.8.................. ..................................... 3 Upgrading From 3.2.7 ................................................................................................. 3 Laravel 3.2.7......................0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.6 中文文档处理时会自动进行重新加载。 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy.org 3 Eloquent 日期转化 现在你可以单独自定义 Eloquent 日期字段转化格式了,开始之前,需要在转化声明中指定目标日期格式。指定好之后,该格式就会在模型序列化为 数组/JSON 时使用: 在在 内容被添加前调用,从而允许你自定义编码以及其他消息选项。 分页 Bootstrap 4 分页器生成的分页链接现在默认使用 Bootstrap 4,要让分页器生成 Bootstrap 3 链接,需要在 AppServiceProvider 的 boot 方法中调 用 Paginator::useBootstrapThree 方法: 3 PostgresSQL Composer Node(With Yarn, Bower, Grunt, and Gulp) Redis Memcached0 码力 | 377 页 | 14.56 MB | 1 年前3
The Laravel Handbook
reach me on Twitter @flaviocopes. Enjoy! 3 The Laravel Handbook 0. Table of contents 0. Table of contents 1. Introduction to Laravel 2. Getting started 3. Blade 4. Dynamic routes 5. Adding a database conventions, so adding a file in the right place with the right name will do something specific. 3. Blade The view files that end with .blade.php and are Blade templates. Blade is a server-side templating anything other than HTML. 18 But you can do lots of interesting stuff in Blade templates: insert data, add conditionals, do loops, display something if the user is authenticated or not, or show different0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 6.0 中文文档CloudFront CDN 进行交互的复杂性进行了抽象。 通过 Ignition 优化异常 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 3 Laravel 6.0 支持 Ignition,这个一个开源的错误和异常详情页项目, 由 Freek Van der Herten 和 Marcel Pociot 创建并维护。相对于之 前版本的错误显示,Ignition PHP 7.2 PHP 7.1 PHP 7.0 PHP 5.6 Nginx MySQL lmm(用于 MySQL 或 MariaDB 数据库快照) SQLite3 PostgreSQL Composer Node(With Yarn, Bower, Grunt, and Gulp) Redis Memcached Beanstalkd 常见的工作流会是这样: 1. 导入数据库到 lmm 默认的 master 分支; 2. 运行 sudo lmm branch prod-YYYY-MM-DD 保存尚未做任何修 改的数据库快照; 3. 修改数据库记录; 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 77 4. 运行 sudo lmm merge prod-YYYY-MM-D0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.1 中文文档} 中间件参数可以再定义路由时通过:分隔中间件名称和参数名称来指定,多个参数可以通过 逗号进行分隔: 本文档由 Laravel 学院(LaravelAcademy.org)提供 3 Route::put('post/{id}', ['middleware' => 'role:editor', functio n ($id) { // }]); 更多关于中间件的内容,请查看中间件一节。 AWS SES 电子邮件驱动,需要升级 AWS PHP SDK 到 3.0 版本。 如果你正在使用 Amazon S3 文件系统驱动,需要通过 Composer 升级相应的文件系统包: Amazon S3: league/flysystem-aws-s3-v3 ~1.0 废弃 以下 Laravel 特性已经被废弃并且会在 2015 年 12 月份的 Laravel 5.2 中被完全移除: 比如,如果你的应用名称是“Horsefly”,你可以在安装根目录下运行如下命令: php artisan app:name Horsefly 来重命名应用的命名空间,当然你也可以继续使用 App 作为命名空间不变。 3、维护模式 当你的站点处于维护模式时,所有对站点的请求都会返回同一个自定义视图。当你在对站点 进行升级或者维护时,这使得“关闭”站点变得轻而易举,对维护模式的判断代码位于默认的 中间件栈中,如果应用处于维护模式,则状态码为0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档class, ], 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 3 'api' => [ 'throttle:60,1', ], ]; 然后,web 组像这样分配给路由: Route::group(['middleware' bugs、新特 性、以及如何实现已有特性等。Taylor Otwell,Laravel 的主要维护者,通常在工作日的 上午 8 点到下午 5 点(西六区或美国芝加哥时间)在线,其它时间也可能偶尔在线。 3、哪个分支? 所有的 bug 修复应该被提交到最新的稳定分支,永远不要把 bug 修复提交到 master 分 支,除非它们能够修复下个发行版本中的特性。 当前版本中完全向后兼容的次要特性也可以提交到最新的稳定分支。 Composer 的 create-project 命令来安装 Laravel 应用: composer create-project laravel/laravel --prefer-dist blog 3、基本配置 Laravel 框架的所有配置文件都存放在 config 目录下,并且每一个配置项都有注释,所以 你可以随意浏览任意配置文件去熟悉这些配置项。 目录权限 安装完 Laravel0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档.................. 3 1.1 发行版本说明 ................................................................................................................................................. 3 1.2 升级指南 ........ ............................................................................................. 45 3. 开发环境 ............................................................................................. .............. 681 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 3 1. 序言 1.1 发行版本说明 1、支持政策 对于 LTS 版本,比如 Laravel 5.1,我们将会提供为期两年的 bug 修复和三年的安全修复支持。 LTS 版本将会提供最长时间的支持和维护。0 码力 | 691 页 | 9.37 MB | 1 年前3
《Slides Dev Web》 07. jQuery
07.jQuery 19 décembre 2023 Développement web il3 jQuery HE-Arc (DGR) 2022 jQuery • John Resig, 2006 • Bibliothèque JS, gratuit, OS (licence MIT) • Facilite le développement JS pour les tâches fréquentes Utilisation de sélecteurs CSS, id ou classes $(document); // retourne le DOM $("h3").hide(); // cache tous les éléments h3 $(".post"); // sélectionne les éléments de classe "post" var node = $('New
'); • Sélecteur multiple $(".post, #main "); • D’autres exemples2 de sélecteurs Parcours (traversing3) • Parcours du DOM dans les trois directions : – Depuis le noeud courant (sélectionné) – Haut : parent()0 码力 | 5 页 | 49.45 KB | 1 年前3
共 22 条
- 1
- 2
- 3













