serversideup/spin
Composer 安装命令:
composer require serversideup/spin
包简介
Replicate your production environment locally using Docker. Just run "spin up". It's really that easy.
README 文档
README
Introduction
Stop wasting time fixing production issues you've already solved. Spin is a bash utility that improves the user-experience for teams using Docker. Replicate any environment on any machine, regardless if they are running MacOS, Windows, or Linux. Centralize your infrastructure from a single configuration file using Docker.
Spin is a wrapper script that dramatically improves the developer experience when working with Docker. Spin uses officially supported features and best practices from Docker.
Features
Installation & Usage
Spin is flexible and able to be installed via:
Simple Install Command
bash -c "$(curl -fsSL https://raw.githubusercontent.com/serversideup/spin/main/tools/install.sh)"
Create a new project
Spin has spin new to create a new project with Spin installed, as well as spin init to add Spin to an existing project.
spin new laravel {{ your project name }}
Looking for more features?
We have a "Spin Pro Laravel Template" that includes more features for Laravel Pros:
| Feature | Spin Basic Laravel Template | Spin Pro Laravel Template |
|---|---|---|
| Price | Free | $199/once (lifetime access) |
| Automated Deployments with GitHub Actions | ❌ | ✅ |
| Local Development SSL | ❌ | ✅ (Trusted) |
| Tunnel Support | ❌ | ✅ |
| SMTP Trapping | ❌ | ✅ (Mailpit) |
| Vite over HTTPS | ❌ | ✅ |
| Databases | SQLite | ✅ MariaDB, MySQL, PostgreSQL, SQLite |
| Redis | ❌ | ✅ |
| Laravel Horizon | ❌ | ✅ |
| Laravel Reverb | ❌ | ✅ |
| Laravel Queues | ❌ | ✅ |
| Mailpit over HTTPS | ❌ | ✅ |
| Node Package Manager | yarn |
yarn or npm |
| Support | ✅ Discord, GitHub Discussions | ✅ Private Community Support |
If you're interested in the Pro version, you visit https://getspin.pro for more information.
How Spin Works
Spin serves as a collection of open source technologies, put together in one simple experience.
Spin uses these proven technologies
- Docker (Docker Desktop, Docker Compose, Docker Swarm Mode)
- Ansible
- Includes GitHub Actions templates (but can work with GitLab CI too)
We also use a number of our other open source projects in Spin
- Spin Ansible Collection - Used to provision and maintain your production server.
- serversideup/docker-build-action - A simplified syntax to build and publish your Docker images with GitHub Actions.
- serversideup/docker-swarm-deploy-github-action - A simplified syntax to deploy to Docker Swarm Mode via GitHub Actions.
- serversideup/php - PHP Docker images highly optimized to work with Laravel + Spin.
- serversideup/docker-ssh - A lightweight docker image that runs SSH. This is a fantastic method on using a secure SSH tunnel into your database cluster.
- serversideup/docker-ansible - A lightweight docker image that runs Ansible.
- serversideup/docker-github-cli - A lightweight docker image that runs GitHub CLI.
Resources
- Website overview of the product.
- Docs for a deep-dive on how to use the product.
- Discord for friendly support from the community and the team.
- GitHub for source code, bug reports, and project management.
- Get Professional Help - Get video + screen-sharing help directly from the core contributors.
Contributing
As an open-source project, we strive for transparency and collaboration in our development process. We greatly appreciate any contributions members of our community can provide. Whether you're fixing bugs, proposing features, improving documentation, or spreading awareness - your involvement strengthens the project. Please review our contribution guidelines and code of conduct to understand how we work together respectfully.
- Bug Report: If you're experiencing an issue while using these images, please create an issue.
- Feature Request: Make this project better by submitting a feature request.
- Documentation: Improve our documentation by submitting a documentation change.
- Community Support: Help others on GitHub Discussions or Discord.
- Security Report: Report critical security issues via our responsible disclosure policy.
Need help getting started? Join our Discord community and we'll help you out!
Our Sponsors
All of our software is free an open to the world. None of this can be brought to you without the financial backing of our sponsors.
Black Level Sponsors
Individual Supporters
About Us
We're Dan and Jay - a two person team with a passion for open source products. We created Server Side Up to help share what we learn.
| Dan Pastori | Jay Rogers |
|---|---|
Find us at:
- 📖 Blog - Get the latest guides and free courses on all things web/mobile development.
- 🙋 Community - Get friendly help from our community members.
- 🤵♂️ Get Professional Help - Get video + screen-sharing support from the core contributors.
- 💻 GitHub - Check out our other open source projects.
- 📫 Newsletter - Skip the algorithms and get quality content right to your inbox.
- 🐥 Twitter - You can also follow Dan and Jay.
- ❤️ Sponsor Us - Please consider sponsoring us so we can create more helpful resources.
Our products
If you appreciate this project, be sure to check out our other projects.
📚 Books
- The Ultimate Guide to Building APIs & SPAs: Build web & mobile apps from the same codebase.
- Building Multi-Platform Browser Extensions: Ship extensions to all browsers from the same codebase.
🛠️ Software-as-a-Service
- Bugflow: Get visual bug reports directly in GitHub, GitLab, and more.
- SelfHost Pro: Connect Stripe or Lemonsqueezy to a private docker registry for self-hosted apps.
🌍 Open Source
- serversideup/php Docker Images: PHP Docker images optimized for Laravel and running PHP applications in production.
- Financial Freedom: Open source alternative to Mint, YNAB, & Monarch Money.
- AmplitudeJS: Open-source HTML5 & JavaScript Web Audio Library.
serversideup/spin 适用场景与选型建议
serversideup/spin 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 71.31k 次下载、GitHub Stars 达 1.48k, 最近一次更新时间为 2021 年 11 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 serversideup/spin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 serversideup/spin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 71.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1483
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-11-10


