Laravel Programming

Laravel 6 release update, Laravel Vapor, and more

After giving a brief on version 6 and the updated branding, Otwell showcased his new project named Laravel Vapor. Currently, developers use Forge for provisioning and deploying their PHP applications on DigitalOcean, Linode, AWS, and more. It provides painless Virtual Private Server (VPS) management. It is best suited for medium and small projects and performs well with basic load balancing.

However, it does lack a few features that could have been helpful for building bigger projects such as autoscaling. Also, developers have to worry about updating their operating systems and PHP versions. To address these limitations, Otwell created this deployment platform.

Here are some of the advantages Laravel Vapor comes with:

  • Better scalability: Otwell’s demo showed that it can handle over half a million requests with an average response time of 12 ms.
  • Facilitates collaboration: Vapor is built around teams. You can create as many teams as you require by just paying for one single plan.
  • Fine-grained control: It gives you fine-grained control over what each team member can do. You can set what all they can do across all the resources Vapor manages.
  • A “vanity URL” for different environments: Vapor gives you a staging domain, which you can access with what Otwell calls a “vanity URL.” It enables you to immediately access your applications with “a nice domain that you can share with your coworkers until you are ready to assign a custom domain,“ says Otwell.
  • Environment metrics: Vapor provides many environment metrics that give you an overview of an application environment. These metrics include how many HTTP requests have the application got in the last 24 hours, how many CLI invocations, what’s the average duration of those things, how much these cost on lambda, and more.
  • Logs: You can review and search your recent logs right from the Vapor UI. It also auto-updates when any new entry comes in the log.
  • Databases: With Vapor, you can provision two types of databases: fixed-sized database and serverless database. The fixed-sized database is the one where you have to pick its specifications like VCPU, RAM, etc. In the serverless one, however, if you do not select these specifications and it will automatically scale according to the demand.
  • Caches: You can create Redis clusters right from the Vapor UI with as many nodes as you want. It supports the creation and management of elastic Redis cache clusters, which can be scaled without experiencing any downtime. You can attach them to any of the team’s projects and use them with multiple projects at the same time.

To watch the entire demonstration by Otwell check out this video:

Related posts

Laravel Arrays & Objects helper


What's New in laravel 5.6


What's New in laravel 5.7


Leave a Comment