 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 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 5.0 Documentation
including Cashier documentation along with the main Laravel documentation, though installation of the component itself is still optional. This release of Cashier brings numerous bug fixes, multi-currency support entirely new SSH component has been introduced with this release. This feature allows you to easily SSH into remote servers and run commands. To learn more, consult the SSH component documentation. The The new php artisan tail command utilizes the new SSH component. For more information, consult the tail command documentation. The php artisan tinker command now utilizes the Boris REPL if your0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
including Cashier documentation along with the main Laravel documentation, though installation of the component itself is still optional. This release of Cashier brings numerous bug fixes, multi-currency support entirely new SSH component has been introduced with this release. This feature allows you to easily SSH into remote servers and run commands. To learn more, consult the SSH component documentation. The The new php artisan tail command utilizes the new SSH component. For more information, consult the tail command documentation. The php artisan tinker command now utilizes the Boris REPL if your0 码力 | 242 页 | 1.44 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 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.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.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 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 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 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
 Laravel 3.2 Documentationsupport for DateTime database query bindings. 6  Migrated to the Symfony HttpFoundation component for core request / response handling.  Fixed the passing of strings into the Input::except0 码力 | 139 页 | 1.13 MB | 1 年前3 Laravel 3.2 Documentationsupport for DateTime database query bindings. 6  Migrated to the Symfony HttpFoundation component for core request / response handling.  Fixed the passing of strings into the Input::except0 码力 | 139 页 | 1.13 MB | 1 年前3
 Learning LaravelChapter 31: HTML and Form Builder Examples Installation HTML and Form Builder is not a core component since Laravel 5, so we need to install it separately: composer require laravelcollective/html0 码力 | 216 页 | 1.58 MB | 1 年前3 Learning LaravelChapter 31: HTML and Form Builder Examples Installation HTML and Form Builder is not a core component since Laravel 5, so we need to install it separately: composer require laravelcollective/html0 码力 | 216 页 | 1.58 MB | 1 年前3
共 8 条
- 1













