laratusk

laratusk / larasvg

Public

A modern Laravel package for SVG conversion with multiple provider support. Convert SVG files to PNG, PDF, EPS, and more using a fluent API and Laravel's Process facade.

31
0
100% credibility
Found Feb 17, 2026 at 30 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PHP
AI Summary

A Laravel package providing a fluent interface to convert SVG files to PNG, PDF, EPS, and other formats using external command-line converters like Resvg, Inkscape, rsvg-convert, and CairoSVG.

How It Works

1
🔍 Discover LaraSVG

You're creating graphics for your website and need an easy way to turn vector drawings into images or print-ready files, so you find this helpful tool.

2
📦 Add to your project

You bring the tool into your web project with a simple addition that takes just moments.

3
🔧 Set up the tools

You run a friendly helper that checks your computer and prepares the drawing engines you need.

4
🎨 Pick your engine

Choose a speedy one for quick images, a powerful one for prints, or another lightweight option based on your needs.

5
📁 Load your drawing

You select your vector file and tell it the size, background, and output type you want.

6
Convert with ease

Everything chains together smoothly, transforming your drawing into the perfect image or document in seconds.

Enjoy the results

Your new files are crisp, ready to use on websites, in prints, or anywhere – reliable and battle-tested.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 30 to 31 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is larasvg?

Larasvg is a modern Laravel package that converts SVG files to PNG, PDF, EPS, PS, and more using a fluent API and facade. It handles inputs from local paths, Laravel disks like S3, or raw content, outputting to files, streams, or stdout for API responses. Built for PHP 8.2+ and Laravel 10-12, it solves on-the-fly SVG conversion without custom shell scripts.

Why is it gaining traction?

Multi-provider support lets you swap backends—Resvg for fast PNGs, Inkscape for EPS/PDF—via one method or config, avoiding single-tool limits. Fluent chaining for dimensions, backgrounds, and options feels Laravel-native, with filesystem integration and Process faking for tests. A setup command auto-detects and installs providers, plus battle-tested claims from 80M production conversions.

Who should use this?

Backend devs in modern Laravel apps using Inertia.js, generating thumbnails or PDFs from SVGs in APIs or dashboards. Print workflow teams converting to EPS/PS, or SaaS builders serving dynamic charts across formats without external services.

Verdict

Solid pick for Laravel SVG conversion needs—extensible API and docs make it production-ready despite low 30 stars and 1.0% credibility score. Maturity is early; validate providers in staging first.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.