PHPackages                             zalanihir/image-service - 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. [Image &amp; Media](/categories/media)
4. /
5. zalanihir/image-service

ActiveLibrary[Image &amp; Media](/categories/media)

zalanihir/image-service
=======================

Laravel library for images to convert extenstion

v1.0.0(2y ago)28MITPHP

Since May 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ZalaNihir/image-service)[ Packagist](https://packagist.org/packages/zalanihir/image-service)[ RSS](/packages/zalanihir-image-service/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

```
imageService = $imageService;
    }

    public function upload(Request $request)
    {
        // Example usage of ImageService
        $image = $request->file('image');
        $uniqueSlug = 'example'; // Generate unique slug
        $type = 'slider'; // Example type
        $path = 'uploads'; // Example path
        $extension = 'webp'; // Example extension

        $filename = $this->imageService->convert($image, $uniqueSlug, $type, $path, $extension);

        if ($filename) {
            // Image converted successfully
            return response()->json(['success' => true, 'filename' => $filename]);
        } else {
            // Handle conversion failure
            return response()->json(['success' => false, 'message' => 'Failed to convert image.']);
        }
    }
}
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fee93ef85616535d5f500cc9b43be18571e696bd0e2535a49fe849037204363?d=identicon)[ZalaNihir](/maintainers/ZalaNihir)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zalanihir-image-service/health.svg)

```
[![Health](https://phpackages.com/badges/zalanihir-image-service/health.svg)](https://phpackages.com/packages/zalanihir-image-service)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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