 Laravel 6.0 中文文档你可以通过克隆仓库代码来实现 Homestead 安装。将仓库克隆到 用户「家」目录下的 Homestead 目录(没有的话自己创建一个), 这样 Homestead 盒子就可以作为所有 Laravel 项目的主机: cd ~ 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 59 git clone https://github.com/laravel/homestead 克隆完成后,你需要检查 Homestead 的版本标签,因为 master 分 支不会总是稳定版本,你可以在 GitHub Release Page 查找到最新稳 定版本然后在本地将其检出: cd ~/Homestead // 检出指定版本... git checkout v9.1.0 接下来,在 Homestead 目录下运行 bash init.sh 命令来创 建 Homestead 于从客户端访问。 别名 你可以在 Homestead 目录下通过编辑 aliases 文件为 Homestead 机器添加 Bash 别名: alias c='clear' alias ..='cd ..' 更新完 aliases 文件后,需要通过 vagrant reload --provision 命令重启 Homestead 机器,以确保新的别名在机器 上生效。 本文档由学院君提供0 码力 | 1442 页 | 14.66 MB | 1 年前3 Laravel 6.0 中文文档你可以通过克隆仓库代码来实现 Homestead 安装。将仓库克隆到 用户「家」目录下的 Homestead 目录(没有的话自己创建一个), 这样 Homestead 盒子就可以作为所有 Laravel 项目的主机: cd ~ 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 59 git clone https://github.com/laravel/homestead 克隆完成后,你需要检查 Homestead 的版本标签,因为 master 分 支不会总是稳定版本,你可以在 GitHub Release Page 查找到最新稳 定版本然后在本地将其检出: cd ~/Homestead // 检出指定版本... git checkout v9.1.0 接下来,在 Homestead 目录下运行 bash init.sh 命令来创 建 Homestead 于从客户端访问。 别名 你可以在 Homestead 目录下通过编辑 aliases 文件为 Homestead 机器添加 Bash 别名: alias c='clear' alias ..='cd ..' 更新完 aliases 文件后,需要通过 vagrant reload --provision 命令重启 Homestead 机器,以确保新的别名在机器 上生效。 本文档由学院君提供0 码力 | 1442 页 | 14.66 MB | 1 年前3
 The Definitive Guide to Yii 1.1
2 C ha ng e s R e l a t e d w i t h E a g e r L o a di ng f o r R e l a t i o na l A ct i v e R e co r d • B y d e f au l t , a s i n gl e J O I N s t at e m e n t w i l l b e ge n e r at e d an d e . 3 . 3 C ha ng e s R e l a t e d w i t h T a bl e A l i a s i n R e l a t i o na l A ct i v e R e co r d • T h e d e f au l t al i as f or a r e l at i on al t ab l e i s n ow t h e s am e as t h e c p r oc e s s . T h e n am e Yi i ( p r on ou n c e d as Yee or [ji:]) s t an d s f or ea s y , effi ci en t an d ex t en s i bl e. 1. 5 I n s t a l l a t i on 5 1 . 4 . 1 R e q ui r e m e nt s T o r0 码力 | 184 页 | 1.05 MB | 1 年前3 The Definitive Guide to Yii 1.1
2 C ha ng e s R e l a t e d w i t h E a g e r L o a di ng f o r R e l a t i o na l A ct i v e R e co r d • B y d e f au l t , a s i n gl e J O I N s t at e m e n t w i l l b e ge n e r at e d an d e . 3 . 3 C ha ng e s R e l a t e d w i t h T a bl e A l i a s i n R e l a t i o na l A ct i v e R e co r d • T h e d e f au l t al i as f or a r e l at i on al t ab l e i s n ow t h e s am e as t h e c p r oc e s s . T h e n am e Yi i ( p r on ou n c e d as Yee or [ji:]) s t an d s f or ea s y , effi ci en t an d ex t en s i bl e. 1. 5 I n s t a l l a t i on 5 1 . 4 . 1 R e q ui r e m e nt s T o r0 码力 | 184 页 | 1.05 MB | 1 年前3
 The Definitive Guide to Yii 1.0
p r oc e s s . T h e n am e Yi i ( p r on ou n c e d as Yee or [ji:]) s t an d s f or ea s y , effi ci en t an d ex t en s i bl e. 1 . 3 . 1 R e q ui r e m e nt s T o r u n an Yi i - p ow e r e d W e i s e x e c u t ab l e . Al t e r n at i v e l y , y ou m ay r u n t h e t ool as f ol l ow s , % cd WebRoot/testdrive % php YiiRoot/framework/yiic.php webapp WebRoot/testdrive T h i s w i l l c r e m an d l i n e w i n d ow , an d e x e c u t e t h e c om m an d s l i s t e d as f ol l ow s , % cd WebRoot/testdrive % protected/yiic shell Yii Interactive Tool v1.0 Please type ’help’ for help. Type0 码力 | 164 页 | 1002.30 KB | 1 年前3 The Definitive Guide to Yii 1.0
p r oc e s s . T h e n am e Yi i ( p r on ou n c e d as Yee or [ji:]) s t an d s f or ea s y , effi ci en t an d ex t en s i bl e. 1 . 3 . 1 R e q ui r e m e nt s T o r u n an Yi i - p ow e r e d W e i s e x e c u t ab l e . Al t e r n at i v e l y , y ou m ay r u n t h e t ool as f ol l ow s , % cd WebRoot/testdrive % php YiiRoot/framework/yiic.php webapp WebRoot/testdrive T h i s w i l l c r e m an d l i n e w i n d ow , an d e x e c u t e t h e c om m an d s l i s t e d as f ol l ow s , % cd WebRoot/testdrive % protected/yiic shell Yii Interactive Tool v1.0 Please type ’help’ for help. Type0 码力 | 164 页 | 1002.30 KB | 1 年前3
 CakePHP Cookbook Documentation 5.xchecking the default home page. Before you 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 there is an upgrade CLI tool: # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 5.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xchecking the default home page. Before you 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 there is an upgrade CLI tool: # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 5.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook 4.x
checking the default home page. Before you 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 updated to 4.x or PHPUnit8. # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 4.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
checking the default home page. Before you 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 updated to 4.x or PHPUnit8. # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 4.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 2.x
as of 2.5 Folder::cd(string $path) string Change directory to $path. Returns false on failure: path; // Prints /foo $folder->cd('/bar'); echo $folder->path; $folder->path; // Prints /bar $false = $folder->cd('/non-existent-folder'); Folder::chmod(string $path, integer $mode = false, boolean $recursive = true, array $exceptions = array()) boolean Change the $folder->copy(array( 'to' => '/path/to/new/folder', 'from' => '/path/to/copy/from', // will cause a cd() to occur 'mode' => 0755, 'skip' => array('skip-me.php', '.git'), 'scheme' => Folder::SKIP0 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
as of 2.5 Folder::cd(string $path) string Change directory to $path. Returns false on failure: path; // Prints /foo $folder->cd('/bar'); echo $folder->path; $folder->path; // Prints /bar $false = $folder->cd('/non-existent-folder'); Folder::chmod(string $path, integer $mode = false, boolean $recursive = true, array $exceptions = array()) boolean Change the $folder->copy(array( 'to' => '/path/to/new/folder', 'from' => '/path/to/copy/from', // will cause a cd() to occur 'mode' => 0755, 'skip' => array('skip-me.php', '.git'), 'scheme' => Folder::SKIP0 码力 | 1096 页 | 958.62 KB | 1 年前3
 CakePHP Cookbook Documentation 5.xchecking the default home page. Before you 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 there is an upgrade CLI tool: # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 5.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xchecking the default home page. Before you 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 there is an upgrade CLI tool: # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 5.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 848 页 | 2.53 MB | 1 年前3
 Learning Laravel'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, ], ], If you $ composer create-project laravel/laravel hello-world 1. Navigate to the project folder, e.g. $ cd C:\xampp\htdocs\hello-world 2. Create a controller: $ php artisan make:controller HelloController the display of that view with the "Hello World" string. We'll use artisan in the command line. $> cd your_laravel_project_root_directory $> php artisan make:controller HelloController That will just0 码力 | 216 页 | 1.58 MB | 1 年前3 Learning Laravel'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, ], ], If you $ composer create-project laravel/laravel hello-world 1. Navigate to the project folder, e.g. $ cd C:\xampp\htdocs\hello-world 2. Create a controller: $ php artisan make:controller HelloController the display of that view with the "Hello World" string. We'll use artisan in the command line. $> cd your_laravel_project_root_directory $> php artisan make:controller HelloController That will just0 码力 | 216 页 | 1.58 MB | 1 年前3
 Laravel 5.6 中文文档Laravel 项目的主机: cd ~ git clone https://github.com/laravel/homestead.git Homestead 克隆完成后,你需要检查 Homestead 的版本标签,因为 master 分支不会总是稳定版本,你可以在 GitHub Release Page 查找到最新稳定版本然后在 本地将其检出: cd Homestead // 文档学习如何自定义配置。 别名 你可以在 Homestead 目录下通过编辑 aliases 文件为 Homestead 机器添加 Bash 别名: alias c='clear' alias ..='cd ..' 更新完 aliases 文件后,需要通过 vagrant reload --provision 命令重启 Homestead 机器,以确保新的别名在机器上生效。 日常使用 全局访问 PATH。这些脚本允许你在系统的任意位置运行 Vagrant 命令,并且把命令执行位置指向 Homestead 的安装路径。 Mac/Linux function homestead() { ( cd ~/Homestead && vagrant $* ) } 确保将该函数中的 ~/Homestead 路径调整为指向实际的 Homestead 安装路径。这样你就可以在系统的任意位置运行 homestead0 码力 | 377 页 | 14.56 MB | 1 年前3 Laravel 5.6 中文文档Laravel 项目的主机: cd ~ git clone https://github.com/laravel/homestead.git Homestead 克隆完成后,你需要检查 Homestead 的版本标签,因为 master 分支不会总是稳定版本,你可以在 GitHub Release Page 查找到最新稳定版本然后在 本地将其检出: cd Homestead // 文档学习如何自定义配置。 别名 你可以在 Homestead 目录下通过编辑 aliases 文件为 Homestead 机器添加 Bash 别名: alias c='clear' alias ..='cd ..' 更新完 aliases 文件后,需要通过 vagrant reload --provision 命令重启 Homestead 机器,以确保新的别名在机器上生效。 日常使用 全局访问 PATH。这些脚本允许你在系统的任意位置运行 Vagrant 命令,并且把命令执行位置指向 Homestead 的安装路径。 Mac/Linux function homestead() { ( cd ~/Homestead && vagrant $* ) } 确保将该函数中的 ~/Homestead 路径调整为指向实际的 Homestead 安装路径。这样你就可以在系统的任意位置运行 homestead0 码力 | 377 页 | 14.56 MB | 1 年前3
 CakePHP Cookbook 4.x
checking the default home page. Before you 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 updated to 4.x or PHPUnit8. # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 4.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
checking the default home page. Before you 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 updated to 4.x or PHPUnit8. # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 4.x composer install --no-dev With the upgrade tool installed you can now run checking the default home page. Before you 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 (note0 码力 | 967 页 | 2.88 MB | 1 年前3
共 72 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8














