Skip to content

API Configuration

This section explains how to modify API-related configuration values such as pagination limits and slider autoplay settings.

Pagination Settings

To change pagination limits:

  1. Go to your server File Manager
  2. Navigate to:
app → Helper → Constants.php
  1. Update the following constants to your desired values:
ADMIN_PAGINATION
LISTING_PAGINATION
RATING_PAGINATION
HOME_PAGINATION

These values control how many items are returned per page in different sections of the system.

Save the file after making changes.

Slider Autoplay

To modify the slider autoplay behavior:

  1. Go to your File Manager
  2. Open:
app → Helper → Constants.php
  1. Update the value of:
SLIDER → AUTOPLAY

Set the value according to your preferred autoplay timing or enable/disable behavior.

Save the file and refresh your application.

Your API configuration changes are now applied.