Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasibomi/phps3cli
Command line support for S3 for PHP projects.
https://github.com/hasibomi/phps3cli
aws-s3 cli php php-library
Last synced: 27 days ago
JSON representation
Command line support for S3 for PHP projects.
- Host: GitHub
- URL: https://github.com/hasibomi/phps3cli
- Owner: hasibomi
- Created: 2017-09-12T12:13:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T11:49:29.000Z (over 7 years ago)
- Last Synced: 2024-04-24T08:51:18.408Z (8 months ago)
- Topics: aws-s3, cli, php, php-library
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## phps3cli
Command line support for S3 for PHP projects. It reads configurations from the `.env` file.## Features
1. Upload to S3 bucket(More features are coming)
## Requirements
You have to place your configurations in the `.env` file. The `.env` must be placed in the project root.## Example of `.env` file
`S3_REGION=region``S3_VERSION=latest`
`AWS_ACCESS_KEY_ID=access-key-id`
`AWS_SECRET_ACCESS_KEY=secret-access-key`
## Installation
You can install via composer. Just type `composer require hasibomi/phps3cli` in your terminal & you are good to go.## Usage
1. `vendor/bin/phps3cli` to get the list of commands
2. `vendor/bin/phps3cli upload --bucket=bucket_name --dir=local_directory`