Revo Docs
v16.0.1

Tips and tricks

In this section, we will explore various tips and tricks to help you get the most out of the Thrust package. Whether you are looking to optimize your workflow, customize your fields, or troubleshoot common issues, these practical insights will enhance your experience and efficiency when working with Thrust.

Revo XEF integrations sync fields to the APP

The static method addStaticConfigFields allows synchronizing fields from Revo XEF integrations with the APP without the need to save them to the database.

class Integration extends BaseIntegration implements ProvidesThrustFields
{
    ...
    public static function addStaticConfigFields(&$config, bool $test)
    {
        $config->token = base64_encode($test ? config('test_token') : config('prod_token'));
        $config->url   = base64_encode($test ? config('test_url') : config('prod_url'));
    }
}
Copied!