Laravel 5.6 中文文档Laravel 5.6 引入了两个新的方法来生成 UUID:Str::uuid 和 Str::orderedUuid,orderedUuid 方法会生成一个时间戳最靠前的 UUID,通过诸如 MySQL 的数据库来索引,更简单,也更高效。两个方法都会返回 Ramsey\Uuid\Uuid 对象: use Illuminate\Support\Str; return (string) Str::uuid(); Vagrant 盒子(关于 Vagrant 盒子的释义请参考 Vagrant 官方文档), 该盒子为我们提供了一个优秀的开发环境,有了它,我们不再需要在本地环境安装 PHP、Composer、Nginx、MySQL、Memcached、Redis、Node 等其它工具软件,我们也完全不用再担心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果出现错误,可以在数分钟内销毁并重新创 建该 Vagrant 16.04 Git PHP 7.2 PHP 7.1 PHP 7.0 PHP 5.6 Nginx Apache(可选) MySQL MariaDB(可选) SQLite3 PostgresSQL Composer Node(With Yarn, Bower, Grunt, and0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档Vagrant 盒子(关于 Vagrant 盒子的释义请参考 Vagrant 官方文档),该盒子为我们提供了一个优秀的开发环境,有了它,我 们不再需要在本地环境安装 PHP、Composer、Nginx、MySQL、 Memcached、Redis、Node 等其它工具软件,我们也完全不用再担 心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果 出现错误,可以在数分钟内销毁并重新创建该 中文学习资源:https://xueyuanjun.com 54 Git PHP 7.3 PHP 7.2 PHP 7.1 PHP 7.0 PHP 5.6 Nginx MySQL lmm(用于 MySQL 或 MariaDB 数据库快照) SQLite3 PostgreSQL Composer Node(With Yarn, Bower, Grunt, and Docker Elasticsearch Gearman Go Grafana InfluxDB MariaDB MinIO MongoDB MySQL 8 Neo4j Oh My Zsh Open Resty 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 3.2 Documentationbug in Validator on PHP 5.4. If HTTP / HTTPS is not specified for generated links, current protocol is used. Fix bug in Eloquent auth driver. Added format method to message container. following goodies will help you take full advantage of Laravel, but they are not required: SQLite, MySQL, PostgreSQL, or SQL Server PDO drivers. Memcached or APC. 12 Problems? If you are HTTPS Routes When defining routes, you may use the "https" attribute to indicate that the HTTPS protocol should be used when generating a URL or Redirect to that route. Defining an HTTPS route: Route::get('login'0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.0 Documentation
distribution, allowing the box to boot extremely quickly. Homestead includes Nginx 1.6, PHP 5.6, MySQL, Postgres, Redis, Memcached, Beanstalk, Node, Gulp, Grunt, & Bower. Homestead includes a simple app/config/queue.php file. Here are the default values for the section: 'failed' => array( 'database' => 'mysql', 'table' => 'failed_jobs', ), (Optional) Update the pagination configuration option in your app/config/view Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 5.1 中文文档盒子是一次性的,如果出现错误,可以在数分钟内销毁并重新创 建该 Vagrant 盒子! Homestead 可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了 Nginx、 PHP5.6、MySQL、Postgres、Redis、Memcached、Node 以及很多其它开发牛逼 Laravel 应用所需要的东西。 注意:如果你使用的是 Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过 Homestead 目前基于 Vagrant 1.7 进行构建和测试。 1.1 包含软件 Ubuntu 14.04 PHP 5.6 HHVM Nginx MySQL Postgres Node (With PM2, Bower, Grunt, and Gulp) Redis Memcached Beanstalkd 默认已经在 homestead 中为 MySQL 和 Postgres 数据库做好了配置,更加方便的是,Laravel 的 local 数据库配置已经为使用数据库做好了设置。 想要通过本地的 Navicat 或 Sequel Pro 连接上 MySQL 或 Postgres 数据库,可以通过新建 连接来实现,主机 IP 都是 127.0.0.1,对于 MySQL 而言,端口号是 33060,对 Postgres0 码力 | 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 来开启。 预装软件 Ubuntu 14.04 Git PHP 7.0 HHVM Xdebug Nginx MySQL SQLite 3 Postgres Composer Node(With PM2, Bower, Grunt, and Gulp) Redis Homestead 虚拟机中为 MySQL 和 Postgres 数据库做好了配置,更方便的 是,Laravel 的 .env 还为连接 Homestead 数据库做好了配置。 想要通过本地的 Navicat 或 Sequel Pro 连接到 Homestead 上的 MySQL 或 Postgres 数据库,可以通过新建连接来实现,主机 IP 都是 127.0.0.1,对于 MySQL 而言,端口 号是 33060,对0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档53 数分钟内销毁并重新创建该 Vagrant 盒子! Homestead 可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了 Nginx、PHP7.0、 MySQL、Postgres、Redis、Memcached、Node 以及很多其它开发 Laravel 应用所需要的东西。 注:如果你使用的是 Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过 以便可以访问 VT-x。 预装软件 Ubuntu 16.04 Git PHP 7.0 HHVM Xdebug Nginx MySQL MariaDB SQLite 3 Postgres Composer Node(With PM2, Bower, Grunt, and Gulp) homestead.app。 安装 MariaDB 如果你希望使用 MariaDB 来替代 MySQL,可以添加 mariadb 配置项到 Homestead.yaml 文件,该 选项会移除 MySQL 并安装 MariaDB,MariaDB 是 MySQL 的替代品,所以在应用数据库配置中你 仍然可以使用 mysql 驱动: box: laravel/homestead ip: "192.1680 码力 | 691 页 | 9.37 MB | 1 年前3
Learning Laravela Seed 60 Inserting Data using a Seeder 60 Inserting data with a Model Factory 61 Seeding with MySQL Dump 61 Using faker And ModelFactories to generate Seeds 62 Chapter 19: Deploy Laravel 5 App on can see the configuration item call: 'default' => env('DB_CONNECTION', 'mysql'), This name references the connections' name mysql below: 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite' 'database' => database_path('database.sqlite'), 'prefix' => '', ], 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost'), 'port' => env('DB_PORT'0 码力 | 216 页 | 1.58 MB | 1 年前3
The Laravel Handbook
setup needed. 22 Open the .env file, and instead of the default configuration DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD= add we did in the first one. We go to the .env file and comment those lines: 57 # DB_CONNECTION=mysql # DB_HOST=127.0.0.1 # DB_PORT=3306 # DB_DATABASE=laravel # DB_USERNAME=root # DB_PASSWORD= and0 码力 | 111 页 | 14.25 MB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
$twig->render("accueil.html", compact("titre", "personnes")); } Problème d’injection SQL. Effectuer des requêtes MySQL à la main ou devoir connaitre tous les champs crée beaucoup de redondance et de failles de sécurité0 码力 | 24 页 | 1.03 MB | 1 年前3
共 13 条
- 1
- 2













