Laravel 5.2 中文文档eption\HttpException; use Illuminate\Foundation\Validation\ValidationException; /** * A list of the exception types that should not be reported. 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 目录包含应用的异常处理器,同时还是处理应用抛出的任何异常的好地方。 注意:app 目录中的很多类都可以通过 Artisan 命令生成,要查看所有有效的命令,可以在 终端中运行 php artisan list make 命令。 服务提供者 1、简介 服务提供者是所有 Laravel 应用启动的中心,你自己的应用以及所有 Laravel 的核心服务都 是通过服务提供者启动。 但是,我们所谓 自带的命令行接口名称,它为我们在开发过程中提供了很多有用的命 令。通过强大的 Symfony Console 组件驱动。想要查看所有可用的 Artisan 命令,可使用 list 命令: php artisan list 每个命令都可以用 help 指令显示命令描述及命令参数和选项。想要查看帮助界面,只需要 在命令前加上 help 就可以了: php artisan help migrate0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.0 Documentation
PodcastWasPurchased($podcast)); Of course, your event handler will receive the event object instead of a list of data: class ReportPodcastPurchase { public function handle(PodcastWasPurchased $event) application structure, new Artisan generator commands have been added to the framework. See php artisan list for more details. You may now cache all of your configuration in a single file using the config:cache even collapsing of arrays. Just try the following in your project: dd([1, 2, 3]); The full change list for this release by running the php artisan changes command from a 4.2 installation, or by viewing0 码力 | 242 页 | 1.44 MB | 1 年前3
The Laravel Handbook
database 8. Adding a better layout 9. Adding the form at the bottom of the list 10. Allow users to delete dogs from the list 11. Adding authentication using Laravel Breeze 12. Only authenticated users that we got data working, let’s clean up the routes a bit, add a more beautiful design. I have this list of views we used in our tests: 37 Remove test.blade.php and welcome.blade.php . In routes/web DogController to save the dog to the database. Remove all the other routes. 38 Ok! Now you should see the list of dogs on the / route:0 码力 | 111 页 | 14.25 MB | 1 年前3
Learning LaravelStarted 4 Laravel Views 5 Chapter 2: Artisan 6 Syntax 6 Parameters 6 Examples 8 Introduction 8 List all registered routes filtered by multiple methods 8 Running Laravel Artisan commands using PHP code Stack Overflow nor official Laravel. The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images maintenance mode env Display the current framework environment help Displays help for a command list Lists commands migrate Run the database migrations optimize Optimize the framework for better performance0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 3.2 Documentationwhen a view is loaded. A good example of this would be a blog side-navigation view that contains a list of random blog posts. Your composer would contain the logic to load the blog posts so that all you $this->filter('before', 'auth')->only(array('index', 'list')); In this example the auth filter will be run before the action_index() or action_list() methods are run. Users must be logged in before having also very common to have a partial view that is responsible for display an instance of data in a list. For example, you may create a partial view responsible for displaying the details about a single0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 6.0 中文文档$schedule->command('list')->between('23:00', '4:00'); 对大多数用户来说,编写上述调度期望的行为是在 23:00 到 4:00 之间每分钟运行一次 list 命令,然而,在之前版本的 Laravel 中, 这个调度器的执行逻辑反过来了,会在 4:00 到 23:00 之间每分钟 执行一次 list 命令,在 Laravel 6.0 中,这一错误行为被纠正。 make:job 命令 生成任务类时才会出现在 app 目录下。 注:app 目录中的很多类都可以通过 Artisan 命令生成, 要查看所有有效的命令,可以在终端中运行 php artisan list make 命令。 Broadcasting 目录 Broadcasting 目录包含了应用所需的所有广播频道类,这些类通 过 make:channel 命令生成。该目录默认不存在,但是当你通过命令 anjun.com 86 此外,你可以在 CLI 中使用任意版本的 PHP: php5.6 artisan list php7.0 artisan list php7.1 artisan list php7.2 artisan list php7.3 artisan list 还可以在虚拟机中通过如下这些命令来更新默认的 CLI 版本: php56 php70 php71 php720 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档make:job 命令生成任务类时 才会出现在 app 目录下。 注:app 目录中的很多类都可以通过 Artisan 命令生成,要查看所有有效的命令,可以在终端中运行 php artisan list make 命令。 Broadcasting 目录 Broadcasting 目录包含了应用所需的所有广播频道类,这些类通过 make:channel 命令生成。该目录默认不存在,但是当你通过命令第一次创建频 lacademy.org 20 此外,你可以在 CLI 中使用任意版本的 PHP: php5.6 artisan list php7.0 artisan list php7.1 artisan list php7.2 artisan list Web 服务器 Homestead 使用 Nginx 作为默认 Web 服务器。不过,如果指定 apache 作为站点类型,也会安装 string 验证字段必须是字符串,如果允许字段为空,需要分配 nullable 规则到该字段。 timezone 验证字符必须是基于 PHP 函数 timezone_identifiers_list 的有效时区标识 unique:table,column,except,idColumn 验证字段在给定数据表上必须是唯一的,如果不指定 column 选项,字段名将作为默认 column。0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.3 中文文档make:job 命令生成任务类时才会出现在 app 目录下。 注意:app 目录中的很多类都可以通过 Artisan 命令生成,要查看所有有效的命令,可以在终端中 运行 php artisan list make 命令。 Console 目录 Console 目录包含应用所有自定义的 Artisan 命令,这些命令类可以使用 make:command 命令生成。 该目录下还有 console 异常处理器的$dontReport 属性包含一个不会被记录的异常类型数组,默认情况下,404 错误异常 不会被写到日志文件,如果需要的话你可以添加其他异常类型到这个数组: /** * A list of the exception types that should not be reported. * 本文档由 Laravel 学院(LaravelAcademy.org)提供 Apache 或 Nginx 绑 定到本地的 80 端口。安装步骤如下: 使用 brew update 安装或更新 Homebrew 到最新版本 通过运行 brew services list 确保 brew services 有效并且能获取到正确的输出,如果 无效,则需要添加。 通过 Homebrew 安装 PHP 7.0: brew install homebrew/php/php70。0 码力 | 691 页 | 9.37 MB | 1 年前3
《Slides Dev Web》 03. Laravel
Symfony Console • Aide aux tâches courantes, ex: $php artisan route:list $php artisan migrate $php artisan make:controller $php artisan list • Extensible29 Premiers pas • Routes30 – Ajouter une route /test0 码力 | 8 页 | 224.34 KB | 1 年前3
《Slides Dev Web》 05. JavaScript & DOM
10https://babeljs.io/ 11https://www.typescriptlang.org/ 12http://coffeescript.org/ 13https://en.wikipedia.org/wiki/List_of_ECMAScript_engines 14https://addyosmani.com/resources/essentialjsdesignpatterns/book/ 15http://jstherightway perience/ 17http://www.hongkiat.com/blog/100-useful-bookmarklets-for-better-productivity-ultimate-list/ 18https://developer.mozilla.org/fr/docs/Web/JavaScript/Guide/Le_mod%C3%A8le_objet_JavaScript_en_d%C3%A9tai0 码力 | 10 页 | 91.95 KB | 1 年前3
共 14 条
- 1
- 2













