PHPackages                             lera/test\_image\_upload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. lera/test\_image\_upload

ActiveLibrary[File &amp; Storage](/categories/file-storage)

lera/test\_image\_upload
========================

A PHP images uploader.

01PHP

Since Feb 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ValeriyaGodlevskayaa/test-image-upload)[ Packagist](https://packagist.org/packages/lera/test_image_upload)[ RSS](/packages/lera-test-image-upload/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

:upload-image
=============

[](#upload-image)

Install
-------

[](#install)

Via Composer

```
$ composer require "lera/test_image_upload @dev"
```

Usage
-----

[](#usage)

```
$class = new lera\test_image_upload\ImageUploader;
$uploader = $class->getUploader();
$uploader->addUrl("link to image"); // если хотим добавить одну ссылку, вызываем метод addUrl,
 если несколько сразу, вызываем метод addUrls();
$uploader->addUrls(["linkOne", "linkTwo"]);
//для удаления ссылки из списка
$uploader->removeUrl("linkOne");
//получить список ссылок
$uploader->getUrls();

//создание папки для загрузки картинок
$uploader->createDir('uploads', $_SERVER['DOCUMENT_ROOT'])
//второй параметр не обязательный, полный путь к корневой папке
$uploader->setDirPath($_SERVER['DOCUMENT_ROOT'].'/'.'uploads')//указываем в каккую папку грузить картинки
$uploader->getDirPath()//получаем путь к папке с загруженами картинками
$uploader->getErrors()//вызываем для вывода ошибок
$uploader->saveImages()//сохраняем картинки в папку
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bcd7659cd02b4e760d8d2c2edc3d330475cf07104c744bbe97779164b461ada?d=identicon)[ValeriyaGodlevskayaa](/maintainers/ValeriyaGodlevskayaa)

---

Top Contributors

[![ValeriyaGodlevskayaa](https://avatars.githubusercontent.com/u/20473093?v=4)](https://github.com/ValeriyaGodlevskayaa "ValeriyaGodlevskayaa (4 commits)")

### Embed Badge

![Health badge](/badges/lera-test-image-upload/health.svg)

```
[![Health](https://phpackages.com/badges/lera-test-image-upload/health.svg)](https://phpackages.com/packages/lera-test-image-upload)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
