<commit_before><?php

namespace Pyaesone17\ActiveState;

use Illuminate\Support\ServiceProvider;

class ActiveStateServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {   
        \Blade::directive('activeCheck', function($expression) {
            return "<?php echo Active::check{$expression} ;  ?>";
        });
        \Blade::directive('ifActiveUrl', function($expression) {
            return "<?php if(Active::checkBoolean{$expression}): ?>";
        });
        \Blade::directive('endIfActiveUrl', function($expression) {
            return '<?php endif; ?>';
        });
        $this->publishes([
            __DIR__.'/config/active.php' => config_path('active.php'),
        ]);        
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('active-state', function ($app) {
            return new \Pyaesone17\ActiveState\Active();
        });
    }
}<commit_msg>Added merge config from package<commit_after><?php

namespace Pyaesone17\ActiveState;

use Illuminate\Support\ServiceProvider;

class ActiveStateServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {   
        \Blade::directive('activeCheck', function($expression) {
            return "<?php echo Active::check{$expression} ;  ?>";
        });
        \Blade::directive('ifActiveUrl', function($expression) {
            return "<?php if(Active::checkBoolean{$expression}): ?>";
        });
        \Blade::directive('endIfActiveUrl', function($expression) {
            return '<?php endif; ?>';
        });
        $this->publishes([
            __DIR__.'/config/active.php' => config_path('active.php'),
        ], 'config');        
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('active-state', function ($app) {
            return new \Pyaesone17\ActiveState\Active();
        });
        $this->mergeConfigFrom(
        __DIR__.'/config/active.php', 'active'
    );
    }
}
{'fraction_non_alphanumeric': 0.1504811898512686, 'fraction_numerical': 0.003499562554680665, 'mean_word_length': 2.2624821683309557, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5880999', 'n_tokens_mistral': 640, 'n_tokens_neox': 632, 'n_words': 112}