MainController

Request

GET Parameters

Key Value
date
[
  "strictly_after" => "2026-06-18"
]
itemsPerPage
"1"
order
[
  "date" => "asc"
]
page
"1"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_api_header_parameters
[
  "accept-language" => [
    "en-GB,en;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,ar;q=0.5"
  ]
  "accept-encoding" => [
    "gzip, deflate, br, zstd"
  ]
  "referer" => [
    "https://www.mmafriend.com/"
  ]
  "sec-fetch-dest" => [
    "empty"
  ]
  "sec-fetch-mode" => [
    "cors"
  ]
  "sec-fetch-site" => [
    "same-site"
  ]
  "origin" => [
    "https://www.mmafriend.com"
  ]
  "accept" => [
    "*/*"
  ]
  "sec-ch-ua-mobile" => [
    "?1"
  ]
  "sec-ch-ua" => [
    ""Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24""
  ]
  "user-agent" => [
    "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Mobile Safari/537.36"
  ]
  "sec-ch-ua-platform" => [
    ""Android""
  ]
  "connection" => [
    "keep-alive"
  ]
  "host" => [
    "api.mmafriend.com"
  ]
  "x-php-ob-level" => [
    "1"
  ]
]
_api_normalization_context
[
  "groups" => [
    "read:allEvents"
  ]
  "operation_name" => "getEvents"
  "operation" => ApiPlatform\Metadata\GetCollection {#945
    #parameters: null
    #shortName: "Event"
    #class: "App\Entity\Event"
    #description: null
    #urlGenerationStrategy: null
    #deprecationReason: null
    #normalizationContext: [
      "groups" => [
        "read:allEvents"
      ]
    ]
    #denormalizationContext: [
      "groups" => [
        "write:event"
      ]
    ]
    #collectDenormalizationErrors: null
    #validationContext: null
    #filters: [
      "annotated_app_entity_event_api_platform_doctrine_orm_filter_order_filter"
      "annotated_app_entity_event_api_platform_doctrine_orm_filter_date_filter"
    ]
    #elasticsearch: null
    #mercure: null
    #messenger: null
    #input: null
    #output: null
    #order: null
    #fetchPartial: null
    #forceEager: null
    #paginationEnabled: null
    #paginationType: null
    #paginationItemsPerPage: null
    #paginationMaximumItemsPerPage: null
    #paginationPartial: null
    #paginationClientEnabled: null
    #paginationClientItemsPerPage: null
    #paginationClientPartial: null
    #paginationFetchJoinCollection: null
    #paginationUseOutputWalkers: null
    #security: null
    #securityMessage: null
    #securityPostDenormalize: null
    #securityPostDenormalizeMessage: null
    #securityPostValidation: null
    #securityPostValidationMessage: null
    #provider: "ApiPlatform\Doctrine\Orm\State\CollectionProvider"
    #processor: "api_platform.doctrine.orm.state.persist_processor"
    #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#929 …}
    #rules: null
    #policy: null
    #middleware: null
    #queryParameterValidationEnabled: null
    #strictQueryParameterValidation: null
    #hideHydraOperation: null
    #extraProperties: [
      "user_defined_uri_template" => true
    ]
    #paginationViaCursor: null
    #read: true
    #deserialize: false
    #validate: false
    #write: null
    #serialize: null
    #priority: 8
    #name: "getEvents"
    #method: "GET"
    #uriTemplate: "events"
    #types: null
    #formats: null
    #inputFormats: [
      "jsonld" => [
        "application/ld+json"
      ]
    ]
    #outputFormats: [
      "jsonld" => [
        "application/ld+json"
      ]
    ]
    #uriVariables: []
    #routePrefix: null
    #routeName: null
    #defaults: null
    #requirements: null
    #options: null
    #stateless: true
    #sunset: null
    #acceptPatch: null
    #status: null
    #host: null
    #schemes: null
    #condition: null
    #controller: "api_platform.symfony.main_controller"
    #headers: null
    #cacheHeaders: [
      "vary" => [
        "Content-Type"
        "Authorization"
        "Origin"
      ]
    ]
    #hydraContext: null
    #openapi: null
    #exceptionToStatus: null
    #links: null
    #errors: null
    -itemUriTemplate: null
  }
  "resource_class" => "App\Entity\Event"
  "skip_null_values" => true
  "iri_only" => false
  "request_uri" => "/api/events?page=1&itemsPerPage=1&order%5Bdate%5D=asc&date%5Bstrictly_after%5D=2026-06-18"
  "uri" => "https://api.mmafriend.com/api/events?date%5Bstrictly_after%5D=2026-06-18&itemsPerPage=1&order%5Bdate%5D=asc&page=1"
  "input" => null
  "output" => null
  "exclude_from_cache_key" => [
    "root_operation"
    "operation"
    "object"
    "data"
    "property_metadata"
    "circular_reference_limit_counters"
    "debug_trace_id"
  ]
  "api_gateway" => false
  "base_url" => ""
  "spec_version" => ""
]
_api_operation
ApiPlatform\Metadata\GetCollection {#945
  #parameters: null
  #shortName: "Event"
  #class: "App\Entity\Event"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: [
    "groups" => [
      "read:allEvents"
    ]
  ]
  #denormalizationContext: [
    "groups" => [
      "write:event"
    ]
  ]
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: [
    "annotated_app_entity_event_api_platform_doctrine_orm_filter_order_filter"
    "annotated_app_entity_event_api_platform_doctrine_orm_filter_date_filter"
  ]
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: null
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: null
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: null
  #paginationClientItemsPerPage: null
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: null
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "ApiPlatform\Doctrine\Orm\State\CollectionProvider"
  #processor: "api_platform.doctrine.orm.state.persist_processor"
  #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#929 …}
  #rules: null
  #policy: null
  #middleware: null
  #queryParameterValidationEnabled: null
  #strictQueryParameterValidation: null
  #hideHydraOperation: null
  #extraProperties: [
    "user_defined_uri_template" => true
  ]
  #paginationViaCursor: null
  #read: true
  #deserialize: false
  #validate: false
  #write: null
  #serialize: null
  #priority: 8
  #name: "getEvents"
  #method: "GET"
  #uriTemplate: "events"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
  ]
  #uriVariables: []
  #routePrefix: null
  #routeName: null
  #defaults: null
  #requirements: null
  #options: null
  #stateless: true
  #sunset: null
  #acceptPatch: null
  #status: null
  #host: null
  #schemes: null
  #condition: null
  #controller: "api_platform.symfony.main_controller"
  #headers: null
  #cacheHeaders: [
    "vary" => [
      "Content-Type"
      "Authorization"
      "Origin"
    ]
  ]
  #hydraContext: null
  #openapi: null
  #exceptionToStatus: null
  #links: null
  #errors: null
  -itemUriTemplate: null
}
_api_operation_name
"getEvents"
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#3496
  -links: [
    3483 => Symfony\Component\WebLink\Link {#3483
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
      -href: "https://api.mmafriend.com/api/docs.jsonld"
    }
  ]
}
_api_query_parameters
[
  "page" => "1"
  "itemsPerPage" => "1"
  "order" => [
    "date" => "asc"
  ]
  "date" => [
    "strictly_after" => "2026-06-18"
  ]
]
_api_resource_class
"App\Entity\Event"
_api_uri_variables
[]
_controller
"api_platform.symfony.main_controller"
_firewall_context
"security.firewall.map.context.api"
_format
null
_nelmio_cors_should_allow_origin
true
_resources
[
  "/api/eventFuture/scrap" => "/api/eventFuture/scrap"
  "/api/fights/updateOddsDecimal" => "/api/fights/updateOddsDecimal"
  "/api/fighters/114" => "/api/fighters/114"
  "/api/fighters/79" => "/api/fighters/79"
  "/api/fighters/477" => "/api/fighters/477"
  "/api/fighters/223" => "/api/fighters/223"
  "/api/fighters/519" => "/api/fighters/519"
  "/api/fighters/428" => "/api/fighters/428"
  "/api/fighters/321" => "/api/fighters/321"
  "/api/fighters/606" => "/api/fighters/606"
  "/api/fighters/551" => "/api/fighters/551"
  "/api/fighters/307" => "/api/fighters/307"
  "/api/fighters/350" => "/api/fighters/350"
  "/api/fighters/607" => "/api/fighters/607"
  "/api/fighters/563" => "/api/fighters/563"
  "/api/fighters/488" => "/api/fighters/488"
  "/api/fighters/6" => "/api/fighters/6"
  "/api/fighters/139" => "/api/fighters/139"
  "/api/fighters/476" => "/api/fighters/476"
  "/api/fighters/184" => "/api/fighters/184"
  "/api/fighters/605" => "/api/fighters/605"
  "/api/fighters/353" => "/api/fighters/353"
  "/api/fighters/642" => "/api/fighters/642"
  "/api/fighters/645" => "/api/fighters/645"
  "/api/fighters/643" => "/api/fighters/643"
  "/api/fighters/646" => "/api/fighters/646"
  "/api/fighters/414" => "/api/fighters/414"
  "/api/fighters/358" => "/api/fighters/358"
  "/api/fighters/608" => "/api/fighters/608"
  "/api/fighters/301" => "/api/fighters/301"
  "/api/fighters/98" => "/api/fighters/98"
  "/api/fighters/357" => "/api/fighters/357"
  "/api/fighters/609" => "/api/fighters/609"
  "/api/fighters/299" => "/api/fighters/299"
  "/api/fighters/121" => "/api/fighters/121"
  "/api/fighters/105" => "/api/fighters/105"
  "/api/fighters/194" => "/api/fighters/194"
  "/api/fighters/426" => "/api/fighters/426"
  "/api/fighters/610" => "/api/fighters/610"
  "/api/fighters/612" => "/api/fighters/612"
  "/api/fighters/72" => "/api/fighters/72"
  "/api/fighters/431" => "/api/fighters/431"
  "/api/fighters/611" => "/api/fighters/611"
  "/api/fighters/373" => "/api/fighters/373"
  "/api/fighters/183" => "/api/fighters/183"
  "/api/fighters/498" => "/api/fighters/498"
  "/api/fighters/268" => "/api/fighters/268"
  "/api/fighters/279" => "/api/fighters/279"
  "/api/fighters/66" => "/api/fighters/66"
  "/api/fighters/470" => "/api/fighters/470"
  "/api/fighters/613" => "/api/fighters/613"
  "/api/fighters/411" => "/api/fighters/411"
  "/api/fighters/368" => "/api/fighters/368"
  "/api/fighters/54" => "/api/fighters/54"
  "/api/fighters/205" => "/api/fighters/205"
  "/api/fighters/130" => "/api/fighters/130"
  "/api/fighters/113" => "/api/fighters/113"
  "/api/fighters/310" => "/api/fighters/310"
  "/api/fighters/614" => "/api/fighters/614"
  "/api/fighters/240" => "/api/fighters/240"
  "/api/fighters/615" => "/api/fighters/615"
  "/api/fighters/399" => "/api/fighters/399"
  "/api/fighters/437" => "/api/fighters/437"
  "/api/fighters/28" => "/api/fighters/28"
  "/api/fighters/56" => "/api/fighters/56"
  "/api/fighters/439" => "/api/fighters/439"
  "/api/fighters/461" => "/api/fighters/461"
  "/api/fighters/347" => "/api/fighters/347"
  "/api/fighters/83" => "/api/fighters/83"
  "/api/fighters/587" => "/api/fighters/587"
  "/api/fighters/460" => "/api/fighters/460"
  "/api/fighters/252" => "/api/fighters/252"
  "/api/fighters/553" => "/api/fighters/553"
  "/api/fighters/315" => "/api/fighters/315"
  "/api/fighters/191" => "/api/fighters/191"
  "/api/fighters/206" => "/api/fighters/206"
  "/api/fighters/117" => "/api/fighters/117"
  "/api/fighters/257" => "/api/fighters/257"
  "/api/fighters/430" => "/api/fighters/430"
  "/api/fighters/564" => "/api/fighters/564"
  "/api/fighters/123" => "/api/fighters/123"
  "/api/fighters/186" => "/api/fighters/186"
  "/api/fighters/619" => "/api/fighters/619"
  "/api/fighters/287" => "/api/fighters/287"
  "/api/fighters/566" => "/api/fighters/566"
  "/api/fighters/621" => "/api/fighters/621"
  "/api/fighters/620" => "/api/fighters/620"
  "/api/fighters/622" => "/api/fighters/622"
  "/api/fighters/326" => "/api/fighters/326"
  "/api/fighters/272" => "/api/fighters/272"
  "/api/fighters/304" => "/api/fighters/304"
  "/api/fighters/404" => "/api/fighters/404"
  "/api/fighters/325" => "/api/fighters/325"
  "/api/fighters/625" => "/api/fighters/625"
  "/api/fighters/15" => "/api/fighters/15"
  "/api/fighters/293" => "/api/fighters/293"
  "/api/fighters/119" => "/api/fighters/119"
  "/api/fighters/275" => "/api/fighters/275"
  "/api/fighters/122" => "/api/fighters/122"
  "/api/fighters/521" => "/api/fighters/521"
  "/api/fighters/552" => "/api/fighters/552"
  "/api/fighters/238" => "/api/fighters/238"
  "/api/fighters/262" => "/api/fighters/262"
  "/api/fighters/330" => "/api/fighters/330"
  "/api/fighters/574" => "/api/fighters/574"
  "/api/fighters/71" => "/api/fighters/71"
  "/api/fighters/623" => "/api/fighters/623"
  "/api/fighters/626" => "/api/fighters/626"
  "/api/fighters/624" => "/api/fighters/624"
  "/api/fighters/35" => "/api/fighters/35"
  "/api/fighters/49" => "/api/fighters/49"
  "/api/fighters/74" => "/api/fighters/74"
  "/api/fighters/129" => "/api/fighters/129"
  "/api/fighters/333" => "/api/fighters/333"
]
_route
"getEvents"
_route_params
[
  "_format" => null
  "_stateless" => true
  "_api_resource_class" => "App\Entity\Event"
  "_api_operation_name" => "getEvents"
]
_security_authenticators
[]
_security_skipped_authenticators
[]
_stateless
true
_stopwatch_token
"fe43bf"
data
ApiPlatform\Doctrine\Orm\Paginator {#1227
  #paginator: Doctrine\ORM\Tools\Pagination\Paginator {#1212 …}
  #iterator: ArrayIterator {#1351 …}
  #firstResult: 0
  #maxResults: 30
  -totalItems: 6
  -doctrinePaginatorFactory: null
}
input_format
null
previous_data
ApiPlatform\Doctrine\Orm\Paginator {#971
  #paginator: Doctrine\ORM\Tools\Pagination\Paginator {#1212 …}
  #iterator: ? Traversable|array
  #firstResult: 0
  #maxResults: 30
  -totalItems: null
  -doctrinePaginatorFactory: null
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"en-GB,en;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,ar;q=0.5"
connection
"keep-alive"
host
"api.mmafriend.com"
origin
"https://www.mmafriend.com"
referer
"https://www.mmafriend.com/"
sec-ch-ua
""Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24""
sec-ch-ua-mobile
"?1"
sec-ch-ua-platform
""Android""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-site"
user-agent
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Mobile Safari/537.36"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
access-control-allow-origin
"https://www.mmafriend.com"
access-control-expose-headers
"link"
cache-control
"no-cache, private"
content-type
"application/ld+json; charset=utf-8"
date
"Thu, 18 Jun 2026 11:44:11 GMT"
etag
""8e2ddffdc5baed73""
link
"<https://api.mmafriend.com/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
vary
[
  "Accept"
  "Content-Type"
  "Authorization"
  "Origin"
]
x-content-type-options
"nosniff"
x-debug-token
"da5540"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"99319646d2b675106c0343e4462f147f"
CORS_ALLOW_ORIGIN
"^(https://(www\.)?mmafriend\.com|http://localhost(:[0-9]+)?)$"
DATABASE_URL
"mysql://ufcuser:Viviane_97231@51.91.111.72:3306/ufcapp?serverVersion=8.0.32&charset=utf8mb4"
GOOGLE_CLIENT_ID
"513922241518-gq9qsp9o5554tl87kc3aj413pskhm58i.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
GOOGLE_MOBILE_REDIRECT_URI
"https://api.mmafriend.com/api/auth/google/mobile/callback"
GOOGLE_REDIRECT_URI
"https://www.mmafriend.com/auth/callback"
JWT_PASSPHRASE
"e110a49a228550973bcc3aed87f1cfee37f54ace466d9365945c5cb2604b7102"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
THE_ODDS_API_KEY
"2e909f7dc62a239961392d1153d8761c"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/ufcApp/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"en-GB,en;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,ar;q=0.5"
HTTP_CONNECTION
"keep-alive"
HTTP_HOST
"api.mmafriend.com"
HTTP_ORIGIN
"https://www.mmafriend.com"
HTTP_REFERER
"https://www.mmafriend.com/"
HTTP_SEC_CH_UA
""Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24""
HTTP_SEC_CH_UA_MOBILE
"?1"
HTTP_SEC_CH_UA_PLATFORM
""Android""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Mobile Safari/537.36"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
"page=1&itemsPerPage=1&order%5Bdate%5D=asc&date%5Bstrictly_after%5D=2026-06-18"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"105.136.182.209"
REMOTE_PORT
"47262"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1781783051
REQUEST_TIME_FLOAT
1781783051.246
REQUEST_URI
"/api/events?page=1&itemsPerPage=1&order%5Bdate%5D=asc&date%5Bstrictly_after%5D=2026-06-18"
SCRIPT_FILENAME
"/var/www/ufcApp/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.91.111.72"
SERVER_NAME
"api.mmafriend.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.3"
SYMFONY_DOTENV_PATH
"/var/www/ufcApp/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CORS_ALLOW_ORIGIN,THE_ODDS_API_KEY,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,GOOGLE_REDIRECT_URI,GOOGLE_MOBILE_REDIRECT_URI,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"
USER
"www-data"