PHPackages                             inigo-aldama/inmovilla-api-client-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. inigo-aldama/inmovilla-api-client-bundle

ActiveSymfony-bundle[API Development](/categories/api)

inigo-aldama/inmovilla-api-client-bundle
========================================

Symfony bundle to integrate Inmovilla API client

1.0.2(1y ago)0481MITPHPPHP ^7.4 || ^8.0

Since Dec 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/inigo-aldama/inmovilla-api-client-bundle)[ Packagist](https://packagist.org/packages/inigo-aldama/inmovilla-api-client-bundle)[ Docs](https://github.com/inigo-aldama/inmovilla-api-client-bundle)[ RSS](/packages/inigo-aldama-inmovilla-api-client-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (4)Versions (4)Used By (1)

Inmovilla API Client Bundle
===========================

[](#inmovilla-api-client-bundle)

![Latest Version](https://camo.githubusercontent.com/4f7e0d0b2eb3de8c977c19f21c7250bee9dcbaef07d742736035565ed3a1f2e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c7565)![PHP](https://camo.githubusercontent.com/39f74b306b25933f9e9dd63e6d2403f80b6496881143a3fcf48583a7e45f854b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e34253230253743253743253230253545382e302d626c7565)![Symfony](https://camo.githubusercontent.com/102901fa0f25fd3753297b3043a6ef6cf89cacfcff4539bdf9e1eef7e63ff653/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253545352e34253230253743253743253230253545362e302d677265656e)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)

`inmovilla-api-client-bundle` is a Symfony package designed to integrate and simplify the use of the [`inmovilla-api-client`](https://github.com/inigo-aldama/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
--------

[](#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
------------

[](#requirements)

- **PHP**: 7.4 or higher.
- **Symfony**: 5.4 or higher.
- **Composer**: For dependency management.

---

Installation
------------

[](#installation)

Install the package using Composer:

```
composer require inigo-aldama/inmovilla-api-client-bundle
```

Register the bundle automatically (Symfony Flex will handle it by default) or add it manually in `config/bundles.php`:

```
return [
    // Other bundles...
    Inmovilla\ApiClientBundle\InmovillaApiClientBundle::class => ['all' => true],
];
```

---

Configuration
-------------

[](#configuration)

Configure the API parameters in the `config/services.yaml` file or `.env`:

### YAML Configuration

[](#yaml-configuration)

Add the following parameters in `config/packages/inmovilla_api_client.yaml`:

```
inmovilla_api_client:
    api_url: "https://api.inmovilla.com/v1"
    domain: "your-domain.com"
    agency: "your-agency"
    password: "your-password"
    language: 1
```

### .env Configuration

[](#env-configuration)

Alternatively, use environment variables in `.env`:

```
INMOVILLA_API_URL="https://api.inmovilla.com/v1"
INMOVILLA_DOMAIN="example.com"
INMOVILLA_AGENCY="my-agency"
INMOVILLA_PASSWORD="my-password"
INMOVILLA_LANGUAGE=1
```

The `inmovilla.api_client_config` service will be created automatically with this configuration.

---

Usage
-----

[](#usage)

### Repository Injection

[](#repository-injection)

Repositories are ready to use in your services and controllers:

```
namespace App\Controller;

use Inmovilla\Repository\CiudadRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;

class MyController extends AbstractController
{
    private CiudadRepository $ciudadRepository;

    public function __construct(CiudadRepository $ciudadRepository)
    {
        $this->ciudadRepository = $ciudadRepository;
    }

    public function index()
    {
        $cities = $this->ciudadRepository->findAll();
        // Do something with the cities
    }
}
```

### Customizing Repositories

[](#customizing-repositories)

You can extend existing repositories to add specific logic:

```
namespace App\Repository;

use Inmovilla\Repository\PropiedadRepository;

class CustomPropertyRepository extends PropiedadRepository
{
    public function findWithGarage(): array
    {
        return $this->findBy(['garage' => true]);
    }
}
```

---

Available Services
------------------

[](#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
-------

[](#testing)

Run the tests to validate the bundle:

```
./vendor/bin/phpunit --testdox
```

---

Contribution
------------

[](#contribution)

1. Fork the repository.
2. Create a new branch (`git checkout -b feature/new-feature`).
3. Commit your changes (`git commit -m 'Add new feature'`).
4. Push to your branch (`git push origin feature/new-feature`).
5. Open a pull request.

---

License
-------

[](#license)

This project is licensed under the [MIT License](LICENSE).

---

Credits
-------

[](#credits)

- **Author**: Iñigo Aldama Gómez
- **Repository**: [inmovilla-api-client-bundle](https://github.com/inigo-aldama/inmovilla-api-client-bundle)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1c2f806934d07b68ec7bea2f69934dc3da8e8b90247b3a3ed1a29723f7ef4f6?d=identicon)[inigo-aldama](/maintainers/inigo-aldama)

---

Top Contributors

[![inigo-aldama](https://avatars.githubusercontent.com/u/139878746?v=4)](https://github.com/inigo-aldama "inigo-aldama (6 commits)")

---

Tags

api clientintegrationSymfony Bundlereal-estateinmovilla

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/inigo-aldama-inmovilla-api-client-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/inigo-aldama-inmovilla-api-client-bundle/health.svg)](https://phpackages.com/packages/inigo-aldama-inmovilla-api-client-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

66529.9k11](/packages/web-auth-webauthn-symfony-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11249.0k1](/packages/ecotone-symfony-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
