PHPackages                             elielelie/laravel-sap - 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. elielelie/laravel-sap

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

elielelie/laravel-sap
=====================

SAP features integrated with Laravel.

v1.0.6(2mo ago)28611MITPHPPHP ^8.0CI passing

Since Apr 16Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/eliel-elie/laravel-sap)[ Packagist](https://packagist.org/packages/elielelie/laravel-sap)[ RSS](/packages/elielelie-laravel-sap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)DependenciesVersions (9)Used By (0)

Laravel SAP Driver
==================

[](#laravel-sap-driver)

> SAP features integrated with Laravel.

[![Maintainer](https://camo.githubusercontent.com/6c079128cc7507e8990023495418fd75b50b8114343968f141c541ddeccde47a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d456c69656c25323046657272656972612d696e666f726d6174696f6e616c)](https://camo.githubusercontent.com/6c079128cc7507e8990023495418fd75b50b8114343968f141c541ddeccde47a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d456c69656c25323046657272656972612d696e666f726d6174696f6e616c)[![PHP](https://camo.githubusercontent.com/eb2f4cd1e69f14198e30257d8c707635edd912e0694545819e3cc687eb8e80c8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d382e322d626c756576696f6c6574)](https://camo.githubusercontent.com/eb2f4cd1e69f14198e30257d8c707635edd912e0694545819e3cc687eb8e80c8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d382e322d626c756576696f6c6574)[![VERSION](https://camo.githubusercontent.com/216d3292727ef3879de55d42075dc2d7731d76655a2b2a5620c55919825cfcbe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d76312e302e362d626c7565)](https://camo.githubusercontent.com/216d3292727ef3879de55d42075dc2d7731d76655a2b2a5620c55919825cfcbe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d76312e302e362d626c7565)[![BUILD](https://camo.githubusercontent.com/2760f74cc5c4c9ce271d69f10f445c8d12b697a6e61cdd2856c6c39fb1caa624/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d706173732d73756363657373)](https://camo.githubusercontent.com/2760f74cc5c4c9ce271d69f10f445c8d12b697a6e61cdd2856c6c39fb1caa624/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d706173732d73756363657373)[![LICENSE](https://camo.githubusercontent.com/1fa72592562e90c36ed2785fc012af41a291c039166aa479a4efebe485ab7640/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d73756363657373)](https://camo.githubusercontent.com/1fa72592562e90c36ed2785fc012af41a291c039166aa479a4efebe485ab7640/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d73756363657373)

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

[](#installation)

Make sure you have the [php7-sapnwrfc](https://gkralik.github.io/php7-sapnwrfc/index.html) extension installed.

`composer require elielelie/laravel-sap`

To establish the connection with SAP, you need to add the following variables to your `.env` file:

```
SAP_HOST        Host
SAP_SYSTEM      System number
SAP_LANGUAGE    Language default
SAP_CLIENT      Client instance
SAP_USERNAME    Username
SAP_PASSWORD    Password

```

You can publish the configuration file and add new connections by running:

`$ php artisan vendor:publish --provider="Elielelie\Sap\SapServiceProvider" `

Usage
-----

[](#usage)

#### Connecting to SAP

[](#connecting-to-sap)

```
