Laravel 5.0 Documentation
Vulnerabilities v. Coding Style 3. Setup i. Installation i. Install Composer ii. Install Laravel iii. Server Requirements ii. Configuration i. Introduction ii. After Installation iii. Accessing Configuration is a headache. Your console schedule is no longer in source control, and you must SSH into your server to add the Cron entries. Let's make our lives easier. The Laravel command scheduler allows you to define your command schedule within Laravel itself, and only a single Cron entry is needed on your server. It looks like this: $schedule->command('artisan:command')->dailyAt('15:00'); Of course, check0 码力 | 242 页 | 1.44 MB | 1 年前3
Learning LaravelChapter 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 Change Examples 95 Configuration 95 Basic Usage 95 Custom Filesystems 97 Creating symbolic link in a web server using SSH 98 Chapter 28: Form Request(s) 99 Introduction 99 Syntax 99 Remarks 99 Examples 99 Create-Project 103 Setup 103 Server Requirements 103 Local Development Server 104 Hello World Example (Basic) and with using a view 104 Hello World Example (Basic) 105 Web Server Configuration for Pretty0 码力 | 216 页 | 1.58 MB | 1 年前3
《Slides Dev Web》 06. HTTP & AJAX
Requête GET / HTTP/1.1[CRLF] Host: www.cff.ch[CRLF] Connection: close[CRLF] User-Agent: Opera/9.20 (Windows NT 6.0; U; en)[CRLF] Accept-Encoding: gzip[CRLF] Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF] net/[CRLF] [CRLF] • Réponse HTTP Status Code: HTTP/1.1 302 Found Date: Mon, 16 Nov 2009 08:01:35 GMT Server: Apache Location: http://www.sbb.ch/fr/ 2 Content-Length: 205 Connection: close Content-Type: text/html; fetch22 : Exemple23 • Fetch a un polyfill pour les navigateurs ne le supportant pas • L’API Fetch est native et plus simple d’utilisation que jQuery fetch("fichier.json") .then(function(response) { return0 码力 | 11 页 | 91.09 KB | 1 年前3
Laravel 6.0 中文文档上提议新功能或者优化已有功能,如果是新功 能的话请至少实现部分代码以便完成新功能开发。 关于 Laravel 的 bug、新功能、以及现有功能实现的非正式讨论可 以在 Laravel Discord server 的 #internals 频道进行。Taylor Otwell,Laravel 框架的维护者,通常在工作日的上午 8 点到下午 5 点(美西时间或芝加哥时间)在线,其它时间也可能偶尔在线。 当前版本中完全向后兼容的次要特性也可以提交到最新的稳定分支。 重要的新特性总是要被提交到 master 分支,包括下个发行版本。 如果你不确定是重要特性还是次要特性,请在 Laravel Discord server 的 #internals 频道咨询 Taylor Otwell。 编译前端资源 如果你提交的文件更改会影响前端编译文件,通常这种文件位 于 1aravel/laravel 仓库 的 resources/sass 这个目录的位置也有所不同,常见的几种操作系列存放位置罗列如 下: macOS 和 GNU/Linux : $HOME/.composer/vendor/bin ($HOME 表示当前用户家目录,可以用 ~ 替代) Windows:%USERPROFILE%\AppData\Roaming\Composer\ve ndor\bin(%USERPROFILE% 代表的也是当前用户家目录) 本文档由学院君提供 学院君致力于提供优质0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 3.2 Documentation........................................................................................... 12 Server Configuration .................................................................................. folder. 5 Laravel 3.2.2 Overall improvement of Postgres support. Fix issue in SQL Server Schema grammar. Fix issue with eager loading and first or find . Fix bug causing parameters 2.1 Fixed bug in cookie retrieval when cookie is set on same request. Fixed bug in SQL Server grammar for primary keys. Fixed bug in Validator on PHP 5.4. If HTTP / HTTPS is not specified0 码力 | 139 页 | 1.13 MB | 1 年前3
The Laravel Handbook
troubles reaching this stage, the official documentation has great guides for macOS, Linux and Windows. Open the newly created project folder in VS Code. This should be the file structure: 8 While deployment, for example locally in development you can have debug enabled, while on the production server you don’t want that. Some options in config files, like the ones you see above, make use of the specific. 3. Blade The view files that end with .blade.php and are Blade templates. Blade is a server-side templating language. In its basic form it’s HTML. As you can see, those templates I used above0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 5.6 中文文档require "laravel/installer" 确保 $HOME/.composer/vendor/bin 在系统路径中(Mac 中对应路径是 ~/.composer/vendor/bin,Windows 对应路径 是 ~/AppData/Roaming/Composer/vendor/bin,其中 ~ 表示当前用户家目录),否则不能在命令行任意路径下调用 laravel 命令。 安装完成后,通过简单的 对应的 Vagrant 盒 子,经历一系列下载、安装和配置之后才能使用(可能需要花费数小时),如果是 Mac 或 Linux 系统可能还比较顺利,如果是 Windows 系统的 话就得先烧柱香拜拜菩萨再开始,保佑一切顺利,哈哈,开玩笑啦,不过 Windows 确实相对而言出问题的概率比较大。 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学 这三个理由,我想足够可以说服你了。 当然,如果你只是想简单尝鲜,不使用 Homestead 也无可厚非,毕竟 Mac 下有 Valet,Windows 下则可以使用 Xampp 之类的便捷工具包,但是 如果是工程化开发,走正规军路子还是推荐使用 Homestead。 注:如果你使用的是 Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过 BIOS 来开启。如果你是在 UEFI 系统上使用 Hyper-V,则0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.1 中文文档create-project laravel/laravel blog --prefer-dist 该命令会在当前目录中创建一个名为 blog 的 Laravel 安装。 【译者注】相关教程:在 Windows 中安装 Laravel 5.1.X 本文档由 Laravel 学院(LaravelAcademy.org)提供 10 2、配置 2.1 基本配置 Laravel 框架的所有配置文件都存放在 建该 Vagrant 盒子! Homestead 可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了 Nginx、 PHP5.6、MySQL、Postgres、Redis、Memcached、Node 以及很多其它开发牛逼 Laravel 应用所需要的东西。 注意:如果你使用的是 Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过 BIOS 来开启。 SSH key 的路径,如果没有 SSH key,那么在 Mac 或 Linux 上,可以通过如下命令来生成: ssh-keygen -t rsa -C "you@homestead" 在 Windows 上,可以安装 Git 然后使用 Git 自带的“Git Bash”来执行上述命令。除此之外, 你还可以使用 PUTTY 和 PUTTYgen 工具来生成 SSH key。 2.2.3 配置共享文件夹0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档如果出现错误,可以在数分钟内销毁并重新创建该 Vagrant 盒子! Homestead 可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了 Nginx、 PHP7.0、MySQL、Postgres、Redis、Memcached、Node 以及很多其它开发 Laravel 应用所需要的东西。 注:如果你使用的是 Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过 BIOS 来开启。 站点配置中的域名添加到本地机器上的 hosts 文件中,该文件会将对 本地域名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位 于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加 方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead 文件,make 命令将会自动配置 Homestead.yaml 中 的 sites 和 folders 属性。 Mac/Linux: php vendor/bin/homestead make Windows: vendor\bin\homestead make 接下来,在终端中运行 vagrant up 命令然后在浏览器中通过 http://homestead.app 访问 站点。不要忘记在/etc/hosts0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档认证变得简单。Laravel Passport 可以在几分钟内为应用 提供一个完整的 Oauth2 服务器实现,Passport 基于 Alex Bilbie 维护的 League OAuth2 server 实 现。 Passport 使得通过 OAuth2 授权码获取访问令牌(access token)变得轻松,你还可以允许用户通 本文档由 Laravel 学院(LaravelAcademy 数分钟内销毁并重新创建该 Vagrant 盒子! Homestead 可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了 Nginx、PHP7.0、 MySQL、Postgres、Redis、Memcached、Node 以及很多其它开发 Laravel 应用所需要的东西。 注:如果你使用的是 Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过 BIOS 来开 站点配置中的域名添加到本地机器上的 hosts 文件中,该文件会将对本地域 名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 本文档由 Laravel 学院(LaravelAcademy0 码力 | 691 页 | 9.37 MB | 1 年前3
共 14 条
- 1
- 2













