mridhulka / laravel-vercel
Publish assets required for deploying laravel on vercel.
v1.2.0
2023-06-07 19:39 UTC
Requires
- php: ^8.1
- laravel/framework: ^9.0|^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.14
- nunomaduro/larastan: ^2.4
- orchestra/testbench: ^7.21
- pestphp/pest: ^1.22
- phpunit/phpunit: ^9.6
README
Publish assets for Laravel deployment on Vercel
Installation
Require this package with composer. It is recommended to only require the package as a dev dependency.
composer require mridhulka/laravel-vercel --dev
Publish the assets
php artisan vercel:install
Answer all prompts to confirm the publishing of assets and also for customizing serverless functions.
Testing
You can run the tests with:
./vendor/bin/pest
More info
Customizing serverless functions - Vercel
License
The MIT License (MIT). Please see License File for more information.