Skip to content

Repositories

Repositories are the primary entry point for retrieving and modifying data in onOffice. Each repository corresponds to a specific resource (Estates, Addresses, Activities, etc.). This page provides a quick overview of the available repositories.

Available Repositories

  1. Activity
  2. Address
  3. Base
  4. Estate
  5. Field
  6. File
  7. Filter
  8. Macro
  9. Marketplace
  10. Relation
  11. Search Criteria
  12. Setting

Usage Example

php
$estates = EstateRepository::query()
    ->where('objektart', 'buero_praxen')
    ->whereIn('estate_id', [1, 2, 3])
    ->get();

$count = EstateRepository::query()
    ->whereBetween('kaufpreis', 100000, 200000)
    ->count();

TIP

See each repository’s dedicated page for advanced operations such as create, modify, chunking, and special parameters.

Check out the docs for each repository to see usage examples and best practices.

Released under the MIT License.