pcual-mac / image-basekit-cli
Small CLI app that handles image storage to be used as part of a wider application. You can assume actual capture of the image happens elsewhere in the wider application and the local path to an image can simply be passed as input to the CLI app. The app should perform basic validation on the image
Fund package maintenance!
nunomaduro
owenvoke
Patreon
www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L
Requires
- php: ^7.3|^8.0
- illuminate/support: ^8.45
- intonate/tinker-zero: ^1.2
- laminas/laminas-text: ^2.8
- laravel-zero/framework: ^8.8
- league/flysystem-aws-s3-v3: ~1
- league/flysystem-sftp: ~1.0
Requires (Dev)
- mockery/mockery: ^1.4.3
- pestphp/pest: ^1.3
This package is auto-updated.
Last update: 2025-03-10 23:14:19 UTC
README
Transfer Files :
Use a config file to set which mimetype is allowed to be transferred## Installation
git clone https://github.com/pcualmac/image-Basekit-cli.git
Composer
composer install
Usage
php image-cli command:validation /var/www/vhosts/image-cli/public/download.jpeg
php image-cli command:delete /var/www/vhosts/image-cli/public/download.jpeg
php image-cli command:store /var/www/vhosts/image-cli/public/download.jpeg
php image-cli command:download /var/www/vhosts/image-cli/public/download.jpeg
List
- Install Laravel-zero
- Hello Word
- Add Config file
- Support Class
- Add Test
- Add queue. Transfer to s3 or ftp can be a slowly task
- Redfin command syntax. "more info from cliente is need."
php image-Basekit-cli command:download <source> <path> <destination> <path>
- Add Menu
- Excute Build
- Add to packagist