Skip to main content

51 docs tagged with "farfalla"

View all tags

Add New Localization

1. Add language code to config/platform.php to make the new code available on the platform.

API V2

API documentation extracted from the code

Audio Optimization Process

This document outlines the process of optimizing audio files, from their initial upload to their final storage in an S3 bucket. The process includes generating random names, optimizing the files, and the ability to customize conversion parameters.

Crawler Detection

Search and recommendation features automatically block crawlers to prevent bots from triggering expensive database queries.

Database

We are mainly using two tables to store users order informations and payments informations. Here we use users_plans table for storing order informations

Features System

The features system controls tenant access to platform capabilities. It supports both boolean feature flags (on/off) and numeric limits (quotas). Features can be granted at the plan level or customized per-tenant.

Health Checks with OhDear

This document describes how Farfalla exposes operational health checks and how OhDear monitors them for automated alerting.

Inventory Service Architecture

The InventoryService is responsible for managing the available publication listings, implementing filtering logic, and providing search capabilities across the content catalog.

IPNs

For each type of events we have seperate PHP class to process IPN and make DB changes

LTI

This integration allow make an automatic auth to specific user when this is try to login from an configuration LTI.

Overview

Our tenant supports multiple authentication methods to integrate external applications. Each integration method can be used according to specific scenarios and requirements.

Overview

Farfalla is the core multi-tenant monolithic application that orchestrates the entire Publica.la platform. It powers both the Control Panel for our customers and the end-user storefront, managing tenant creation, catalog management, payment processing, and user access across the platform.

Payment Synchronization

This document describes the processes by which we keep the transaction information from payment gateways synchronized with publica.la orders and payments - including status updates, gateway keys, and related payments.

Payments Gateways Integrations

In this documentation, we are discussing about the final user’s subscriptions and payments to get access to publications from corresponding tenant

Payments Overview

This section provides an overview of the different payment methods supported by our platform, including gateways (MercadoPago, Stripe, and PayU), coupons, and manual payments, as well as a description of the different payment flows:

Platform Features (Emergency Controls)

Platform features are global kill switches that override tenant-level feature access. They allow us to quickly disable functionality across the entire platform during emergencies—such as high database load, payment provider issues, or processing backlogs.

Storefront Service Architecture

The StorefrontService is responsible for building and organizing shelves in the publication storefront. It acts as the main abstraction layer between controllers and the underlying inventory layer.

Subscriptions Flow With MercadoPago

We will start with a customer who is about to press the Subscription button and decides to pay with MercadoPago. Here is the following flow:

Telescope Debugging and Monitoring

This document describes how Farfalla uses Laravel Telescope for debugging and monitoring across all environments, including cross-subdomain request tracking.

Tenant Resolver & Caching

The Tenant Resolver system handles multi-tenant resolution with a cache-first architecture. Its goal is to resolve which tenant a request belongs to with minimal database load.

URL Referrer

This integration allow make an automatic auth to specific user when this is from an URL added in configurations for these user.

X

Graph View