PHPackages                             bhavingajjar/laravel-python - 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. bhavingajjar/laravel-python

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

bhavingajjar/laravel-python
===========================

Run Python scripts inside your Laravel

v1.0.1(2y ago)443121MITPHPPHP ^7.4|^8.0CI failing

Since Jul 21Pushed 2y ago2 watchersCompare

[ Source](https://github.com/bhavingajjar/laravel-python)[ Packagist](https://packagist.org/packages/bhavingajjar/laravel-python)[ Docs](https://github.com/bhavingajjar/laravel-python)[ RSS](/packages/bhavingajjar-laravel-python/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Run Python scripts inside your Laravel
======================================

[](#run-python-scripts-inside-your-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ec345835423ecaee64cde09c4330d4769d2103aac72eac8eac80359d47724fef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62686176696e67616a6a61722f6c61726176656c2d707974686f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bhavingajjar/laravel-python)[![Total Downloads](https://camo.githubusercontent.com/e806f7301ab8b2ecd67bf5399701868c0294628de25680bf1886678c55411970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62686176696e67616a6a61722f6c61726176656c2d707974686f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bhavingajjar/laravel-python)[![GitHub Actions](https://github.com/bhavingajjar/laravel-python/actions/workflows/main.yml/badge.svg)](https://github.com/bhavingajjar/laravel-python/actions/workflows/main.yml/badge.svg)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

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

[](#installation)

You can install the package via composer:

```
composer require bhavingajjar/laravel-python
```

Publish Configuration File
--------------------------

[](#publish-configuration-file)

```
php artisan vendor:publish --provider="Bhavingajjar\LaravelPython\LaravelPythonServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

Using Dependency injection

```
use Bhavingajjar\LaravelPython\LaravelPython;

$python = new LaravelPython();
$result = $python->run('hello.py');
```

Using Dependency injection

```
public function index(LaravelPython $python){
    $result = $python->run('hello.py');
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Bhavin Gajjar](https://github.com/bhavingajjar)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% 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 ~0 days

Total

2

Last Release

1068d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96c11ba3a54d8a709c884c7ba64d9e15286147554b2864a46224ed3e2f7e0510?d=identicon)[bhavingajjar](/maintainers/bhavingajjar)

---

Top Contributors

[![bhavingajjar](https://avatars.githubusercontent.com/u/11258397?v=4)](https://github.com/bhavingajjar "bhavingajjar (20 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

bhavingajjarlaravel-python

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bhavingajjar-laravel-python/health.svg)

```
[![Health](https://phpackages.com/badges/bhavingajjar-laravel-python/health.svg)](https://phpackages.com/packages/bhavingajjar-laravel-python)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M267](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M989](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M362](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)

PHPackages © 2026

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