Provides escaping and sanitation functions to provide security for Digital Shopfront CMS.

1.0.2 2025-04-21 16:58 UTC

This package is auto-updated.

Last update: 2025-04-21 22:00:47 UTC


README

This is the repository for the Digital Shopfront CMS Security package. You can learn more about Digital Shopfront CMS here.

The package adds in security functions for the CMS, including sanitation and escaping functions.

Installation

You can install the security package by running the following composer command.

composer require digitalshopfront/security

Usage

You can use any of the security functions like this:

use Digitalshopfront\Security\Facades\Security as Security;

echo Security::escHtml('#38ed24');

You can also call any of the functions directly like this:

echo escHtml('#38ed24');

Contributing

As an open source project, this package is open to contributions from anyone. Please read through the contributing guidelines to learn more about how you can contribute to this project.