Laravel 5.0 Documentation
applications, this provides a faster and more reliable method of sending e-mails than the SMTP options. The new drivers utilize the Guzzle 4 HTTP library. PHP 5.4 Requirement Laravel Forge Laravel 4.1 From 4.0 Upgrading Your Composer Dependency Replacing Files Adding Configuration Files & Options Add the new expire_on_close configuration option to your app/config/session.php file. The default However, you may wish to review the config/app.php file and its documentation. It contains several options such as timezone and locale that you may wish to change according to your application. Once0 码力 | 242 页 | 1.44 MB | 1 年前3
《Slides Dev Web》 05. JavaScript & DOM
validation de formulaires, … JavaScript aujourd’hui • Page web = HTML + CSS + JavaScript • Compilation JIT • HTML5, AJAX, bookmarklets • One Page Apps • Implémentations hors-browser – Node.js, Spidermonkey0 码力 | 10 页 | 91.95 KB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
POO • PHP 5, vraie POO, PDO, JSON, … • PHP 6, Unicode , , • PHP 7, que du rêve! • PHP 8, JIT compilation, …11 Il y a plus de vingt ans, Rasmus Lerdorf bricola un outil pour savoir qui consultait son0 码力 | 24 页 | 1.03 MB | 1 年前3
Laravel 3.2 Documentation................. 48 Retrieving Options ....................................................................................................... 48 Setting Options ................................. .............................................................. 77 Overwriting The Default PDO Options .......................................................................... 77 Raw Queries .... ..................................................................................... 117 CLI Options ................................................................................................0 码力 | 139 页 | 1.13 MB | 1 年前3
The Laravel Handbook
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 you can 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 .env file you don’t want that. Some options in config files, like the ones you see above, make use of the env() Laravel helper function to get the environment variable. While options stored directly in the0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 6.0 中文文档需要先确保 Apache 启用了 mod_rewrite 模块以支 持 .htaccess 解析。 如果 Laravel 自带的 .htaccess 文件不起作用,试试将其中内容做 如下替换: Options +FollowSymLinks -Indexes RewriteEngine On RewriteCond %{HTTP:Authorization} . RewriteRule .* - 正确的用户/组权限。 你还可以通过 options 传递其他 Vagrant 支持的同步文件夹选项: 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 62 folders: - map: ~/code/project1 to: /home/vagrant/project1 type: "rsync" options: rsync__args: 择,需要在 安装软件包时使用如下命令来避免覆盖由 Homestead 写入的任何 配置: sudo apt-get -y \ -o Dpkg::Options::="--force-confdef" \ -o Dpkg::Options::="--force-confold" \ install your-package 本文档由学院君提供 学院君致力于提供优质 Laravel 中0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档作为服务器,需要先确保 Apache 启 用了 mod_rewrite 模块以支持 .htaccess 解析。 如果 Laravel 自带的 .htaccess 文件不起作用,试试将其中内容做如下替换: Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} 中文学习资源:http://laravelacademy.org 14 你还可以通过 options 传递其他 Vagrant 支持的同步文件夹选项: folders: - map: ~/code to: /home/vagrant/code type: "rsync" options: rsync__args: ["--verbose" /example.com/public; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; index index.html index.htm0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.1 中文文档作为服务器,需要先确保 Apache 启用了 mod_rewrite 模块以支持.htaccess 解析。 如果 Laravel 自带的.htaccess 文件不起作用,试试将其中内容做如下替换: Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} 数据库主键自增 ID $table->integer('votes'); 等同于数据库中的 INTEGER 类型 $table->json('options'); 等同于数据库中的 JSON 类型 $table->jsonb('options'); 等同于数据库中的 JSONB 类型 $table->longText('description'); 等同于数据库中的 LONGTEXT 'options' => 'array', ]; } 类型转换被定义后,就可以访问 options 属性,它将会自动从 JSON 反序列化为 PHP 数组, 当你设置 options 属性的值时,给定数组将会自动转化为 JSON 以供存储: $user = App\User::find(1); $options = $user->options; $options['key']0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档Route::put($uri, $callback); Route::patch($uri, $callback); Route::delete($uri, $callback); Route::options($uri, $callback); 有时候还需要注册路由响应多个 HTTP 请求——这可以通过 match 方法来实现。或者, 甚至可以使用 any 方法注册一个路由来响应所有 HTTP 请求: 数据库主键自增 ID $table->integer('votes'); 等同于数据库中的 INTEGER 类型 $table->json('options'); 等同于数据库中的 JSON 类型 $table->jsonb('options'); 等同于数据库中的 JSONB 类型 $table->longText('description'); 等同于数据库中的 LONGTEXT 'options' => 'array', ]; } 类型转换被定义后,访问 options 属性将会自动从 JSON 反序列化为 PHP 数组,反 之,当你设置 options 属性的值时,给定数组将会自动转化为 JSON 以供存储: $user = App\User::find(1); $options = $user->options; $options['key']0 码力 | 377 页 | 4.56 MB | 1 年前3
Learning Laraveld- with-laravel https://riptutorial.com/ 5 Chapter 2: Artisan Syntax php artisan [command] [options] [arguments] • Parameters Command Description clear-compiled Remove the compiled class file down add appropriate headers if ($request->method() === 'OPTIONS') { header('Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH'); header('Access-Control-Allow-Headers: development server at http://localhost:8000: php artisan serve Of course, more robust local development options are available via Homestead and Valet. Also it's possible to use a custom port, something like 80800 码力 | 216 页 | 1.58 MB | 1 年前3
共 12 条
- 1
- 2













