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

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

Inmovilla API Proxy (Unofficial)

[Latest Version]() [PHP]()

inmovilla-api-proxy is a tool designed to solve a specific problem when interacting with the Inmovilla API: IP-based access restrictions.

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

Why Use Inmovilla API Proxy?

Inmovilla restricts access to their API to specific IP addresses. This becomes a problem when you're developing from a machine outside the allowed IP range. Here's how the situation looks:

This package solves the issue by enabling the production server to act as a proxy. With inmovilla-api-proxy installed on the production server:

  1. Your development machine sends requests to the production server (acting as the proxy).
  2. The production server forwards these requests to the Inmovilla API.
  3. The response from the Inmovilla API is sent back to your development machine.

How It Works

Here’s a visual representation of the interaction flow between the Development Server, Production Server, and the Inmovilla API:

UML Diagram

Production Server

Development Machine

Example Flow

  1. Without Proxy

    • Development server → Direct connection to Inmovilla API → ❌ IP not allowed.
  2. With Proxy
    • Development server → Proxy on production server → Inmovilla API → ✅ Works.

Requirements


Installation

  1. Install the Proxy on the Production Server Clone the repository or use Composer:

  2. Configure API Credentials Update the api.ini configuration file on both servers (development and production):

    api.ini on the production server:

    api.ini on the development server:


Usage

  1. On the Production Server Deploy inmovilla-api-proxy with the following setup:

  2. On the Development Machine Configure api_url to point to the production server's proxy, and use inmovilla-api-client as usual.

Key Points

Data Sent to Inmovilla API

When using the proxy, the following data is sent to Inmovilla:


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-proxy with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-json Version *
ext-curl Version *
inigo-aldama/inmovilla-api-client Version ^1.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 inigo-aldama/inmovilla-api-proxy contains the following files

Loading the files please wait ....