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-ignoreAfter 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 initIgnore the specified file or directory.
Ignore the specified file or directory from the vendor directory.
- readme - Ignore the
readme.mdfile from thevendordirectory. - changelog - Ignore the
changelog.mdfile from thevendordirectory. - contributing - Ignore the
contributing.mdfile from thevendordirectory. - upgrade - Ignore the
upgrade.mdfile from thevendordirectory. - tests - Ignore the
testsdirectory from thevendordirectory. - security - Ignore the
security.mdfile from thevendordirectory. - license - Ignore the
license.mdfile from thevendordirectory. - laravel-idea - Ignore the
laravel-ideadirectory from thevendordirectory. - .github - Ignore the
.githubdirectory from thevendordirectory. - dotfiles - Ignore the dotfiles(
.editorconfig,.gitignore,.gitattributesand.php_cs.dist.php) from thevendordirectory.
composer testPlease 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.