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: nject 的第一个参数是服务将要被 放置到的变量名,第二个参数是要解析的服务类名或接口名: @inject('metrics', 'App\Services\MetricsService')Monthly Revenue: {{ $metrics->monthlyRevenue() }}.6、扩展 Blade Blade 甚至还允许你自定义指令,可以使用 SQL、还是查询构建 器,还是 Eloquent ORM。目前,Laravel 支持四种类型的数据库系统: MySQL Postgres SQLite SQL Server 1.1 配置 Laravel 让连接数据库和运行查询都变得非常简单。应用的数据库配置位于 config/database.php。在该文件中你可以定义所有的数据库连接,并指定哪个连接是默认0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.0 Documentation
Vulnerabilities v. Coding Style 3. Setup i. Installation i. Install Composer ii. Install Laravel iii. Server Requirements ii. Configuration i. Introduction ii. After Installation iii. Accessing Configuration is a headache. Your console schedule is no longer in source control, and you must SSH into your server to add the Cron entries. Let's make our lives easier. The Laravel command scheduler allows you to define your command schedule within Laravel itself, and only a single Cron entry is needed on your server. It looks like this: $schedule->command('artisan:command')->dailyAt('15:00'); Of course, check0 码力 | 242 页 | 1.44 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: @inject 的第一个参数是服务将要 被放置到的变量名,第二个参数是要解析的服务类名或接口名: @inject('metrics', 'App\Services\MetricsService')Monthly Revenue: {{ $metrics->monthlyRevenue() }}.6、扩展 Blade Blade 甚至还允许你自定义指令,可以使用 SQL、还是 查询构建器,还是 Eloquent ORM。目前,Laravel 支持四种类型的数据库系统: MySQL Postgres SQLite SQL Server 配置 Laravel 让连接数据库和运行查询都变得非常简单。应用的数据库配置位于 config/database.php。在该文件中你可以定义所有的数据库连接,并指定哪个连接是默认0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档认证变得简单。Laravel Passport 可以在几分钟内为应用 提供一个完整的 Oauth2 服务器实现,Passport 基于 Alex Bilbie 维护的 League OAuth2 server 实 现。 Passport 使得通过 OAuth2 授权码获取访问令牌(access token)变得轻松,你还可以允许用户通 本文档由 Laravel 学院(LaravelAcademy @inject('metrics', 'App\Services\MetricsService') 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 212Monthly Revenue: {{ $metrics->monthlyRevenue() org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 265 而易举,Passport 基于 Alex Bilbie 维护的 League OAuth2 server,可以在数分钟内为 Laravel 应用 提供完整的 OAuth2 服务器实现。 注:本文档假设你已经很熟悉 OAuth2,如果你对 OAuth2 一无所知,那么在开始学习文文档之前, 先要去熟悉0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.6 中文文档Nginx,可以使用下面的配置文件配置 Web 服务器。大部分情况下,这个文件需要根据服务器的配置做一些调整 (如果你想要一个工具来协助管理服务器,可以考虑使用 Laravel Forge): server { listen 80; server_name example.com; root /example.com/public; add_header X-Frame-Options 指令可以用于从服务容器中获取服务,传递给 @inject 的第一个参数是服务对应的变量名,第二个参数是要解析的服务类名或接口名: @inject('metrics', 'App\Services\MetricsService')Monthly Revenue: {{ $metrics->monthlyRevenue() }}.扩展 Blade Blade 甚至还允许你自定义指令,可以使用 SQL、还是查询构建器,还是 Eloquent ORM。目前, Laravel 支持四种类型的数据库系统: MySQL Postgres SQLite SQL Server 配置 应用的数据库配置位于 config/database.php(但是数据库用户及密码等敏感信息位于 .env 文件,如果你还不知道 .env 是何方神圣,那么你可能 需要到这里补补0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档上提议新功能或者优化已有功能,如果是新功 能的话请至少实现部分代码以便完成新功能开发。 关于 Laravel 的 bug、新功能、以及现有功能实现的非正式讨论可 以在 Laravel Discord server 的 #internals 频道进行。Taylor Otwell,Laravel 框架的维护者,通常在工作日的上午 8 点到下午 5 点(美西时间或芝加哥时间)在线,其它时间也可能偶尔在线。 当前版本中完全向后兼容的次要特性也可以提交到最新的稳定分支。 重要的新特性总是要被提交到 master 分支,包括下个发行版本。 如果你不确定是重要特性还是次要特性,请在 Laravel Discord server 的 #internals 频道咨询 Taylor Otwell。 编译前端资源 如果你提交的文件更改会影响前端编译文件,通常这种文件位 于 1aravel/laravel 仓库 的 resources/sass 在 $_ENV 和 $_SERVER 中屏蔽它们: return [ // ... 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 40 'debug_blacklist' => [ '_ENV' => [ 'APP_KEY', 'DB_PASSWORD', ], '_SERVER' => [ 'APP_KEY'0 码力 | 1442 页 | 14.66 MB | 1 年前3
Falcon v3.0.0 Documentationoriginal [framework] code).” “Falcon looks great so far. I hacked together a quick test for a tiny server of mine and was ~40% faster with only 20 minutes of work.” “Falcon is rock solid and it’s fast.” tries to do as little as possible while remaining highly effective. Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+. Features Falcon tries to do as little as used to optimize the framework as explained above. WSGI Server Falcon speaks WSGI, and so in order to serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of the more popular ones0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationoriginal [framework] code).” “Falcon looks great so far. I hacked together a quick test for a tiny server of mine and was ~40% faster with only 20 minutes of work.” “Falcon is rock solid and it’s fast.” tries to do as little as possible while remaining highly effective. Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+. Features Falcon tries to do as little as used to optimize the framework as explained above. WSGI Server Falcon speaks WSGI, and so in order to serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of the more popular ones0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b2 Documentationoriginal [framework] code).” “Falcon looks great so far. I hacked together a quick test for a tiny server of mine and was ~40% faster with only 20 minutes of work.” “Falcon is rock solid and it’s fast.” tries to do as little as possible while remaining highly effective. Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+. Features • ASGI and WSGI Support • WebSocket used to optimize the framework as explained above. WSGI Server Falcon speaks WSGI, and so in order to serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of the more popular ones0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0-b1 Documentationoriginal [framework] code).” “Falcon looks great so far. I hacked together a quick test for a tiny server of mine and was ~40% faster with only 20 minutes of work.” “Falcon is rock solid and it’s fast.” tries to do as little as possible while remaining highly effective. Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+. Features • ASGI and WSGI Support • WebSocket used to optimize the framework as explained above. WSGI Server Falcon speaks WSGI, and so in order to serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of the more popular ones0 码力 | 338 页 | 1.14 MB | 1 年前3
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













