Laravel 5.0 Documentation
Based Extension vii. Elixir i. Introduction ii. Installation & Setup iii. Usage iv. Gulp v. Extensions viii. Encryption i. Introduction ii. Basic Usage ix. Errors & Logging i. Configuration ii your system supports it. The readline and pcntl PHP extensions must be installed to use this feature. If you do not have these extensions, the shell from 4.0 will be used. A new hasManyThrough when you are certain that it is safe to display raw output. However, if you must use the old Blade syntax, add the following lines at the bottom of AppServiceProvider@register : \Blade::setRawTags('{{'0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 3.2 Documentationfrom spaghetti code, Laravel helps you create wonderful applications using simple, expressive syntax. Development should be a creative experience that you enjoy, not something that is painful. Enjoy .................................................................................... 66 File Extensions .............................................................................................. (which many web-developers are already familiar with) or directly into route declarations using syntax similar to the Sinatra framework. Laravel is designed with the philosophy of giving a developer0 码力 | 139 页 | 1.13 MB | 1 年前3
The Laravel Handbook
VS Code. This should be the file structure: 8 While you’re here I recommend you install the extensions Laravel Extra Intellisense Laravel Artisan Laravel Blade Snippets PHP tools for VS Code We view('test', ['name' => 'Flavio']); }); and use it like this:{{ $name }}
The {{ }} syntax allows you to add any data to the template, escaped. Inside it you can also run any PHP function0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 5.1 中文文档extend 方法来定义自定义的驱动,你需要在服务提供者 调用 extend 方法: Extensions\RiakUserProvider; use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends 提供者中完成。 例如,要注册一个新的命名为“mongo”的缓存驱动: Extensions\MongoStore; use Illuminate\Support\ServiceProvider; class CacheServiceProvider extends ServiceProvider{ 要创建自定义的缓存驱动,首先需要实现 Illuminate\Contracts\Cache\Store 契约,所以, 我们的 MongoDB 缓存实现看起来像这样子: Extensions; class MongoStore implements \Illuminate\Contracts\Cache\Store{ public function get($key)0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档方法定义自定义该提供者,在服务提供 者调用 provider 方法如下: Extensions\RiakUserProvider; use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends 提供者中完成。 例如,要注册一个新的命名为“mongo”的缓存驱动: Extensions\MongoStore; use Illuminate\Support\ServiceProvider; class CacheServiceProvider extends ServiceProvider{ 要创建自定义的缓存驱动,首先需要实现 Illuminate\Contracts\Cache\Store 契约,所 以,我们的 MongoDB 缓存实现看起来像这样子: Extensions; class MongoStore implements \Illuminate\Contracts\Cache\Store{ public function get($key)0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档SessionHandlerInterface 接口,该接口包含少许我们需要实现的 方法,比如一个 MongoDB 的实现如下: Extensions; class MongoHandler implements SessionHandlerInterface { public function open($savePath public function gc($lifetime) {} } 注:Laravel 默认并没有附带一个用于包含扩展的目录,你可以将扩展放置在任何地方,这里我们 创建一个 Extensions 目录用于存放 MongoHandler。 由于这些方法并不是很容易理解,所以我们接下来快速过一遍每一个方法: open 方法用于基于文件的 session 存储系统,由于 Laravel Session 门面上的 extend 方法。我们在服务提供者的 boot 方法中调用该方法: Extensions\MongoSessionStore; use Illuminate\Support\Facades\Session; use Illuminate\Support\ServiceProvider;0 码力 | 691 页 | 9.37 MB | 1 年前3
Learning Laraveltag documentation! 4 Starter Guide 4 Getting Started 4 Laravel Views 5 Chapter 2: Artisan 6 Syntax 6 Parameters 6 Examples 8 Introduction 8 List all registered routes filtered by multiple methods Laravel 5.2.31 + 28 Syntax 28 Parameters 28 Remarks 28 Examples 28 Adding api-routes with other middleware and keep default web middleware 28 Chapter 8: Collections 30 Syntax 30 Remarks 30 Examples SortBy() 34 SortByDesc() 35 Using reduce() 35 Using macro() to extend collections 36 Using Array Syntax 37 Chapter 9: Common Issues & Quick Fixes 39 Introduction 39 Examples 39 TokenMisMatch Exception0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.6 中文文档SessionHandlerInterface 接口,该接口包含少许我们需要实现的方法,比如一个基于 MongoDB 的 Session 驱动 实现如下: Extensions; class MongoHandler implements SessionHandlerInterface { public function open($savePath public function gc($lifetime) {} } 注:Laravel 默认并没有附带一个用于包含扩展的目录,你可以将扩展放置在任何地方,这里我们创建一个 Extensions 目录用于存 放 MongoHandler。 由于这些方法并不是很容易理解,所以我们接下来快速过一遍每一个方法: open 方法用于基于文件的 Session 存储系统,由于 Laravel AppServiceProvider 的 boot 方法中调用该方法(也可以自己重新创建一个新的服务提供者): Extensions\MongoSessionStore; use Illuminate\Support\Facades\Session; use Illuminate\Support\ServiceProvider;0 码力 | 377 页 | 14.56 MB | 1 年前3
《Slides Dev Web》 08 . RSS…) – Applis dédiées (Newsgator, FeedDemon, …) • WebApps – Feedly, NetVibes, Sniptracker… • Extensions – Sage • Liste4 1https://web.archive.org/web/20110726001954/http://diveintomark.org/archive0 码力 | 7 页 | 52.98 KB | 1 年前3
Laravel 6.0 中文文档SessionHandlerInterface 接口, 该接口包含少许我们需要实现的方法,比如一个基于 MongoDB 的 Session 驱动实现如下: Extensions; class MongoSessionHandler implements SessionHandlerIn terface { public function open($savePath {} public function gc($lifetime) {} } 注:Laravel 默认并没有附带一个用于包含扩展的目录, 你可以将扩展放置在任何地方,这里我们创建一 个 Extensions 目录用于存放 MongoSessionHandler。 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 312 AppServiceProvider 的 boot 方法中调 用该方法(也可以自己重新创建一个新的服务提供者): Extensions\MongoSessionHandler; use Illuminate\Support\Facades\Session; use Illuminate\Support\ServiceProvider;0 码力 | 1442 页 | 14.66 MB | 1 年前3
共 10 条
- 1













