Skip to content

theplanworks/laravel-sagemaker

Repository files navigation

Interface with AWS Sagemaker Instances from your Laravel App

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads


AWS Sagemaker is a powerful platform to both train and run Machine Learning models. This package allows you to easily integrate Sagemaker endpoints into your Laravel 8+ Applications.

Installation

You can install the package via composer:

composer require theplan/laravel-sagemaker

You can publish the config file with:

php artisan vendor:publish --tag="laravel-sagemaker-config"

This is the contents of the published config file:

return [
];

Usage

$result = LaravelSagemaker::make()->forEndpoint('my-endpoint-name')
                          ->body($body)
                          ->async()
                          ->contentType('application/json')
                          ->invoke();

echo $result->get('predictions');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

About

Interface with AWS Sagemaker Instances from your Laravel App

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages