Download the PHP package inigo-aldama/inmovilla-api-client without Composer

On this page you can find all versions of the php package inigo-aldama/inmovilla-api-client. 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 inmovilla-api-client

Inmovilla API Client (Unofficial)

[Latest Version]() [PHP]()

inmovilla-api-client is a PHP library that provides an interface for interacting with the Inmovilla real estate API. It simplifies requests, pagination, and data handling, allowing developers to focus on building applications.

Note: This project is not affiliated with, endorsed by, or maintained by Inmovilla.


Features


Requirements


Installation

Install the package using Composer:


Configuration

Using an .ini File

Create a configuration file (e.g., config/api.ini) with the following content:

Load the configuration with:

Using an Array

Alternatively, use an array for configuration:


Example: Complete Flow

This example demonstrates how to retrieve cities, their zones, and properties associated with those zones, as well as fetch detailed property information.


Extending a Repository

To add custom functionality to a repository, you can extend the base class and implement your own methods. Here’s an example of adding a method to fetch properties with an elevator:

Example Usage


Using the API Client Directly

If you want to bypass the repositories, you can use the API client directly to make custom requests:


DTOs (Data Transfer Objects)

The library uses DTOs (Data Transfer Objects) to map API responses to structured PHP objects. Below are the key DTOs and their purposes:

General DTOs

Property DTOs

Pagination DTOs


Testing

Run PHPUnit tests to validate functionality:


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

This project is licensed under the MIT License.


Credits


All versions of inmovilla-api-client with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-json Version *
ext-curl Version *
guzzlehttp/guzzle Version ^7.9
php-http/discovery Version ^1.20
php-http/message Version ^1.16
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 inigo-aldama/inmovilla-api-client contains the following files

Loading the files please wait ....