Download the PHP package crovitche/swiss-geo-bundle without Composer

On this page you can find all versions of the php package crovitche/swiss-geo-bundle. 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 swiss-geo-bundle

SwissGeoBundle

SwissGeoBundle provide you a clean way to use swiss building addresses. If you have the following use cases, this bundle can be useful for you :

Technical requirements

SwissGeoBundle requires the following:

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

Then make sure the bundle is enabled in registered bundles in config/bundles.php if your application doesn't use Symfony Flex.

Getting started

Run the following commands and put them in a cron if you want your data to be updated regularly.

1. Configure your entity

2. Create a database migration.

To do this, you have to use DoctrineMigrationBundle.

Generate a migration using Maker bundle.

This command will automatically generate the SQL you in a migration php file.

Check the created migration and add this piece of code if it does not exist :

3. Execute the migration

4. Import data

Note: you can also run the following commands in a cron job so that your data is regularly updated.

4.1 Localities

4.2 Streets

4.3 Building addresses

4.4 Generate/update documents in Meilisearch


All versions of swiss-geo-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^2.13 || ^3.0
guzzlehttp/guzzle Version ^7.7
http-interop/http-factory-guzzle Version ^1.0
league/csv Version ^9.7
meilisearch/meilisearch-php Version ^1.5
symfony/cache Version ^6.4|^7.0
symfony/config Version ^6.4|^7.0
symfony/console Version ^6.4|^7.0
symfony/dependency-injection Version ^6.4|^7.0
symfony/filesystem Version ^6.4|^7.0
symfony/finder Version ^6.4|^7.0
symfony/http-client Version ^6.4|^7.0
symfony/http-foundation Version ^6.4|^7.0
symfony/form Version ^6.4|^7.0
symfony/monolog-bundle Version ^3.7
symfony/options-resolver Version ^6.4|^7.0
symfony/lock Version ^6.4|^7.0
symfony/yaml Version ^6.4|^7.0
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 crovitche/swiss-geo-bundle contains the following files

Loading the files please wait ....