Package Data | |
---|---|
Maintainer Username: | andersevenrud |
Maintainer Contact: | andersevenrud@gmail.com (Anders Evenrud) |
Package Create Date: | 2017-06-23 |
Package Last Update: | 2018-01-22 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:01:12 |
Package Statistics | |
---|---|
Total Downloads: | 26 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Uses https://github.com/andersevenrud/1881 to set up a Service Provider for Laravel.
composer require andersevenrud/laravel-1881
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
.
use DM1881;
function something() {
$result = DM1881::searchPerson('ola bull');
}
MIT