On-Demand Site Provisions
with all setup you need
The Laravel Forge has been my go-to tool since 2021. Along with great support for Laravel projects, it's super easy to set up and run. Harbor lets you use Forge's powerful API to automate site provisioning with all of your custom setup, letting your QA team easily take a URL to test new changes and remove the site when QA is done. We use it for our Laravel and Nuxt.js (SSR) projects.
Simplifying Deployment with Laravel Forge
Seamless Forge Integration
Harbor makes creating and configuring sites on Laravel Forge a breeze. Interacting seamlessly with your Forge account via the Forge API token.
Ready For Laravel & Nuxt.js
Harbor handles all the necessary steps to deploy your projects, whether it's a Laravel application or a Nuxt.js frontend. Enjoy automated deployment workflows tailored to your specific project needs.
Customizable Deployment Workflows
Customize deployment workflows with ease. From Nginx templates to SSL-enabled subdomains, Harbor puts you in control of your deployment environment.
Environment Keys Automated
Harbor simplifies the process of passing environment keys securely to your Forge site. So you don't need to add them manually after you deployed your project.
Flexible Deployment Scripts
Harbor allows you to define custom deploy scripts tailored to your project's unique requirements.
Post-Deployment Actions
After deploying with Harbor, effortlessly run commands, or enable the task scheduler.
Deploy Faster with Harbor 🚀
How Harbor Works: A Quick and Easy Guide!
Meet John 👨🏻💻
Meet John, our efficient developer ready to deploy changes seamlessly using Harbor. Let's take a look at how John can make the deployment process a happy and fast experience!
Connect Forge Server
John grabs the Forge API Token and Server ID from his Forge account. This information is essential for Harbor to communicate with the Forge server.
Setup GitHub Action Workflow
John sets up a GitHub Action Workflow to trigger the Harbor CLI either manually or automatically when a pull request is created. This ensures a streamlined deployment process.
Run Harbor
With everything in place, John simply triggers Harbor from the pull request. Harbor takes charge, effortlessly setting up a new site on Forge with the latest changes.
Site Is Ready For QA
John receives the site link and is ready to kick off QA for the new changes. Once QA is complete and the pull request is merged, the site gracefully goes down, ensuring a clean and efficient deployment cycle.
FAQs
Can I use Harbor for different project types?
Absolutely! Harbor is versatile and supports the automated deployment of various project types, including Laravel applications and Nuxt.js with support for SSR.
Its flexibility allows you to adapt deployment workflows to the specific needs of your projects.
Is Harbor secure for handling environment keys?
Yes, Harbor prioritizes security. While it doesn't make environment keys secure by itself, it recommends using GitHub Actions secrets to securely pass sensitive information to your Forge site during deployment.
Can I define post-deployment tasks with Harbor?
Certainly! Harbor allows you to define custom commands to run after the deployment, as well as enabling task scheduler for your Laravel projects.
You can automate post-deployment tasks, such as database migrations or cache clearing, ensuring your applications run smoothly without manual intervention.
Can I use Harbor with other Git providers such as GitLab?
While Harbor is primarily used with GitHub Actions, it can be utilized with any Git provider that is supported by Laravel Forge.
Simply set up your deployment workflows accordingly to accommodate your preferred Git provider.
Can I use Harbor locally to provision a site?
Yes, Harbor can be used locally to provision a site. You can install Harbor on your local machine and utilize its functionalities to provision a Forge site, deploy the project, and teardown a site directly from your command line interface.
Can I use Harbor for project demos?
Absolutely! Harbor is your go-to for setting up quick project demos. Show off your features or share your work hassle-free.
Harbor takes care of the nitty-gritty like server setup and deployment workflows, so you can focus on wowing your audience.