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. Last Seen
  9. Link
  10. Log
  11. Macro
  12. Marketplace
  13. Relation
  14. Search Criteria
  15. 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.