 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
 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
 《Slides Dev Web》 03. Laravel
26https://cpriego.github.io/valet-linux/#installation 27https://github.com/valeryan/valet-wsl 28https://jackwhiting.co.uk/posts/setting-up-a-windows-10-development-environment-with-wsl-php-laravel/ 5 Démarrer un projet composer/vendor/bin est dans le PATH : $ laravel new raidit $ cd raidit • Racine du site dans /public (lien symbolique ou virtual host) Le dépôt • Initialiser le dépôt $cd raidit $git init $git add . $git commit -m "Install0 码力 | 8 页 | 224.34 KB | 1 年前3 《Slides Dev Web》 03. Laravel
26https://cpriego.github.io/valet-linux/#installation 27https://github.com/valeryan/valet-wsl 28https://jackwhiting.co.uk/posts/setting-up-a-windows-10-development-environment-with-wsl-php-laravel/ 5 Démarrer un projet composer/vendor/bin est dans le PATH : $ laravel new raidit $ cd raidit • Racine du site dans /public (lien symbolique ou virtual host) Le dépôt • Initialiser le dépôt $cd raidit $git init $git add . $git commit -m "Install0 码力 | 8 页 | 224.34 KB | 1 年前3
 《Slides Dev Web》02. Introduction aux frameworks PHP
com/HE-Arc/php-intro-framework/17 $ sudo systemctl start httpd $ cd /var/www/html $ git clone \ > https://github.com/\ > HE-Arc/php-intro-framework $ cd php-intro-framework $ open http://localhost/php-intro-framework À partir de la version 2.0, il faut utiliser un autoloader externe, comme celui de composer (voir ci-dessous). Le code est un poil plus propre du côté de nos templates qui ne peuvent plus exécuter de0 码力 | 24 页 | 1.03 MB | 1 年前3 《Slides Dev Web》02. Introduction aux frameworks PHP
com/HE-Arc/php-intro-framework/17 $ sudo systemctl start httpd $ cd /var/www/html $ git clone \ > https://github.com/\ > HE-Arc/php-intro-framework $ cd php-intro-framework $ open http://localhost/php-intro-framework À partir de la version 2.0, il faut utiliser un autoloader externe, comme celui de composer (voir ci-dessous). Le code est un poil plus propre du côté de nos templates qui ne peuvent plus exécuter de0 码力 | 24 页 | 1.03 MB | 1 年前3
 Laravel 5.2 中文文档你还可以通过简单克隆仓库代码来实现 Homestead 安装。将仓库克隆到用户目录下的 Homestead 目录,这样 Homestead 盒子就可以会作为所有其他 Laravel 项目的主机: cd ~ git clone https://github.com/laravel/homestead.git Homestead 克隆完成后,在 Homestead 目录下运行 bash init 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], 注意我们在配置数组中新增了两个键:read 和 write,这两个键都对应一个包含单个键 “host”的数组,读/写连接的其它数据库配置选项都共用 如果你想要在服务器上运行给定任务之前弹出弹出提示进行确认,可以在任务声明中使用 confirm 指令: @task('deploy', ['on' => 'web', 'confirm' => true]) cd site git pull origin {{ $branch }} php artisan migrate @endtask 2.1 任务变量 如果需要的话,你可以使用命令行开关传递变量到0 码力 | 377 页 | 4.56 MB | 1 年前3 Laravel 5.2 中文文档你还可以通过简单克隆仓库代码来实现 Homestead 安装。将仓库克隆到用户目录下的 Homestead 目录,这样 Homestead 盒子就可以会作为所有其他 Laravel 项目的主机: cd ~ git clone https://github.com/laravel/homestead.git Homestead 克隆完成后,在 Homestead 目录下运行 bash init 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], 注意我们在配置数组中新增了两个键:read 和 write,这两个键都对应一个包含单个键 “host”的数组,读/写连接的其它数据库配置选项都共用 如果你想要在服务器上运行给定任务之前弹出弹出提示进行确认,可以在任务声明中使用 confirm 指令: @task('deploy', ['on' => 'web', 'confirm' => true]) cd site git pull origin {{ $branch }} php artisan migrate @endtask 2.1 任务变量 如果需要的话,你可以使用命令行开关传递变量到0 码力 | 377 页 | 4.56 MB | 1 年前3
 Laravel 5.1 中文文档'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 本文档由 Laravel 学院(LaravelAcademy.org)提供 78 ], 注意我们在配置数组中新增了两个键:read 如果你想要在服务器上运行给定任务之前弹出弹出提示进行确认,可以在任务声明中使用 confirm 指令: @task('deploy', ['on' => 'web', 'confirm' => true]) cd site git pull origin {{ $branch }} php artisan migrate @endtask 2.1 任务变量 如果需要的话,你可以使用命令行开关传递变量到 学院(LaravelAcademy.org)提供 273 @servers(['web' => '192.168.1.1']) @task('deploy', ['on' => 'web']) cd site git pull origin {{ $branch }} php artisan migrate @endtask 2.2 多个服务器 你可以轻松地在多主0 码力 | 307 页 | 3.46 MB | 1 年前3 Laravel 5.1 中文文档'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 本文档由 Laravel 学院(LaravelAcademy.org)提供 78 ], 注意我们在配置数组中新增了两个键:read 如果你想要在服务器上运行给定任务之前弹出弹出提示进行确认,可以在任务声明中使用 confirm 指令: @task('deploy', ['on' => 'web', 'confirm' => true]) cd site git pull origin {{ $branch }} php artisan migrate @endtask 2.1 任务变量 如果需要的话,你可以使用命令行开关传递变量到 学院(LaravelAcademy.org)提供 273 @servers(['web' => '192.168.1.1']) @task('deploy', ['on' => 'web']) cd site git pull origin {{ $branch }} php artisan migrate @endtask 2.2 多个服务器 你可以轻松地在多主0 码力 | 307 页 | 3.46 MB | 1 年前3
 Laravel 5.3 中文文档你还可以通过克隆仓库代码来实现 Homestead 安装。将仓库克隆到用户目录下的 Homestead 目录,这样 Homestead 盒子就可以作为所有其他 Laravel 项目的主机: cd ~ git clone https://github.com/laravel/homestead.git Homestead 克隆完成后,在 Homestead 目录下运行 bash init 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], 注意我们在配置数组中新增了两个键:read 和 write,这两个键都对应一个包含单个键“host”的 数组,读/写连接的其它数据库配置选项都共用 命令前验证$branch 变量是否存在: @servers(['web' => '192.168.1.1']) @task('deploy', ['on' => 'web']) cd site @if ($branch) git pull origin {{ $branch }} @endif php artisan migrate0 码力 | 691 页 | 9.37 MB | 1 年前3 Laravel 5.3 中文文档你还可以通过克隆仓库代码来实现 Homestead 安装。将仓库克隆到用户目录下的 Homestead 目录,这样 Homestead 盒子就可以作为所有其他 Laravel 项目的主机: cd ~ git clone https://github.com/laravel/homestead.git Homestead 克隆完成后,在 Homestead 目录下运行 bash init 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], 注意我们在配置数组中新增了两个键:read 和 write,这两个键都对应一个包含单个键“host”的 数组,读/写连接的其它数据库配置选项都共用 命令前验证$branch 变量是否存在: @servers(['web' => '192.168.1.1']) @task('deploy', ['on' => 'web']) cd site @if ($branch) git pull origin {{ $branch }} @endif php artisan migrate0 码力 | 691 页 | 9.37 MB | 1 年前3
 《Slides Dev Web》 05. JavaScript & DOM
(attribut src) language="JavaScript" est déprécié et type vaut par défaut text/javascript. The type attribute gives the language of the script or format0 码力 | 10 页 | 91.95 KB | 1 年前3 《Slides Dev Web》 05. JavaScript & DOM
(attribut src) language="JavaScript" est déprécié et type vaut par défaut text/javascript. The type attribute gives the language of the script or format0 码力 | 10 页 | 91.95 KB | 1 年前3
 Laravel 5.0 Documentation
'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], Note that two keys have been added to the configuration array: read0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], Note that two keys have been added to the configuration array: read0 码力 | 242 页 | 1.44 MB | 1 年前3
共 12 条
- 1
- 2













