Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDevelop committed Jul 3, 2024
2 parents 2910ead + 72d04f3 commit 439fa10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
[![version](https://img.shields.io/badge/Version-1.1.5-brightgreen.svg)](https://github.com/SimonDevelop/sirene/releases/tag/1.1.5)
[![version](https://img.shields.io/badge/Version-1.1.6-brightgreen.svg)](https://github.com/SimonDevelop/sirene/releases/tag/1.1.6)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.3-8892BF.svg)](https://php.net/)
[![Github Actions PHP](https://github.com/SimonDevelop/sirene/workflows/PHP/badge.svg)](https://github.com/SimonDevelop/sirene/actions)
[![GitHub license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/SimonDevelop/sirene/blob/master/LICENSE)

# Sirene
Sirene est une librairie php vous permettant d'utiliser l'[API Sirene](https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=Sirene&version=V3&provider=insee) de l'insée via des fonctions pour facilité la recherche d'établissement.

## TODO
- [x] Informations du service
- [x] Recherche par siren
- [x] Recherche par siret
- [x] Recherche d'établissement via paramètres
- [x] Ville
- [x] Code Postal
- [x] Raison sociale
- [x] Sigle
- [x] Code APE
- [x] Catégorie Juridique
- [x] Système de pagination
- [x] Ordre d'affichage par champ

La [documentation](https://simondevelop.github.io/sirene/) est à votre disposition.

#### Go to contribute !
Expand Down
2 changes: 1 addition & 1 deletion src/Sirene.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Sirene
public function __construct(array $settings = [])
{
if (!empty($settings)) {
if(isset($settings['url_api']) && is_string($settings['url_api'])) {
if (isset($settings['url_api']) && is_string($settings['url_api'])) {
$this->urlApi = $settings['url_api'];
}
if (isset($settings["secret"]) && is_string($settings["secret"])) {
Expand Down

0 comments on commit 439fa10

Please sign in to comment.