Blog /

Product

Product December 21, 2020

Vapor: Amazon Linux 2 Runtimes Are Now Available

Amazon recently announced the second version of its operating system: Amazon Linux 2. Starting today, you may start using PHP on top of Amazon Linux 2 by updating the "runtime" configuration option in the "vapor.yml" file.

Nuno Maduro

Product December 16, 2020

Envoyer: Selectable Deployment Hooks

Envoyer's powerful deployment hook system allows you to create bespoke deployment plans for your projects. Envoy can install your dependencies and compile your assets or even interact with third-party APIs. Our customers use deployment hooks to create powerful, custom deployment solutions for their applications. Today we're introducing the ability to quickly disable certain hooks before deploying your project: ![](https://laravel-blog-assets.s3.amazonaws.com/faRlBwlE8Rq04PYRq4u84HYfFiSqZBnDygkLzJYl.png)Previously, this meant editing each of the hooks that you wanted to skip and disabling them on all servers. Now, you can select the hooks that should be skipped for a given deployment directly from the deployment confirmation window. The **Deploy Project** window will only show hooks that are active on at least one server. If a hook is checked, that hook will be run on its configured servers. If unchecked, the hook will not be run on any servers during the deployment. If you don’t have a [**Envoyer**](https://envoyer.io) account, now is a great time to sign up! Envoyer allows you to deploy with zero-downtime, so your sites remain available all of the time.

James Brooks

Product December 16, 2020

Vapor: Docker Based Deployments

One of the limitations of AWS Lambda is that the deployment size, including layers, must not exceed 250 MB. This is not ideal for large projects that have many composer dependencies. In addition, many people interested in Laravel Vapor would like to install additional PHP extensions that are not included in the native Vapor runtimes. Earlier this month, AWS announced [Container Image Support for Lambda functions](https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/). This allows developers to package and deploy Lambda functions as Docker container images of up to 10GB. Just weeks later, we're excited to introduce Docker based deployment support for Laravel Vapor. To get started, make sure you are running the latest versions of `laravel/vapor-core` and `laravel/vapor-cli` and then create a fresh Vapor environment: ```bash vapor env my-environment --docker ``` The `--docker` option will instruct Vapor to create a `my-environment.Dockerfile` file and set the `runtime` configuration option within this file to `docker`. By default, the `my-environment.Dockerfile` will look like the following: ```bash FROM laravelphp/vapor:php74 COPY . /var/task ``` If you have an existing environment that you would like to switch to docker based deployments, you'll need to update the `runtime` configuration in your `vapor.yml` file and set it to `docker`. After that, you need to create a `.Dockerfile` for the environment. Vapor offers several base images that are based on Alpine Linux - these images have many of the common libraries and PHP extensions installed by default. You can install additional PHP extensions or libraries by updating the environment's corresponding Dockerfile. For example, here's how you may install the FFmpeg library and the XML-RPC PHP extension: ```bash FROM laravelphp/vapor:php74 RUN apk --update add ffmpeg RUN docker-php-ext-install xmlrpc COPY . /var/task ``` Once you are ready to deploy, run the `vapor deploy my-environment` command and Vapor will build and publish the Docker image. In addition, Vapor will configure the underlying AWS Lambda function to use the image as its runtime. Of course, you should ensure that you have installed [Docker](https://docs.docker.com/get-docker/) on your local machine. With the introduction of Docker based deployments, you can now deploy larger applications to Laravel Vapor and easily install any extra libraries or PHP extensions that your projects may need. If you haven't tried Laravel Vapor, now is a great time to start deploying your application with infinite scale! You can create your account today at: [https://vapor.laravel.com](https://vapor.laravel.com)

Mohamed Said

Product December 7, 2020

Forge: Automatically Email Invoices

Beginning today, you may provide a list of email addresses that you would like to receive invoice PDFs when your Forge subscription successfully renews. This new feature is available on your "Profile > Subscription" dashboard.

Nuno Maduro

Product November 30, 2020

Forge: PHP 8.0 Is Now Supported

As you may know, Forge allows you to specify which PHP version a given site runs on. Of course, we want you to be able to use the latest PHP features as soon as possible. Beginning today, you may choose PHP 8.0 while creating a new server.

James Brooks

Product November 30, 2020

Forge: Database Management Improvements

One of Forge's killer features is that it can provision servers with your choice of database: MySQL, MariaDB or PostgreSQL. Once the server has provisioned you can then use Forge to: - Create new databases - Create new database users - Manage database users Whilst that was already a useful set of features we're excited to introduce **three** new features to the Database panel. Starting today, you can now: - Copy the **Database Connection URL** string into apps like [TablePlus](https://tableplus.com) to quickly connect to your database server. ![](https://laravel-blog-assets.s3.amazonaws.com/BLaFZVI5axjv2W7dq6AJrwC8uyT8EwGOFFQ3yU0x.png)- Sync databases into Forge that were created manually (outside of the Forge dashboard). ![](https://laravel-blog-assets.s3.amazonaws.com/RsDVKf7uZ8AaEs05A6mTl0VXsYyXVBsAoRaq2bHn.png)- Change existing database user passwords via the Edit Database User modal ![](https://laravel-blog-assets.s3.amazonaws.com/1pTfRq2ce1IfmbKgYIRygD4eVwrT69toLz61wVqq.png)These features make up part of our efforts towards improving every aspect of the Forge dashboard. If you don’t have a [Forge](https://forge.laravel.com/) account, now is a great time to sign up! Forge allows you to painlessly create and manage PHP servers which include MySQL, Redis, Memcached, database backups, and everything else you need to run robust, modern Laravel applications.

James Brooks

Product November 25, 2020

Vapor: PHP 8.0 Runtime Is Now Available

As you may know, Vapor allows you to specify which PHP version a given environment runs on. Of course, we want you to be able to use the latest PHP features as soon as possible. Beginning today, you may now specify "php-8.0" as your application's runtime.

Nuno Maduro

Showing 101 - 110 of 172 results

Stay connected with the latest Laravel news