Download the PHP package jlchassaing/ezgeodatagouv without Composer

On this page you can find all versions of the php package jlchassaing/ezgeodatagouv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ezgeodatagouv

ezgeodatagouv

Latest Stable Version Total Downloads Latest Unstable Version License

eZ Geo Data Gouv project

This bundle has two usecases :

Contents will be imported in eZ Platform contents indexed by solr to help location proximiy search

installation

This release is ment to be installed on eZ Platform 2.5 and Symfony 3.4

This bundle uses eZ Platform and Code Rhapsodie eZ Dataflow Bundle

composer require jlchassaing/ezgeodatagouv

in AppKernel.php add

in routing.yml add the coderhapsody routing parameter

Create the new location content type

how to import data

Set a resource

Resouces are set in a config.yml file

The settings help set how the csv fields will be used. The ressoure name must be passed in option to the import script

The fields sections helps you add specific content_type fields. The key is the conten_type field identifier. the datatype is te content_type field datatype and value is the csv field name

running import

The import script alias is 'dtgi'

If you do not provide siteaccess parameter the default siteaccess will be used

The options to provide are :

Proximity search

The eZ Rest api has been extended with a query that returns proximity points

there are 4 ways to call the perform the request :

The default contentType is "location" and the default distance is 5

Remember to use the ezpublish api request prefix Adding the Accept: application/vnd.ez.api.ContentList+json header to your request will return a json formated response.

The query will return a maximum of 5 answers

Extending to add a custom import manager

The DataGouvImportLocationsDataFlowType class can be extended

This could be necessary to execute some changes on the csv data before creating content.

Create a custom class that extends DataGouvImportLocationsDataFlowType and add methods :

Once the class is created declare it as a service and add tag coderhapsodie.dataflow.type

Todos


All versions of ezgeodatagouv with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
ezsystems/ezplatform-kernel Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jlchassaing/ezgeodatagouv contains the following files

Loading the files please wait ....