Laravel 6.0 中文文档学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 15 AWS_REGION 环境变量 影响级别:可选 如果你计划使用 Laravel Vapor,那么需要在 config 目录下更新所 有已存在的 AWS_REGION 配置为 AWS_DEFAULT_REGION,此外,你还 需要在 .env 文件中更新这个环境变量的名称。 数据库 Capsule table 上提议新功能或者优化已有功能,如果是新功 能的话请至少实现部分代码以便完成新功能开发。 关于 Laravel 的 bug、新功能、以及现有功能实现的非正式讨论可 以在 Laravel Discord server 的 #internals 频道进行。Taylor Otwell,Laravel 框架的维护者,通常在工作日的上午 8 点到下午 5 点(美西时间或芝加哥时间)在线,其它时间也可能偶尔在线。 当前版本中完全向后兼容的次要特性也可以提交到最新的稳定分支。 重要的新特性总是要被提交到 master 分支,包括下个发行版本。 如果你不确定是重要特性还是次要特性,请在 Laravel Discord server 的 #internals 频道咨询 Taylor Otwell。 编译前端资源 如果你提交的文件更改会影响前端编译文件,通常这种文件位 于 1aravel/laravel 仓库 的 resources/sass0 码力 | 1442 页 | 14.66 MB | 1 年前3
The Laravel Handbook
deployment, for example locally in development you can have debug enabled, while on the production server you don’t want that. Some options in config files, like the ones you see above, make use of the specific. 3. Blade The view files that end with .blade.php and are Blade templates. Blade is a server-side templating language. In its basic form it’s HTML. As you can see, those templates I used above case you need to restore to a previous state of your data. From the terminal, stop the Laravel server and run this command to create a new migration, which is what we will use to create the database0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 5.6 中文文档Homestead 站点: 如果你想要指定一个自定义的区域,子域名或者其他 Ngrok 运行时选项,可以将它们添加到 share 命令: share homestead.test -region=eu -subdomain=laravel 目前自定义域名只有付费用户才可以使用,所以 subdomain 会提示不可用。 注:记住两个点,一个是 Vagrant 并没有什么特别的安全防范措施,另一个是当你运行 Nginx,可以使用下面的配置文件配置 Web 服务器。大部分情况下,这个文件需要根据服务器的配置做一些调整 (如果你想要一个工具来协助管理服务器,可以考虑使用 Laravel Forge): server { listen 80; server_name example.com; root /example.com/public; add_header X-Frame-Options SQL、还是查询构建器,还是 Eloquent ORM。目前, Laravel 支持四种类型的数据库系统: MySQL Postgres SQLite SQL Server 配置 应用的数据库配置位于 config/database.php(但是数据库用户及密码等敏感信息位于 .env 文件,如果你还不知道 .env 是何方神圣,那么你可能 需要到这里补补0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.1 中文文档所有需要的软件包已经安装到 Homestead 盒子,你只需要在 Homestead.yaml 文件中设置 Blackfire Server ID 和 token: blackfire: - id: your-server-id token: your-server-token client-id: your-client-id client-token: SQL、还是查询构建 器,还是 Eloquent ORM。目前,Laravel 支持四种类型的数据库系统: MySQL Postgres SQLite SQL Server 1.1 配置 Laravel 让连接数据库和运行查询都变得非常简单。应用的数据库配置位于 config/database.php。在该文件中你可以定义所有的数据库连接,并指定哪个连接是默认 以及一个服务于本地开发和调试的日志驱动。每一个驱动都有 一个配置示例。 6.1.1 广播预备知识 事件广播需要以下两个依赖: Pusher: pusher/pusher-php-server ~2.0 Redis: predis/predis ~1.0 6.1.2 队列预备知识 在开始介绍广播事件之前,还需要配置并运行一个队列监听器。所有事件广播都通过队列任 务来完成以便应用的响应时间不受影响。0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.3 中文文档认证变得简单。Laravel Passport 可以在几分钟内为应用 提供一个完整的 Oauth2 服务器实现,Passport 基于 Alex Bilbie 维护的 League OAuth2 server 实 现。 Passport 使得通过 OAuth2 授权码获取访问令牌(access token)变得轻松,你还可以允许用户通 本文档由 Laravel 学院(LaravelAcademy org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 265 而易举,Passport 基于 Alex Bilbie 维护的 League OAuth2 server,可以在数分钟内为 Laravel 应用 提供完整的 OAuth2 服务器实现。 注:本文档假设你已经很熟悉 OAuth2,如果你对 OAuth2 一无所知,那么在开始学习文文档之前, 先要去熟悉 如果你准备通过 Pusher 广播事件,需要使用 Composer 包管理器安装对应的 Pusher PHP SDK: composer require pusher/pusher-php-server 接下来,你需要在 config/broadcasting.php 配置文件中配置你的 Pusher 证书。一个配置好的 Pusher 示例已经包含在这个文件中,你可以按照这个模板进行修改,指定自己的0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.2 中文文档需要的软件包已经预安装到 Homestead 盒子,你只需要 在 Homestead.yaml 文件中设置 Blackfire Server ID 和 token: blackfire: - id: your-server-id token: your-server-token client-id: your-client-id client-token: SQL、还是 查询构建器,还是 Eloquent ORM。目前,Laravel 支持四种类型的数据库系统: MySQL Postgres SQLite SQL Server 配置 Laravel 让连接数据库和运行查询都变得非常简单。应用的数据库配置位于 config/database.php。在该文件中你可以定义所有的数据库连接,并指定哪个连接是默认 多种广播驱动:Pusher、Redis 以及一个服务于本地开发和调试的日志驱动。每一个驱动都 有一个配置示例。 广播预备知识 事件广播需要以下两个依赖: Pusher: pusher/pusher-php-server ~2.0 Redis: predis/predis ~1.0 队列预备知识 在开始介绍广播事件之前,还需要配置并运行一个队列监听器。所有事件广播都通过队列 任务来完成以便应用的响应时间不受影响。0 码力 | 377 页 | 4.56 MB | 1 年前3
CakePHP Cookbook Documentation 5.xKeeping Up To Date with the Latest CakePHP Changes Installation using Oven Permissions Development Server Production Fire It Up URL Rewriting Apache nginx NGINX Unit IIS7 (Windows hosts) Lighttpd I Can’t Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Provided Commands Cache Tool Completion Tool I18N Tool Plugin Tool Schema Cache Tool Routes Tool Server Tool Interactive Console (REPL) Routing in the Console Environment Debugging Basic Debugging0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Development Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 and building simple article management. Here’s what you’ll need: 1. A database server. We’re going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database can do that, you’ll need to start the development server: cd /path/to/our/app bin/cake server Note: For Windows, the command needs to be bin\cake server (note the backslash). This will start PHP’s built-in0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Keeping Up To Date with the Latest CakePHP Changes Installation using Oven Permissions Development Server Production Fire It Up URL Rewriting Apache nginx NGINX Unit IIS7 (Windows hosts) Lighttpd I Can’t Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Provided Commands Cache Tool Completion Tool I18N Tool Plugin Tool Schema Cache Tool Routes Tool Server Tool Interactive Console (REPL) Shells Routing in the Console Environment Debugging Basic Debugging0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Development Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 and building simple article management. Here’s what you’ll need: 1. A database server. We’re going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database can do that, you’ll need to start the development server: cd /path/to/our/app bin/cake server Note: For Windows, the command needs to be bin\cake server (note the backslash). This will start PHP’s built-in0 码力 | 967 页 | 2.88 MB | 1 年前3
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













