Skip to content

davidgrzyb/deploy-laravel-on-vercel

Repository files navigation

Deploy Laravel on Vercel

This is a packaged version of Caleb Porzio's blog post detailing the process of deploying Laravel to serverless Vercel.

This package publishes the api/index.php, vercel.json & .vercelignore files required for deploying Laravel to Vercel. The PHP version can be changed by vercel-php runtime within the vercel.json file. The default version is 0.4.0.

Installation

You can install the package via composer as a dev dependency:

composer require davidgrzyb/deploy-laravel-on-vercel --dev

Publishing Assets

The installation command can be run to publish and republish the required files.

php artisan deploy-laravel-on-vercel:install

Once the assets have been published, the package can be removed.

composer remove davidgrzyb/deploy-laravel-on-vercel --dev

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email grzybdavid@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

About

A simple package for publishing assets required for Vercel deployment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages