Manage your servers with freedom and control. Learn more about the new Forge
Blog /

Product

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

Product November 24, 2020

Forge: Streaming Backups & More

Since launching Forge's Database Backup feature [back in February](https://blog.laravel.com/forge-database-backups-now-supported), our customers have created thousands of backup configurations, which have made hundreds of thousands of backups and counting. In June, [we extended the backup providers](https://blog.laravel.com/forge-custom-backup-providers) to support any S3-compatible host, which means you can bring your favorite provider such as MinIO, Linode Objects, Backblaze, and more. Today, we're pleased to announce a big improvement to database backups including **streaming backups directly to your backup provider**. By streaming your database backups to your backup provider, the backup files themselves never consume disk space on your server. Database streaming will only affect newly created backup configurations, and existing configurations will continue to work as they have in the past. If you would like to take advantage of this feature, you may delete and recreate your database backup configuration within the Forge dashboard. Forge is also now able to report on "Partial" backups. A partial backup may occur when you've configured your backup to run on two or more databases, but not all databases were able to be backed up successfully. Partial backups will halt the remainder of the backup process. ![](https://laravel-blog-assets.s3.amazonaws.com/wekernxxs6aROScTZpz7kPYcWLdRXUcwWZ6gwBri.png)To provide these improvements, we had to make some key changes to how backups run, including: - Each database is backed up into its own `.sql.gz` archive, rather than all databases being archived into one file. This results in faster restores as we no longer need to extract the selected database dump first. - We now include the `CREATE DATABASE` and `USE` statements for each database that is backed up. The Forge database backup code is open-source at: [https://github.com/laravel/forge-database-backups](https://github.com/laravel/forge-database-backups) 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 20, 2020

Forge: New AWS ARM Instance Types Available

Starting today, you can provision T4g AWS servers using Laravel Forge. These instance types are powered by AWS Graviton2, a processor built by AWS using 64-bit ARM cores. These instance types provide a performance benefit of [up to 40% at a 20% lower cost](https://aws.amazon.com/blogs/aws/new-t4g-instances-burstable-performance-powered-by-aws-graviton2/) in comparison to T3 instances. T4g instances are available in US East (N. Virginia, Ohio), US West (Oregon), Asia Pacific (Tokyo, Mumbai), and Europe (Frankfurt, Ireland). 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.

Mohamed Said

Showing 101 - 110 of 167 results

Stay connected with the latest Laravel news