andersevenrud/laravel-1881

Laravel Service Provider for 1881
27
Install
composer require andersevenrud/laravel-1881
Latest Version:1.0.3
PHP:>=5.6.4
License:MIT
Last Updated:Jan 22, 2018
Links: GitHub  ·  Packagist
Maintainer: andersevenrud

Laravel Service Provider for 1881

Uses https://github.com/andersevenrud/1881 to set up a Service Provider for Laravel.

Installation

composer require andersevenrud/laravel-1881

Configuration

In Laravel 5.5 and up, the package will automatically register the service provider and facade.

In L5.4 or below start by registering the package's the service provider and facade:

// config/app.php

'providers' => [
    Laravel\DM1881\DM1881ServiceProvider::class,
],

'aliases' => [
  'DM1881' => Laravel\DM1881\Facades\DM1881::class
]

Then publish configurations:

$ php artisan vendor:publish --provider="Laravel\DM1881\DM1881ServiceProvider"

You now have config/dm1881.php.

Usage

use DM1881;

function something() {

  $result = DM1881::searchPerson('ola bull');

}

Changelog

  • 1.0.3 - Updated dependencies + added L5.5 auto discovery
  • 1.0.2 - Updated dependencies
  • 1.0.1 - Updated composer.json
  • 1.0.0 - Initial release

License

MIT

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440