PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Bhavin Gajjar   Laravel Python   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Python
Execute scripts written in Python
Author: By
Last change:
Date: 1 month ago
Size: 1,796 bytes
 

Contents

Class file image Download

Run Python scripts inside your Laravel

Latest Version on Packagist Total Downloads GitHub Actions

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

You can install the package via composer:

composer require bhavingajjar/laravel-python

Publish Configuration File

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

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

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.