atome-dev/laravel-facturation-pro-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

atome-dev/laravel-facturation-pro-api

Composer 安装命令:

composer require atome-dev/laravel-facturation-pro-api

包简介

Interface to facturation.pro API with Laravel

README 文档

README

About Facturation Pro Api for Laravel

This package can help you call facturation.pro API services.

It is not owned by the facturation.pro company. It works with the API set to https://facturation.dev.

This package may not be complete and may not work properly, so use it for EDUCATIONAL PURPOSES ONLY!

Beside this recommendation, I personally use it in real production so it should be stable but I cannot be responsible in any way for any malfunction.

Install

composer require atome-dev/laravel-facturation-pro-api

Export configuration file

php artisan vendor:publish --provider="AtomeDev\FacturationProApi\FacturationProApiServiceProvider" --tag="config"

Usage

/app/Http/Controllers/FacturationProController.php:

namespace App\Http\Controllers;

use AtomeDev\FacturationProApi\Facades\FacturationProApi;
use Illuminate\Http\Request;

class FacturationProController extends Controller
{
    public function index() {
        $infoApi = FacturationProApi::getApi('account', 'infos');
        $ret = FacturationProApi::callApi($infoApi);
        dump($ret);
    }
}

/routes/web.php:

Route::get('/facturation-pro', [FacturationProController::class, 'index']);

image

Livewire test form

If you have Livewire installed, you might be interested in this form to interact with the API. See the files in extra directory.

image

Declare the route file in app/Providers/RouteServiceProvider.php:

public function boot()
{
    $this->routes(function () {
        Route::middleware('web')
            ->namespace($this->namespace)
            ->group(base_path('routes/facturation-pro.php'));        
    });
}

image

Security Vulnerabilities

If you discover a security vulnerability within this package, please send me an e-mail via contact@atome-dev.fr. All security vulnerabilities will be promptly addressed.

License

Facturation Pro Api for Laravel is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固