Laravel 5.0 Documentation
iii. Server Requirements ii. Configuration i. Introduction ii. After Installation iii. Accessing Configuration Values iv. Environment Configuration v. Configuration Caching vi. Maintenance Mode vi. Password Reminders & Reset vii. Social Authentication ii. Billing i. Introduction ii. Configuration iii. Subscribing To A Plan iv. No Card Up Front v. Swapping Subscriptions vi. Subscription Handling Failed Payments xi. Handling Other Stripe Webhooks xii. Invoices iii. Cache i. Configuration ii. Cache Usage iii. Increments & Decrements iv. Cache Tags v. Database Cache iv. Collections0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 5.6 中文文档resources/views/components/alert.blade.php,你可以使用 component 方法将这个组件名从 components.alert 改为别名 alert: Blade::component('components.alert', 'alert'); 组件起了别名之后,就可以使用别名来渲染: @component('alert') You are not allowed Route::get('/', function (Request $request) { // }); 请求路径 & 方法 Illuminate\Http\Request 继承自 Symfony\Component\HttpFoundation\Request 类,提供了多个方法来检测应用的 HTTP 请求,下面我们来 演示其提供的一些获取请求路径和请求方式的方法: 获取请求路径 path 方法将会返回请求的路径信息,因此,如果请求 academy.org 76 Cookie::queue('name', 'value', $minutes); 生成 Cookie 实例 如果你想要生成一个 Symfony\Component\HttpFoundation\Cookie 实例以便后续添加到响应实例,可以使用全局辅助函数 cookie,该 Cookie 只 有在添加到响应实例上才会发送到客户端: $cookie =0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 3.2 Documentation................. 12 Server Configuration .................................................................................................... 12 Basic Configuration .............................. ................................................................................. 47 Basic Configuration ............................................................................................. ............................................................................... 48 Runtime Configuration .............................................................................................0 码力 | 139 页 | 1.13 MB | 1 年前3
Learning LaravelEloquent: Model 87 Examples 87 Making a Model 87 Model creation 87 Model File Location 88 Model configuration 89 Update an existing model 90 Chapter 25: Error Handling 91 Remarks 91 Examples 91 Send sending emails to a new registered user 93 Chapter 27: Filesystem / Cloud Storage 95 Examples 95 Configuration 95 Basic Usage 95 Custom Filesystems 97 Creating symbolic link in a web server using SSH 98 World Example (Basic) and with using a view 104 Hello World Example (Basic) 105 Web Server Configuration for Pretty URLs 105 Chapter 30: Helpers 107 Introduction 107 Examples 107 Array methods 1070 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.3 中文文档nException::class, \Illuminate\Auth\Access\AuthorizationException::class, \Symfony\Component\HttpKernel\Exception\HttpException::class, \Illuminate\Database\Eloquent\ModelNotFoundException::class Illuminate\Http\Request 实 例 提 供 了 多 个 方 法 来 检 测 应 用 的 HTTP 请 求 , Laravel 的 Illuminate\Http\Request 继承自 Symfony\Component\HttpFoundation\Request 类, 下面演示了该类提供的一些有用方法: 获取请求路径 path 方法将会返回请求的路径信息,因此,如果进入的请求路径是 http://domain 'value', $minutes, $path, $domain, $secure, $httpOnly ); 生成 Cookie 实例 如果你想要生成一个 Symfony\Component\HttpFoundation\Cookie 实例以便后续附加到响应实例, 可以使用一个全局的辅助函数 cookie,这个 cookie 只有在附加到响应实例上才会发送到客户端: $cookie0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 6.0 中文文档Route::get('/', function (Request $request) { // }); 请求路径 & 方法 Illuminate\Http\Request 继承 自 Symfony\Component\HttpFoundation\Request 类,提供了多个 方法来检测应用的 HTTP 请求,下面我们来演示其提供的一些获取 请求路径和请求方式的方法: 获取请求路径 path 方 'value', $minute s)); Cookie::queue('name', 'value', $minutes); 生成 Cookie 实例 如果你想要生成一 个 Symfony\Component\HttpFoundation\Cookie 实例以便后续添 加到响应实例,可以使用全局辅助函数 cookie,该 Cookie 只有在 添加到响应实例上才会发送到客户端: $cookie Illuminate\Http\Response 实例或视图。 返回一个完整的 Response 实例允许你自定义响应的 HTTP 状态码 和头信息。Response 实例继承 自 Symfony\Component\HttpFoundation\Response 基类,该类提 供了一系列方法用于创建 HTTP 响应: Route::get('cookie/response', function ()0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.1 中文文档404 错误。 第一种,使用帮助函数 abort,abort 函数会抛出一个指定状态码的 Symfony\Component\HttpFoundation\Exception\HttpException: abort(404); 第二种,手动抛出 Symfony\Component\HttpKernel\Exception\NotFoundHttpException.的 实例。 本文档由 Illuminate\Http\Request 实例提供了多个方法来检测应用的 HTTP 请求,Laravel 的 Illuminate\Http\Request 继承自 Symfony\Component\HttpFoundation\Request 类,这里列 出了一些该类中的有用方法: 1.1.1 获取请求 URI path方法将会返回请求的URI,因此,如果进入的请求路径是 http://domain $request->cookie('name'); 2.2.2 新增 Cookie Laravel 提供了一个全局的帮助函数 cookie 作为一个简单工厂来生成新的 Symfony\Component\HttpFoundation\Cookie 实例,新增的 cookies 通过 withCookie 方法被 附加到 Illuminate\Http\Response 实例: $response0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档thorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Symfony\Component\HttpKernel\Exception\HttpException; use Illuminate\Foundation\Validation\ValidationException; Illuminate\Http\Request 实例提供了多个方法来检测应用的 HTTP 请求, Laravel 的 Illuminate\Http\Request 继承 自 Symfony\Component\HttpFoundation\Request 类,下面演示了一些该类中的有用方 法: 获取请求 URI 本文档由 Laravel 学院(LaravelAcademy.org)提供 = $request->cookie('name'); 新增 Cookie 到响应 Laravel 提供了一个全局的辅助函数 cookie 作为一个简单工厂来生成新的 Symfony\Component\HttpFoundation\Cookie 实例,新增的 cookie 通过 withCookie 方法 被附加到 Illuminate\Http\Response 实例: $response0 码力 | 377 页 | 4.56 MB | 1 年前3
《Slides Dev Web》 12. Risques applicatifs
défaillants 2. Défaillances cryptographiques 3. Injections 4. Conception non sécurisée 5. Mauvaise configuration de sécurité 6. Composants vulnérables et obsolètes 7. Identification & Authentification de mauvaise d’information • Toute information est bonne pour l’attaquant – Messages d’erreur – Configuration OS serveur – Configuration serveurs (http, sql, php, …) – Identifiants et commentaires dans sources -au cas ! • Utilisée aussi par les “white hats” (ethical hackers) : Honeypots32 Bonnes pratiques • Configuration stricte du serveur • Valider toutes les entrées (formulaires, requêtes HTTP) • Filtrage/encodage0 码力 | 12 页 | 474.37 KB | 1 年前3
The Laravel Handbook
of files. The first thing you’re going to look at is the .env file. It contains a lot of configuration options, called environment variables, for your app: 9 For example in this portion of the file Here’s for example the config/app.php file: 10 Each file in the folder contain a lot of configuration options you can set, very well documented. What’s the difference between config files and the config folder hardcoded are “one for all environments”. Before looking at changing any of the configuration options, let’s modify what you see in the browser. 11 Open the routes folder and you’ll 40 码力 | 111 页 | 14.25 MB | 1 年前3
共 13 条
- 1
- 2













