Download the PHP package inigo-aldama/inmovilla-api-client-bundle without Composer
On this page you can find all versions of the php package inigo-aldama/inmovilla-api-client-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inigo-aldama/inmovilla-api-client-bundle
More information about inigo-aldama/inmovilla-api-client-bundle
Files in inigo-aldama/inmovilla-api-client-bundle
Package inmovilla-api-client-bundle
Short Description Symfony bundle to integrate Inmovilla API client
License MIT
Homepage https://github.com/inigo-aldama/inmovilla-api-client-bundle
Informations about the package inmovilla-api-client-bundle
Inmovilla API Client Bundle
[]()
[
]()
[
]()
inmovilla-api-client-bundle
is a Symfony package designed to integrate and simplify the use of the inmovilla-api-client
library within Symfony applications. It provides simplified configuration and pre-configured services to interact with the Inmovilla API.
Note: This project is not affiliated with Inmovilla.
Features
- Direct integration with
inmovilla-api-client
. - Simplified configuration through Symfony configuration files.
- Ready-to-use dependency injection for services and controllers.
- Predefined repositories for entities like cities, zones, and properties.
Requirements
- PHP: 7.4 or higher.
- Symfony: 5.4 or higher.
- Composer: For dependency management.
Installation
Install the package using Composer:
Register the bundle automatically (Symfony Flex will handle it by default) or add it manually in config/bundles.php
:
Configuration
Configure the API parameters in the config/services.yaml
file or .env
:
YAML Configuration
Add the following parameters in config/packages/inmovilla_api_client.yaml
:
.env Configuration
Alternatively, use environment variables in .env
:
The inmovilla.api_client_config
service will be created automatically with this configuration.
Usage
Repository Injection
Repositories are ready to use in your services and controllers:
Customizing Repositories
You can extend existing repositories to add specific logic:
Available Services
The following services are available in the container:
Inmovilla\ApiClient\ApiClientInterface
: Main API client.Inmovilla\Repository\CiudadRepository
: Repository for cities.Inmovilla\Repository\ZonaRepository
: Repository for zones.Inmovilla\Repository\PropiedadRepository
: Repository for properties.Inmovilla\Repository\PropiedadFichaRepository
: Repository for property details.
Testing
Run the tests to validate the bundle:
Contribution
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to your branch (
git push origin feature/new-feature
). - Open a pull request.
License
This project is licensed under the MIT License.
Credits
- Author: Iñigo Aldama Gómez
- Repository: inmovilla-api-client-bundle
All versions of inmovilla-api-client-bundle with dependencies
inigo-aldama/inmovilla-api-client Version ^1.0
symfony/framework-bundle Version ^5.4 || ^6.0