<?php namespace app\Helpers\Validators;

use Illuminate\Validation\Validator;

/**
 * Class MainMetaValidator
 *
 * A class to handle validation of main meta
 * updates and creation.
 *
 * @author Rob Attfield <emailme@robertattfield.com> <http://www.robertattfield.com>
 * @package app\Helpers\Validators
 */
class MainMetaValidator extends Validator
{
    public static function validationRules()
    {
        return [
            'title' => 'min:10|max:70',
            'description' => 'min:20|max:160',
            'keywords' => 'min:3|max:255',
            'google_analytics_code' => 'max:20',
            'yandex_verification' => 'max:70',
            'bing_verification' => 'max:70',
            'addthisid' => 'max:35',
            'page_main_title' => 'required|min:15|max:100',
            //'page_main_content' => '',
        ];
    }
}

<?php namespace app\Helpers\Validators;

use Illuminate\Validation\Validator;

/**
 * Class MainMetaValidator
 *
 * A class to handle validation of main meta
 * updates and creation.
 *
 * @author Rob Attfield <emailme@robertattfield.com> <http://www.robertattfield.com>
 * @package app\Helpers\Validators
 */
class MainMetaValidator extends Validator
{
    public static function validationRules()
    {
        return [
            'title' => 'min:10|max:70',
            'description' => 'min:20|max:160',
            'keywords' => 'min:3|max:255',
            'google_analytics_code' => 'max:20',
            'yandex_verification' => 'max:70',
            'bing_verification' => 'max:70',
            'addthisid' => 'max:35',
            'page_main_title' => 'required|min:15|max:100',
        ];
    }
}

Remove hardcoded AddThis ID, made migrations and form changes to store it in database.
Remove hardcoded AddThis ID, made migrations and form changes to store it in database.
