PHPackages                             palpalani/page-source-sidecar - 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. palpalani/page-source-sidecar

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

palpalani/page-source-sidecar
=============================

Get source content of any given url using Laravel Sidecar

v0.0.6(2y ago)077[3 PRs](https://github.com/palpalani/page-source-sidecar/pulls)MITJavaScriptPHP ^8.1

Since Sep 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/palpalani/page-source-sidecar)[ Packagist](https://packagist.org/packages/palpalani/page-source-sidecar)[ Docs](https://github.com/palpalani/page-source-sidecar)[ RSS](/packages/palpalani-page-source-sidecar/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (13)Versions (10)Used By (0)

Page Source Sidecar
===================

[](#page-source-sidecar)

[![Latest Version on Packagist](https://camo.githubusercontent.com/391c28bff3558a37eca4a6647c9f91abbd586e02aa0e62b9682a2bb4524e3002/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70616c70616c616e692f706167652d736f757263652d736964656361722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/palpalani/page-source-sidecar)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ef095c2c4a77677dc21e1058d74cac5330035763235a451c6c93472c57b20510/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70616c70616c616e692f706167652d736f757263652d736964656361722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/palpalani/page-source-sidecar/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/6908d73d50f75ebfc8ed51463ba7730b75fa14ef6df0605742b634af09e2138b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70616c70616c616e692f706167652d736f757263652d736964656361722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/palpalani/page-source-sidecar/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d472337ff1126ee274b897f1d57a3cc01092fe8a8ae20602ec6218dc854aee42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70616c70616c616e692f706167652d736f757263652d736964656361722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/palpalani/page-source-sidecar)

Get the Html source content of any given url using Laravel Sidecar.

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

[](#installation)

You can install the package via composer:

Register the `PageSourceFunction` in your `sidecar.php` config file.

```
/*
 * All of your function classes that you'd like to deploy go here.
 */
'functions' => [
    \Palpalani\PageSource\PageSourceFunction::class,
],
```

Deploy the Lambda function by running:

```
php artisan sidecar:deploy --activate

```

See the [Sidecar documentation](https://hammerstone.dev/sidecar/docs/main/functions/deploying) for details.

```
composer require palpalani/page-source-sidecar
```

Usage
-----

[](#usage)

```
use Palpalani\PageSource\PageSourceFunction;

echo PageSourceFunction::execute([
        'url' => 'https://targetbay.com',
        'options' => '',
    ])->body();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [palPalani](https://github.com/palpalani)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.3% 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

Every ~2 days

Total

6

Last Release

964d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/716695?v=4)[Palaniappan P](/maintainers/palpalani)[@palpalani](https://github.com/palpalani)

---

Top Contributors

[![palpalani](https://avatars.githubusercontent.com/u/716695?v=4)](https://github.com/palpalani "palpalani (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelsidecarpalpalanipage-source-sidecar

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/palpalani-page-source-sidecar/health.svg)

```
[![Health](https://phpackages.com/badges/palpalani-page-source-sidecar/health.svg)](https://phpackages.com/packages/palpalani-page-source-sidecar)
```

###  Alternatives

[wnx/sidecar-browsershot

A Sidecar function to run Browsershot on Lambda.

2331.5M5](/packages/wnx-sidecar-browsershot)[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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