ageekdev/vapor-ignore

To clean unnecessary files for Laravel Vapor deployment

v1.1.0 2024-04-02 18:53 UTC

This package is auto-updated.

Last update: 2024-04-24 03:20:04 UTC


README

Latest Version on Packagist Laravel 9.x Laravel 10.x Laravel 11.x Total Downloads

Vapor Ignore is a package that helps you to clean unnecessary files before deploying your Laravel application to Laravel Vapor.

Installation

You can install the package via composer:

composer require ageekdev/vapor-ignore

Getting Started

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

vapor-ignore.yml

ignore directive

Ignore the specified file or directory.

vendor directive

Ignore the specified file or directory from the vendor directory.

  • readme - Ignore the readme.md file from the vendor directory.
  • changelog - Ignore the changelog.md file from the vendor directory.
  • contributing - Ignore the contributing.md file from the vendor directory.
  • upgrade - Ignore the upgrade.md file from the vendor directory.
  • tests - Ignore the tests directory from the vendor directory.
  • security - Ignore the security.md file from the vendor directory.
  • license - Ignore the license.md file from the vendor directory.
  • laravel-idea - Ignore the laravel-idea directory from the vendor directory.
  • .github - Ignore the .github directory from the vendor directory.
  • dotfiles - Ignore the dotfiles(.editorconfig, .gitignore, .gitattributes and .php_cs.dist.php) from the vendor directory.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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