Download the PHP package yorcreative/laravel-scanator without Composer

On this page you can find all versions of the php package yorcreative/laravel-scanator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-scanator



Laravel Scanator

GitHub license GitHub stars GitHub issues GitHub forks PHPUnit

A Laravel package that provides functionalities for detecting sensitive information and patterns in the database, helping to ensure data privacy and security by empowering developers to easily integrate database scanning capabilities into their applications and take proactive measures to protect sensitive data.

Installation

install the package via composer:

Publish the assets.

Configuration

Adjusting the Scanators Configuration File

Adjust the configuration file to suite your application, located in /config/scanator.php.

Adjusting the Scrubber Configuration File

Adjust the regex_loader field to suite your application, located in /config/scrubber.php. For more information on the Scrubber configuration file, please see the source documentation here.

Usage

This package is shipped without implementation. It is shipped as a tool and up to developers to choose how they implement to suite to applications needs.

Detection Manager

The DetectionManager class is an essential component of the Laravel Scanator package. It manages and stores the Detections during the scanning process. It provides methods to record detections, retrieve the list of detections, and obtain the scan start time.

Full Database Scan

This package ships with the ability to analyze and build out database schema and then scans for sensitive information excluding any tables, columns or types from the Scanator configuration file finally to return the Detection Manager class.

Selective Database Scan

This package ships with the ability to selectively scan tables.

Defining Excludable Tables

The configuration file of this package offers the functionality to define excludable tables, allowing you to exclude them from the scanning process.

Defining Excludable Columns

Similarly, you can define excludable columns within the configuration file to prevent the package from scanning them.

Defining Excludable Data Types

To further refine the scanning process, you can specify excludable data types in the configuration file. The package will then disregard these data types during scanning.

Defining Sample Size

For greater control over the scanning procedure, the configuration file allows you to define the sample size extracted from each table.

Scrubber Documentation

This package builds on the RegexRepository provided by the scrubber package. For complete documentation on the scrubber, see here

Regex Class Opt-in

You have the ability through the scrubber configuration file to define what regex classes you want loaded into the application when it is bootstrapped. By default, this package ships with a wildcard value.

Regex Collection & Defining Opt-in

To opt in, utilize the static properties on the RegexCollection class.

Creating Custom Extended Classes

The Scrubber package ships with a command to create custom extended classes and allows further refining of database scans for the Scanator.

This command will create a stubbed out class in App\Scrubber\RegexCollection. The Scrubber package will autoload everything from the App\Scrubber\RegexCollection folder with the wildcard value on the regex_loader array in the scrubber config file. You will need to provide a Regex Pattern and a Testable String for the class.

Opting Into Custom Extended Classes

The regex_loader array takes strings, not objects. To opt in to specific custom extended regex classes, define the class name as a string.

For example if I have a custom extended class as such:

The regex_loader array should be defined as such:

Testing

Credits


All versions of laravel-scanator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/contracts Version ^v9|v10.*
yorcreative/laravel-scrubber Version v2.6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yorcreative/laravel-scanator contains the following files

Loading the files please wait ....