PHPackages                             lvlup-dev/screenshot-api-laravel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lvlup-dev/screenshot-api-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lvlup-dev/screenshot-api-laravel
================================

Uses screenshotapi.net to easily fetch screenshots from urls.

v1.0.0(3y ago)0442MITPHP

Since Sep 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lvlup-dev/screenshot-api-laravel)[ Packagist](https://packagist.org/packages/lvlup-dev/screenshot-api-laravel)[ RSS](/packages/lvlup-dev-screenshot-api-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ScreenshotApi
=============

[](#screenshotapi)

This package uses  to easily fetch screenshots from urls.

Installation
------------

[](#installation)

`composer require lvlup-dev/screenshot-api-laravel`

Then edit your .env file to include your screenshotapi.net api key: `SCREENSHOT_API_KEY="[YOUR_API_KEY_HERE]"`

Usage
-----

[](#usage)

```
ScreenshotApiService::fetch($url, $destinationFilePath);
```

The file format will be determined by the extension of the destination file path.

Parameters:

- (mandatory) url : the URL to fetch
- (mandatory) destinationFilePath : the path where the screenshot will be saved
- storageDisk : the storage disk to use when saving the file. Defaults to 'local'
- width : the width of the screenshot. Defaults to 1920
- height : the height of the screenshot. Defaults to 1080

If you wish to change the default values, you can publish the package's config file and edit the values there:

`php artisan vendor:publish --provider="LvlupDev\ScreenshotApiLaravel\ScreenshotApiServiceProvider" --tag="config"`

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

Limited Warranty
----------------

[](#limited-warranty)

We are not affiliated in any way with the team from screenshotapi.net

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91f10f8dfd1c4cad561f5c61e01b91f0820c2d08e9c67c8d092b8613bf40752b?d=identicon)[dsampaolo](/maintainers/dsampaolo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lvlup-dev-screenshot-api-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/lvlup-dev-screenshot-api-laravel/health.svg)](https://phpackages.com/packages/lvlup-dev-screenshot-api-laravel)
```

###  Alternatives

[bazilio/yii2-stubs-generator

Yii2 component stubs generator for Yii::$app

146720.4k1](/packages/bazilio-yii2-stubs-generator)[imanghafoori/php-search-replace

Smart search replace functionality for php source code

32496.5k3](/packages/imanghafoori-php-search-replace)[marabesi/laration

Easy package to list all variables in a Laravel application

4738.7k](/packages/marabesi-laration)

PHPackages © 2026

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