Learning LaravelPolicies 15 Chapter 5: Blade Templates 17 Introduction 17 Examples 17 Views: Introduction 17 Control Structures 18 Conditionals 18 'If' statements 18 'Unless' statements 18 Loops 18 'While' loop About You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: laravel It is an unofficial and free Laravel ebook created for educational purposes. All and can thus modify or reject requests. Artisan Artisan is the command line tool you can use to control parts of Laravel. There are a lot of commands available to create models, controllers and other0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.0 Documentation
iv. Database Sessions v. Session Drivers xx. Templates i. Blade Templating ii. Other Blade Control Structures iii. Extending Blade xxi. Unit Testing i. Introduction ii. Defining & Running Tests ii. Development i. Introduction ii. Building A Command iii. Registering Commands A GitBook version of Laravel 5.0 Documentation Introduction Release Notes Laravel 5.0 Laravel 4.2 Laravel 4.1 they wished to schedule. However, this is a headache. Your console schedule is no longer in source control, and you must SSH into your server to add the Cron entries. Let's make our lives easier. The Laravel0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 3.2 Documentationto easily apply constraints to both relationships and nested eager-loading you'll have complete control over your data with all of the 2 conveniences of ActiveRecord. Eloquent natively supports for views that are unrelated to that method's page content. The IoC container (Inversion of Control) gives you a method for generating new objects and optionally instantiating and referencing singletons your code without needing to deal with an inflexible monolithic structure. Migrations are version control for your database schemas and they are directly integrated into Laravel. You can both generate0 码力 | 139 页 | 1.13 MB | 1 年前3
《Slides Dev Web》 06. HTTP & AJAX
en)[CRLF] Accept-Encoding: gzip[CRLF] Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF] Cache-Control: no[CRLF] Accept-Language: de,en;q=0.7,en-us;q=0.3[CRLF] Referer: http://web-sniffer.net/[CRLF] [CRLF] d’entêtes15 interdisant le cache MyXhr.open("GET", "fichier.xml", true); MyXhr.setRequestHeader("Cache-Control", "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); MyXhr.setRequestHeader("Pragma" • ou dans responseXML – Utilisation du DOM (getElementsByTagName(), ...) Réponse en XML version="1.0" ?>Berger Laurent Borgo 0 码力 | 11 页 | 91.09 KB | 1 年前3
The Laravel Handbook
(might take a while) Once installed you should be able to run the php -v command to get the version of PHP installed (same for composer -v ): 6 Now you can go into folder on your computer that you open the database/database.sqlite file using a database visualization tool like TablePlus (free version, available for all operating systems) you will see the newly created tables, including the one we that content. For the sake of simplicity, swap everything in that file with this trimmed-down version: 590 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 5.2 中文文档而不是代码的缓存副本。Elixir 可以使用 version 方法为你处理这种情况。 version 方法接收相对于 public 目录的文件名,附加唯一 hash 到文件名,从而实现缓存 刷新。例如,生成的文件名看上去是这样——all-16d570a7.css: elixir(function(mix) { mix.version('css/all.css'); }); 生成版本文件后,可以在视图中使用 rel="stylesheet" href="{{ elixir('css/all.css') }}"> 给多个文件加上版本号 你可以传递一个数组到 version 方法来为多个文件添加版本号: elixir(function(mix) { mix.version(['css/all.css', 'js/app.js']); }); 一旦文件被加上版本号,就可以使用帮助函数 elixir 来生成指向该 for="task" class="col-sm-3 control-label ">Task0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 6.0 中文文档cassandra: true - chronograf: true - couchdb: true - crystal: true - docker: true - elasticsearch: version: 7 - gearman: true - golang: true - grafana: true 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun PHP 版本 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 100 Valet 允许你使用 valet use php@version 来切换 PHP 的版本, 如果指定 PHP 版本不存在的话,Valet 会通过 Brew 自动帮你安 装: valet use php@7.2 valet use php // 默认 PHP 命令来升级 Valet。升 级之后,最好运行下 valet install 命令以便 Valet 在必要情况下 对配置文件进行升级。 升级到 Valet 2.0 注:先通过 valet --version 查看本机安装的 Valet 版 本,如果版本已经大于 2.0 则可以跳过本段教程。 Valet 2.0 将 Valet 底层的 web 服务器从 Caddy 替换成了 Nginx,升级到0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档命令来升级 Valet。升级之后,最好运行下 valet install 命令以便 Valet 在必要情况下对配置文件 进行升级: 升级到 Valet 2.0 注:先通过 valet –version 查看本机安装的 Valet 版本,如果版本已经大于 2.0 则可以跳过本段教程。 Valet 2.0 将 Valet 底层的 web 服务器从 Caddy 替换成了 Nginx,升级到这个版 你可以通过 http://4c59137d.ngrok.io 或 https://4c59137d.ngrok.io 从任意联网机器访问站点(因为已经公开到互联网上): 要停止共享站点,使用 Control + C 快捷键结束该命令即可。 注:valet share 目前尚不支持分享使用 valet secure 命令进行安全处理的站点,所以需要先通过 valet unsecrue 命令解除安全访问。 一令牌后缀以强制浏览器加载最新版本而不是代码的缓存副本。Mix 可以使用 version 方法为你 处理这种场景。 version 方法会自动附加唯一哈希到已编译文件名,从而方便实现缓存刷新: mix.js('resources/assets/js/app.js', 'public/js') .version(); 生成版本文件后,还不知道提取的文件名,所以,你需要在视图中使用0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.3 中文文档学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 67 入剪贴板,以便你直接复制到浏览器地址栏,就是这么简单。 要停止共享站点,使用 Control + C 即可。 5、查看日志 如果你想要在终端显示所有站点的日志,可以运行 valet logs 命令,这会在终端显示新的日志。 6、自定义 Valet 驱动 你还可以编写自定义的 是代码的缓存副本。Elixir 可以使用 version 方法为你处理这种情况。 version 方法接收相对于 public 目录的文件名,附加唯一 hash 到文件名,从而实现缓存刷新。 例如,生成的文件名看上去是这样——all-16d570a7.css: elixir(function(mix) { mix.version('css/all.css'); }); rel="stylesheet" href="{{ elixir('css/all.css') }}"> 给多个文件加上版本号 你可以传递一个数组到 version 方法来为多个文件添加版本号: elixir(function(mix) { mix.version(['css/all.css', 'js/app.js']); }); 文件被加上版本号后,就可以使用辅助函数 elixir0 码力 | 691 页 | 9.37 MB | 1 年前3
《Slides Dev Web》 08 . RSS(Rich Site Summary) : obsolètes – Migration facile vers RSS 2.0 RSS 2.0 version="1.0" encoding="utf-8"?>version="2.0"> Atom 1.0 version="1.0" encoding="utf-8"?>Arc Info News RSS 2.0 http://www.he-arcArc Info News Atom 1.0 version Atom 0 码力 | 7 页 | 52.98 KB | 1 年前3共 15 条- 1
- 2













