Thank you for considering contributing to SecureUpload! 🚀
We welcome contributions that make SecureUpload better, more reliable, and easier to use. Whether you're fixing bugs, improving documentation, or adding new features — you're awesome!
secure-upload/
├── bin/ # CLI scripts
├── src/ # Main source code
│ └── Cli\
│ └── Config\
│ └── Env\
│ └── FileTypes\
│ └── Interfaces\
│ └── Scripts\
│ └── Uploader\
├── lang/ # Language files
├── tests/ # Unit tests
├── .env.example # Example env configuration
├── composer.json # Composer package config
├── README.md # Main documentation
└── CONTRIBUTING.md # Contribution guidelines
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/SecureUpload.git
cd SecureUpload- Install dependencies:
composer install- (Optional) Run tests:
vendor/bin/phpunit- Run CLI command during development:
php bin/secure-upload test-upload --file=path/to/file.jpgIf you're installing SecureUpload in another project via:
composer require farzad-forouzanfar/secure-uploadThen the CLI command becomes available:
php vendor/bin/secure-upload test-upload --file=storage/test.pdfMake sure the autoload path is resolved properly in the CLI script using this pattern:
require_once __DIR__ . '/../../../autoload.php';- Create a branch:
git checkout -b fix/something-cool- Make your changes and commit:
git commit -m "Fix: add support for X"- Push and open a PR:
git push origin fix/something-cool- Open a pull request to the
mainbranch on GitHub.
We use PHPUnit for testing. You can run all tests with:
vendor/bin/phpunitFeel free to open an issue if you run into any problems or have questions. We appreciate your feedback!
Thanks again for contributing to SecureUpload. You make open source better!