Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Lander Tracking Chaturbate Bundle Laravel Package

exs/lander-tracking-chaturbate-bundle

View on GitHub
Deep Wiki
Context7

EXS-LanderTrackingChaturbateBundle

Build Status

What is this bundle doing ?

This bundle is not a standalone bundle and requires EXS-LanderTrackingHouseBundle.

It will add an extracter and a formatter to be added to EXS-LanderTrackingHouseBundle to manage Chaturbate tracking parameter.

The extracter service searches for parameters :

  • track which contains a string composed of either {cmp}~{exid}~{visit} or {cmp}~{exid} or {cmp}.

The formatter service will add the parameters if :

  • track will contains a string composed of either {cmp}~{exid}~{visit} or {cmp}~{exid} or {cmp}.

Installation

Download the bundle using composer

$ composer require exs/lander-tracking-chaturbate-bundle

Enable the bundle, and the EXS-LanderTrackingHouseBundle that is installed as a requirement.

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new EXS\LanderTrackingHouseBundle\EXSLanderTrackingHouseBundle(),
        new EXS\LanderTrackingChaturbateBundle\EXSLanderTrackingChaturbateBundle(),
        // ...
    );
}

Configuration

The cmp parameter has a default value configurable with this configuration key :

# Default values.
exs_lander_tracking_chaturbate:
    default_cmp: 1

This default value will be used over EXS-LanderTrackingHouseBundle's cmp default value.

Usage

Example :

    <a href="{{ 'http://www.test.tld/' | appendTracking('chaturbate') }}">Some link</a>
    <!-- Will generate : "http://www.test.tld/?track=123~987654321~5" -->
    
    <a href="{{ 'http://www.test.tld/?foo=bar' | appendTracking('chaturbate') }}">Some link</a>
    <!-- Will generate : "http://www.test.tld?foo=bar&track=123~987654321~5" -->

See EXS-LanderTrackingHouseBundle's documentation for more information.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style