lasserafn / laravel-economic
Economic REST wrapper for Laravel
Installs: 12 834
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 5
Forks: 10
Open Issues: 3
Requires
- php: >=7.3
- artisaninweb/laravel-soap: ^0.3
- guzzlehttp/guzzle: ^6.2|^7.0|^7.4
- illuminate/support: 8.*|9.*|10.*
- dev-master
- 4.1
- 4.0
- 3.2
- 3.1
- 3.0
- 2.8
- 2.7
- 2.6
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.83
- 2.0.82
- 2.0.81
- 2.0.80
- 2.0.71
- 2.0.70
- 2.0.69
- 2.0.62
- 2.0.61
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.9.0.0
- 0.8.05
- 0.8.04
- 0.8.03
- 0.8.0.2
- 0.8.0.1
- 0.8.0.0
- 0.7.9.9
- 0.7.9.8
- 0.7.9.7
- 0.7.9.5
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6.7
- 0.7.6.6
- 0.7.6.5
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.9.5
- 0.5.9
- 0.5.8.5
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- dev-stag
This package is auto-updated.
Last update: 2024-10-09 16:40:18 UTC
README
Installation
- Require using composer
composer require lasserafn/laravel-economic
In Laravel 5.5, and above, the package will auto-register the service provider. In Laravel 5.4 you must install this service provider.
- Add the EconomicServiceProvider to your
config/app.php
providers array.
<?php 'providers' => [ // ... \LasseRafn\Economic\EconomicServiceProvider::class, // ... ]
- Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="LasseRafn\Economic\EconomicServiceProvider"
Usage outside of Laravel
You can use this package without Laravel, but configuration files wont be used, so you must provide the keys to the class.
The wrapper uses the config()
method in the Economic class if no keys are provided. But if you remember to provide keys, it should never be called.
Otherwise register a global method for config
until there's a framework agnostic version (coming eventually)