laravel/homestead
最新稳定版本:v15.0.3
Composer 安装命令:
composer require laravel/homestead
包简介
A virtual machine for web artisans.
README 文档
README
Introduction
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, or any other server software on your local machine. No more worrying about messing up your operating system! Vagrant boxes are completely disposable. If something goes wrong, you can destroy and re-create the box in minutes!
Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP, MySQL, Postgres, Redis, Memcached, Node, and all of the other goodies you need to develop amazing Laravel applications.
Official documentation is located here.
Components
Homestead is made up of 2 different projects. The first is this repo which is the Homestead application itself. The application is a wrapper around Vagrant which is an API consumer of a virtualization hypervisor, or provider such as Virtualbox, Hyper-V, VMware, Or Parallels. The second part of Homestead is Settler, which is essentially JSON & Bash scripts to turn a minimalistic Ubuntu OS into what we call Homestead base box. Homestead and Settler (AKA Homestead Base / Base Box) combined give you the Homestead development environment.
When you run
vagrant upfor the first time Vagrant will download the large base box from Vagrant cloud. The base box is the output from Settler. The base box will be stored at~/.vagrant.d/and copied to the folder you ran vagrant up command from in a hidden folder named.vagrant. This is what allows vagrant to create a VM and destroy it quickly and without having to download the large base box again.
Current versions
| Ubuntu LTS | Settler Version | Homestead Version | Branch | Status |
|---|---|---|---|---|
| 22.04 | 14.x | 15.x | main |
Development/Unstable |
| 22.04 | 14.x | 15.x | release |
Stable |
Developing Homestead
To keep any in-development changes separate from other Homestead installations, create a new project and install Homestead from composer, forcing it to use a git checkout.
$ mkdir homestead && \
cd homestead && \
composer require --prefer-source laravel/homestead:dev-main
After it's complete, vendor/laravel/homestead will be a git checkout and can be used normally.
laravel/homestead 适用场景与选型建议
laravel/homestead 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 8.06M 次下载、GitHub Stars 达 3.87k, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 laravel/homestead 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravel/homestead 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8.06M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3898
- 点击次数: 36
- 依赖项目数: 60
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04