Classes
The EventAggregator is responsible for removing duplicate events.
The FightAggregator is responsible for merging two FightDTOs that represent the same fight.
The FighterAggregator is responsible for merging two FighterDTOs that represent the same fighter.
Interface EventParserInterface
Interface HttpClientInterface
Interface PromotionScraper
Interface Scraper
Data Transfer Object representing an event.
Data Transfer Object representing a fight.
Data Transfer Object representing a fighter.
A default implementation of the HttpClientInterface using Guzzle HTTP client.
MmaScrapersServiceProvider is a Laravel service provider that registers the HTTP client implementation for the MMA Scrapers project.
The FighterMatcher is responsible for determining if two FighterDTOs represent the same fighter.
Class responsible for normalizing fight method strings to FightMethod enum values.
Class responsible for normalizing fight status strings to FightStatus enum values.
Class responsible for normalizing weight class strings to WeightClass enum values.
The FightDeduplicator is responsible for deduplicating a list of FightDTOs by grouping them based on their similarity and merging them using a FightAggregator.
Resolves a Sherdog fighter ID from a list of candidates based on name similarity.
The ParseEvent class is responsible for parsing event details from HTML and returning an EventDTO.
The ParseEvents class is responsible for parsing a list of events from HTML and returning an array of EventDTOs.
The ParseFighter class is responsible for parsing fighter details from HTML and returning a FighterDTO.
The ParseFights class is responsible for parsing fight details from HTML and returning an array of FightDTOs.
The EventScraper class is responsible for scraping event details from a given URL and returning an EventDTO.
The EventsScraper class is responsible for scraping a list of events from a given URL and returning an array of EventDTOs.
The FighterScraper class is responsible for scraping fighter details from a given URL and returning a FighterDTO.
The FightsScraper class is responsible for scraping fight details from a given URL and returning an array of FightDTOs.
The ParseFighter class is responsible for parsing fighter details from HTML and returning a FighterDTO.
The ParseSearchResults class is responsible for parsing search results from HTML and returning an array of fighter information.
The FighterScraper class is responsible for scraping fighter details from a given URL and returning a FighterDTO.
The SearchFighterScraper class is responsible for scraping search results for fighters from Sherdog based on a given name.