Learning Laravelmethods 8 Running Laravel Artisan commands using PHP code 9 Creating and registering new artisan command 9 Chapter 3: Authentication 10 Examples 10 Multi Authentication 10 Chapter 4: Authorization 14 Seeds 62 Chapter 19: Deploy Laravel 5 App on Shared Hosting on Linux Server 65 Remarks 65 Examples 65 Laravel 5 App on Shared Hosting on Linux Server 65 Chapter 20: Directory Structure 68 Examples 68 Valet link 183 Valet park 184 Valet links 184 Installation 184 Valet domain 185 Installation (Linux) 185 Chapter 65: Validation 186 Parameters 186 Examples 187 Basic Example 187 Array Validation0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.0 Documentation
Collections i. Introduction ii. Basic Usage v. Command Bus i. Introduction ii. Creating Commands iii. Dispatching Commands iv. Queued Commands v. Command Pipeline vi. Core Extension i. Managers & Factories Outside Of CLI iv. Scheduling Artisan Commands ii. Development i. Introduction ii. Building A Command iii. Registering Commands A GitBook version of Laravel 5.0 Documentation Introduction Release App namespace. This default namespace can be quickly changed using the new app:name Artisan command. Controllers, middleware, and requests (a new type of class in Laravel 5.0) are now grouped under0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 6.0 中文文档LazyCollection::make(function () { $handle = fopen('log.txt', 'r'); while (($line = fgets($handle)) !== false) { yield $line; } }) ->chunk(4) ->map(function ($lines) { return LogEntry::fromLines($lines); un.com 23 between 方法 影响级别:低 在之前版本的 Laravel 中,调度器的 between 方法会出现跨越日期 边界的混乱行为,例如: $schedule->command('list')->between('23:00', '4:00'); 对大多数用户来说,编写上述调度期望的行为是在 23:00 到 4:00 之间每分钟运行一次 list 命令,然而,在之前版本的 目录包含在系统 $PATH 路径 中,以便系统可以找到 laravel 可执行命令。在不同的操作系统中, 这个目录的位置也有所不同,常见的几种操作系列存放位置罗列如 下: macOS 和 GNU/Linux : $HOME/.composer/vendor/bin ($HOME 表示当前用户家目录,可以用 ~ 替代) Windows:%USERPROFILE%\AppData\Roaming\Composer\ve0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档要指定任务只在一台机器上运行,可以在定义调度任务时使用 onOneServer 方法,第一台获取到任务的机器会给这个任务上一把原子级别的锁来阻 止其他服务器同时运行同一个任务: $schedule->command('report:generate') ->fridays() ->at('17:00') ->onOneServer(); 道类时会自动生成。想要了解更多关于频道的信息,可以查看事件广播文档。 Console 目录 Console 目录包含应用所有自定义的 Artisan 命令,这些命令类可以使用 make:command 命令生成。该目录下还有 Console/Kernel 类,在这里可 以注册自定义的 Artisan 命令以及定义调度任务。 Events 目录 这个目录默认不存在,但是可以通过 event:generate 境,你需要安装 Vagrant、VirtualBox,下载 Homestead 对应的 Vagrant 盒 子,经历一系列下载、安装和配置之后才能使用(可能需要花费数小时),如果是 Mac 或 Linux 系统可能还比较顺利,如果是 Windows 系统的 话就得先烧柱香拜拜菩萨再开始,保佑一切顺利,哈哈,开玩笑啦,不过 Windows 确实相对而言出问题的概率比较大。 本文档由 Laravel0 码力 | 377 页 | 14.56 MB | 1 年前3
Falcon v3.0.0-b2 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 5.2.2 Deploying Falcon on Linux with NGINX and uWSGI . . . . . . . . . . . . . . . . . . . . . 92 5.3 Community Guide . . . . . Installing on OS X Xcode Command Line Tools are required to compile Cython. Install them with this command: $ xcode-select --install The Clang compiler treats unrecognized command-line options as errors, for for example: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument- ˓→hard-error-in-future] You might also see warnings about unused functions. You can work around these0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 5.2.2 Deploying Falcon on Linux with NGINX and uWSGI . . . . . . . . . . . . . . . . . . . . . 92 5.3 Community Guide . . . . . Installing on OS X Xcode Command Line Tools are required to compile Cython. Install them with this command: $ xcode-select --install The Clang compiler treats unrecognized command-line options as errors, for for example: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument- ˓→hard-error-in-future] You might also see warnings about unused functions. You can work around these0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 5.2.2 Deploying Falcon on Linux with NGINX and uWSGI . . . . . . . . . . . . . . . . . . . . . 92 5.3 Community Guide . . . . . Installing on OS X Xcode Command Line Tools are required to compile Cython. Install them with this command: $ xcode-select --install The Clang compiler treats unrecognized command-line options as errors, for for example: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument- ˓→hard-error-in-future] You might also see warnings about unused functions. You can work around these0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 5.2.2 Deploying Falcon on Linux with NGINX and uWSGI . . . . . . . . . . . . . . . . . . . . . 91 5.3 Community Guide . . . . . Installing on OS X Xcode Command Line Tools are required to compile Cython. Install them with this command: $ xcode-select --install The Clang compiler treats unrecognized command-line options as errors, for for example: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument- ˓→hard-error-in-future] You might also see warnings about unused functions. You can work around these0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.1.1-b3 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 5.2.2 Deploying Falcon on Linux with NGINX and uWSGI . . . . . . . . . . . . . . . . . . . . . 102 5.3 Community Guide . . . . . Installing on OS X Xcode Command Line Tools are required to compile Cython. Install them with this command: $ xcode-select --install The Clang compiler treats unrecognized command-line options as errors, for for example: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard- ˓→error-in-future] You might also see warnings about unused functions. You can work around these0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 5.2.2 Deploying Falcon on Linux with NGINX and uWSGI . . . . . . . . . . . . . . . . . . . . . 102 5.3 Community Guide . . . . . Installing on OS X Xcode Command Line Tools are required to compile Cython. Install them with this command: $ xcode-select --install The Clang compiler treats unrecognized command-line options as errors, for for example: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard- ˓→error-in-future] You might also see warnings about unused functions. You can work around these0 码力 | 378 页 | 1.29 MB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













