Vapor Ignore is a package that helps you to clean unnecessary files before deploying your Laravel application to Laravel Vapor.
You can install the package via composer:
composer require ageekdev/vapor-ignore
After installing the package, you can run the following command to initialize. This command will create a vapor-ignore.yml
file in the root of your project.
php ./vendor/bin/vapor-ignore init
Ignore the specified file or directory.
Ignore the specified file or directory from the vendor
directory.
- readme - Ignore the
readme.md
file from thevendor
directory. - changelog - Ignore the
changelog.md
file from thevendor
directory. - contributing - Ignore the
contributing.md
file from thevendor
directory. - upgrade - Ignore the
upgrade.md
file from thevendor
directory. - tests - Ignore the
tests
directory from thevendor
directory. - security - Ignore the
security.md
file from thevendor
directory. - license - Ignore the
license.md
file from thevendor
directory. - laravel-idea - Ignore the
laravel-idea
directory from thevendor
directory. - .github - Ignore the
.github
directory from thevendor
directory. - dotfiles - Ignore the dotfiles(
.editorconfig
,.gitignore
,.gitattributes
and.php_cs.dist.php
) from thevendor
directory.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.