mr-wolf-gb/laravel-update-creator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mr-wolf-gb/laravel-update-creator

最新稳定版本:v1.0.1

Composer 安装命令:

composer require mr-wolf-gb/laravel-update-creator

包简介

Laravel Update Creator is a Laravel package designed to streamline the process of creating update ZIP files for your Laravel projects. This tool identifies all files modified since a specified date, excludes unwanted directories and files, and generates a compressed ZIP file for distribution or depl

README 文档

README

Latest Version on Packagist Total Downloads

Laravel Update Creator is a Laravel package designed to streamline the process of creating update ZIP files for your Laravel projects. This tool identifies all files modified since a specified date, excludes unwanted directories and files, and generates a compressed ZIP file for distribution or deployment.

Features

  • Customizable Date Range : Specify a start date to include files modified after that point.
  • Version Control : Add version numbers to the generated updates for better tracking.
  • Exclude Directories : Automatically excludes common directories like vendor, node_modules, and others.
  • Temporary Cleanup : Ensures the temporary directories used during the process are cleaned up after ZIP creation.
  • Simple Configuration : Easily configure excluded directories and default behaviors via a configuration file.

Installation

  • Add the package to your Laravel project via Composer:
composer require mr-wolf-gb/laravel-update-creator
  • Publish the configuration file (Optional):
php artisan vendor:publish --tag=config --provider="MrWolfGb\LaravelUpdateCreator\LaravelUpdateCreatorServiceProvider"

Usage

// specify the date since the modified files to copy them into the update pack
php artisan update:create --d="2024-01-01" --v="1.2.0"
// or
php artisan update:create --d 2024-01-01 --v 1.2.0

//by default after creating the update zip file the copied temporary files will be deleted, to disable the deletion of temporary files use:
php artisan update:create --d="2024-01-01" --v="1.2.0" --c="false"
// or
php artisan update:create --d 2024-01-01 --v 1.2.0 --c false

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-11