Laravel 5.0 Documentation
Requests i. Obtaining A Request Instance ii. Retrieving Input iii. Old Input iv. Cookies v. Files vi. Other Request Information v. Responses i. Basic Responses ii. Redirects iii. Other Responses Localization i. Introduction ii. Language Files iii. Basic Usage iv. Pluralization v. Validation Localization vi. Overriding Package Language Files xv. Mail i. Configuration ii. Basic Usage route filters, all middleware are now broken into their own class files. A new app/Providers directory replaces the app/start files from previous versions of Laravel 4.x. These service providers provide0 码力 | 242 页 | 1.44 MB | 1 年前3
Learning Laravel51 Chapter 17: Database Migrations 55 Examples 55 Migrations 55 The migration files 56 Generating migration files 56 Inside a database migration 57 Running migrations 58 Rolling Back Migrations Documentation 134 Chapter 43: Naming Files when uploading with Laravel on Windows 136 Parameters 136 Examples 136 Generating timestamped file names for files uploaded by users. 136 Chapter 44: Observer permissiveness; allowing the use of plain PHP code in Blade templating engine files. It is important to note that Blade templating engine files have .blade appended to file names right before the usual .php which0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 3.2 Documentation........................................................................................... 38 Files ................................................................................................. ............... 64 Working with Files .......................................................................................................... 66 Reading Files .................................. ................. 66 Writing Files ................................................................................................................ 66 Removing Files...............................0 码力 | 139 页 | 1.13 MB | 1 年前3
The Laravel Handbook
of useful stuff for you. For example we’ll use it to “scaffold” models without having to create files by hand. Open your browser and you’ll see the default welcome screen of a Laravel app: 7 If you Artisan Laravel Blade Snippets PHP tools for VS Code We have a bunch of folders and a bunch of files. The first thing you’re going to look at is the .env file. It contains a lot of configuration of configuration options you can set, very well documented. What’s the difference between config files and the .env file? Environment variables in .env can be changed depending on the deployment0 码力 | 111 页 | 14.25 MB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
via mod_rewrite27 et Nginx try_files28. 27https://httpd.apache.org/docs/current/mod/mod_rewrite.html 28http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files 18 // 04-routes/index.php $uri0 码力 | 24 页 | 1.03 MB | 1 年前3
Laravel 5.1 中文文档中,使用如下站点配置指令就可以支持 URL 美化: location / { 本文档由 Laravel 学院(LaravelAcademy.org)提供 11 try_files $uri $uri/ /index.php?$query_string; } 当然,使用 Homestead 的话,以上配置已经为你配置好以支持 URL 美化。 2.2 环境配置 ction Event Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files Hash Illuminate\Contracts\Hashing\Hasher hash Input Illuminate\Http\Request request Lang 5.1 获取一个目录下的所有文件 files 方法返回给定目录下的所有文件数组,如果你想要获取给定目录下包含子目录的所有 文件列表,可以使用 allFiles 方法: 本文档由 Laravel 学院(LaravelAcademy.org)提供 221 $files = Storage::files($directory); $files = Storage::allFiles($directory);0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.3 中文文档日志文件最大生命周期 使用 daily 日志模式的时候,Laravel 默认最多为我们保留最近 5 天的日志,如果你想要修改这 个时间,需要添加一个配置 log_max_files 到 app 配置文件: 'log_max_files' => 30 日志错误级别 使用 Monolog 的时候,日志消息可能有不同的错误级别,默认情况下,Laravel 将所有日志写到 本文档由 Laravel ection Event Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 91 门面 类 服务容器绑定 7、目录 获取一个目录下的所有文件 files 方法返回给定目录下的所有文件数组,如果你想要获取给定目录下包含子目录的所有文件 列表,可以使用 allFiles 方法: use Illuminate\Support\Facades\Storage; $files = Storage::files($directory); $files = Storage::allFiles($directory);0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.2 中文文档ection Event Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files Hash Illuminate\Contracts\Hashing\Hasher hash Lang Illuminate\Translation\Translator translator jpg', 'file2.jpg']); 3.5 目录 获取一个目录下的所有文件 files 方法返回给定目录下的所有文件数组,如果你想要获取给定目录下包含子目录的所 有文件列表,可以使用 allFiles 方法: $files = Storage::files($directory); $files = Storage::allFiles($directory); 获取一个目录下的所有子目录0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 6.0 中文文档-f RewriteRule ^ index.php [L] Nginx 如果你使用的是 Nginx,使用如下站点配置指令就可以支持 URL 美 化: location / { try_files $uri $uri/ /index.php?$query_string; } 当然,使用 Homestead 或 Valet 的话,以上配置已经为你配置好, 可以忽略上述配置。 本文档由学院君提供 X-Content-Type-Options "nosniff"; index index.html index.htm index.php; charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location = /favicon.ico { access_log off; log_not_ found db.connection Event Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files Gate Illuminate\Contracts\Auth\Access\Gate Hash Illuminate\Contracts\Hashing\Hasher hash Lang0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档RewriteRule ^ index.php [L] Nginx 如果你使用的是 Nginx,使用如下站点配置指令就可以支持 URL 美化: location / { try_files $uri $uri/ /index.php?$query_string; } 当然,使用 Homestead 或 Valet 的话,以上配置已经为你配置好,无需额外操作。 环境配置 Laravel 中文学习资源:http://laravelacademy.org 27 charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location = /favicon.ico { access_log off; log_not_found connection Event Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files Gate Illuminate\Contracts\Auth\Access\Gate Hash Illuminate\Contracts\Hashing\Hasher hash0 码力 | 377 页 | 14.56 MB | 1 年前3
共 10 条
- 1













