Laravel 3.2 Documentationdocumentation. These documents were designed to function both as a getting-started guide and as a feature reference. Even though you may jump into any section and start learning, we recommend reading the request (GitHub will not automatically select it.) Documentation: If you are adding a new feature or changing the API in any relevant way, this should be documented. The documentation files can your own fork. # git pull origin develop Now you are ready to create a new branch for your new feature or bug-fix. When you create a new branch, use a self-descriptive naming convention. For example0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.6 中文文档Facades 前缀后的接口或类名在服务容器中解析。在测试的时候,我们可以使用 Laravel 自带的门面 测试辅助函数来模拟这个方法调用: Feature; use App\Podcast; use Tests\TestCase; use Facades\App\Contracts\Publisher; use Illuminate\ 辅助方法允许你对应用进行优雅的测试。 默认情况下,tests 目录包含了两个子目录:Feature 和 Unit,分别用于功能测试和单元测试,单元测试专注于小的、相互隔离的代码,实际上, 大部分单元测试可能都是聚焦于单个方法。功能测试可用于测试较大区块的代码,包括若干组件之前的交互,甚至一个完整的 HTTP 请求。 Feature 和 Unit 测试目录下都提供了 ExampleTest.php 文件,安装完新的 --env=testing 开关的 Artisan 命令时覆 盖 .env 文件中的环境变量。 创建 & 运行测试 要创建一个新的测试用例,可以使用 Artisan 命令 make:test: // 在 Feature 目录下创建测试类... php artisan make:test UserTest // 在 Unit 目录下创建测试类... php artisan make:test UserTest0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档Facades 前缀后的接 口或类名在服务容器中解析。在测试的时候,我们可以使用 Laravel 自带的门面测试辅助函数来模拟这个方法调用: Feature; use App\Podcast; use Tests\TestCase; use Facades\App\Contracts\Publisher; use Illuminate\Fo 提供了方便的辅助方法允许你对应用进行优雅的测试。 默认情况下,tests 目录包含了两个子目录:Feature 和 Unit,分 别用于功能测试和单元测试,单元测试专注于小的、相互隔离的代码, 实际上,大部分单元测试可能都是聚焦于单个方法。功能测试可用于 测试较大区块的代码,包括若干组件之前的交互,甚至一个完整的 HTTP 请求。 Feature 和 Unit 测试目录下都提供了 ExampleTest.php 文件,安 --env=testing 开关的 Artisan 命令时覆盖 .env 文件中的环境变量。 创建 & 运行测试 要创建一个新的测试用例,可以使用 Artisan 命令 make:test: // 在 Feature 目录下创建测试类... php artisan make:test UserTest 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun0 码力 | 1442 页 | 14.66 MB | 1 年前3
《Slides Dev Web》 10. Rwd-use-srcset/ 12https://www.hteumeuleu.fr/attribut-srcset-images-responsive/ 5 .feature { overflow: hidden; } .feature img { display: block; max-width: auto; } • Pas de standard pour servir différentes0 码力 | 7 页 | 76.36 KB | 1 年前3
Laravel 5.0 Documentation
changes for the release. An 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 your system supports it. The readline and pcntl PHP extensions must be installed to use this feature. If you do not have these extensions, the shell from 4.0 will be used. A new hasManyThrough relationship to the master branch, which contains the upcoming Laravel release. If you are unsure if your feature qualifies as a major or minor, please ask Taylor Otwell in the #laravel-dev IRC channel Contribution0 码力 | 242 页 | 1.44 MB | 1 年前3
Learning Laravelshipped with a templating engine known as Blade. Blade is quite easy to use, yet, powerful. One feature the Blade templating engine does not share with other popular ones is her permissiveness; allowing authentication is little different from Laravel 5.2 I will explain how to implement multiauthentication feature in 5.3 First you need two different user Model cp App/User.php App/Admin.php change class name0 码力 | 216 页 | 1.58 MB | 1 年前3
共 6 条
- 1













