ogrre/laravel-pole-emploi 问题修复 & 功能扩展

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

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

ogrre/laravel-pole-emploi

最新稳定版本:1.0.1

Composer 安装命令:

composer require ogrre/laravel-pole-emploi

包简介

Library to se pole emploi api

README 文档

README

Packagist Version GitHub License Packagist Downloads

Introduction

This documentation provides a detailed overview of the PoleEmploi Laravel Library, a PHP package for Laravel applications. It allows seamless integration with the French government's Pôle Emploi API to access extensive data on professions in France.

Requirements

  • PHP 7.4 or higher
  • Laravel 6.0 or higher

Installation:

To install the Laravel Pôle Emploi API library, run the following command:

composer require ogrre/laravel-pole-emploi

After the installation, publish the vendor files by executing the command:

php artisan vendor:publish --provider="Ogrre\\PoleEmploi\\PoleEmploiServiceProvider"

By default, the service provider will be automatically registered in the app.php file. However, if needed, you can manually add the service provider in the config/app.php file:

# config/app.php

'providers' => [
    // ...
    Ogrre\PoleEmploi\PoleEmploiServiceProvider::class,
];

Usage

The library provides various classes to interact with different aspects of the Pôle Emploi API.

PoleEmploi Client

Responsible for authenticating and communicating with the API.

use Namespace\Path\PoleEmploiClient;

$client = new PoleEmploiClient(/* configuration parameters */);
Metier (Profession)

Retrieves information about different professions.

use Namespace\Path\Metier;

$metier = new Metier($client);
$professionData = $metier->getProfessionInfo(/* parameters */);
Competence (Skill)

Handles data related to skills associated with various professions.

use Namespace\Path\Competence;

$competence = new Competence($client);
$skillData = $competence->getSkillInfo(/* parameters */);
Facade

Provides a simplified interface for common operations.

use Namespace\Path\PoleEmploiFacade;

$data = PoleEmploiFacade::get(/* parameters */);

Contributing

Contributions are welcome and will be fully credited. I accept contributions via Pull Requests on Github.

Support me

Buy Me A Coffee

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-08