Skip to content

Commit 57c6cd9

Browse files
Add Builder
A builder for parsing and retriving the GPS (lat, lng) from the INSEE data has been added.
1 parent 4f5685f commit 57c6cd9

File tree

153 files changed

+96730
-108777
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+96730
-108777
lines changed

.env.example

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
APP_NAME="French-zip-code"
2+
APP_ENV=local
3+
APP_KEY=some_key_in_base64
4+
APP_DEBUG=false
5+
APP_LOG_LEVEL=debug
6+
APP_URL=http://localhost
7+
8+
DB_CONNECTION=mysql
9+
DB_HOST=mysql
10+
DB_PORT=3306
11+
DB_DATABASE=frenchzipcode
12+
DB_USERNAME=frenchzipcode
13+
DB_PASSWORD=frenchzipcode
14+
15+
BROADCAST_DRIVER=null
16+
CACHE_DRIVER=file
17+
SESSION_COOKIE=frenchzipcode
18+
SESSION_DRIVER=file
19+
SESSION_LIFETIME=120
20+
SESSION_SECURE_COOKIE=true
21+
QUEUE_DRIVER=sync
22+
23+
GOOGLE_MAPS_KEY=ADD_YOUR_SERVICE_KEY_HERE
24+
COM_URI="https://www.insee.fr/fr/information/2028040"

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/node_modules
2+
/public/css/*
3+
/public/js/*
4+
/public/fonts/*
5+
/public/mix-*
6+
/public/hot
7+
/public/storage
8+
/storage/*.key
9+
/vendor
10+
/.idea
11+
/.vagrant
12+
Homestead.json
13+
Homestead.yaml
14+
npm-debug.log
15+
yarn-error.log
16+
.env

.php_cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
$finder = PhpCsFixer\Finder::create()
3+
->notPath('bootstrap/cache')
4+
->notPath('node_modules')
5+
->notPath('storage')
6+
->notPath('vendor')
7+
->in(__DIR__)
8+
->name('*.php')
9+
->notName('*.blade.php')
10+
->ignoreDotFiles(true)
11+
->ignoreVCS(true)
12+
;
13+
14+
return PhpCsFixer\Config::create()
15+
->setRules([
16+
'@Symfony' => true,
17+
'binary_operator_spaces' => [
18+
'align_double_arrow' => true
19+
],
20+
'array_syntax' => [
21+
'syntax' => 'short'
22+
],
23+
'linebreak_after_opening_tag' => true,
24+
'not_operator_with_successor_space' => true,
25+
'ordered_imports' => true,
26+
'phpdoc_order' => true,
27+
])
28+
->setFinder($finder)
29+
;

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.0] - 2018-06-19
8+
Changement intégrale des données d'origine, de la méthodologie de récupération ainsi que de la structure des données.
9+
Consultez le README.md pour plus d'informations.
10+
11+
:warning: Compatibilité avec les versions inférieures non assuré.
12+
13+
------------
14+
715
## [1.3.1] - 2018-05-29
816
### Changed
917
- Fixing the typographic department of _Haute-Savoie_ missing the **e** for _Haute_

CSV/cities.csv

Lines changed: 0 additions & 36115 deletions
This file was deleted.

CSV/departments.csv

Lines changed: 0 additions & 109 deletions
This file was deleted.

CSV/regions.csv

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)