2017 © Pedro Peláez
 

library security

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

image

graham-campbell/security

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  • Friday, March 2, 2018
  • by graham-campbell
  • Repository
  • 10 Watchers
  • 94 Stars
  • 171,358 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 27 Forks
  • 0 Open issues
  • 33 Versions
  • 5 % Grown

The README.md

Laravel Security

Laravel Security was created by, and is maintained by Graham Campbell, and is a voku/anti-xss wrapper for Laravel, using graham-campbell/security-core. Feel free to check out the change log, releases, security policy, license, code of conduct, and contribution guidelines., (*1)

Banner, (*2)

Build Status StyleCI Status Software License Packagist Downloads Latest Version , (*3)

Installation

This version requires PHP 8.0-8.3 and supports Laravel 9-11., (*4)

Security L5.5 L5.6 L5.7 L5.8 L6 L7 L8 L9 L10 L11
5.1 :white_check_mark: :white_check_mark: :white_check_mark: :x: :x: :x: :x: :x: :x: :x:
6.2 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :x: :x: :x: :x: :x:
7.1 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :x: :x: :x: :x:
8.0 :x: :x: :x: :x: :white_check_mark: :white_check_mark: :x: :x: :x: :x:
9.1 :x: :x: :x: :x: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :x: :x:
10.0 :x: :x: :x: :x: :x: :x: :white_check_mark: :white_check_mark: :x: :x:
11.2 :x: :x: :x: :x: :x: :x: :x: :white_check_mark: :white_check_mark: :white_check_mark:

To get the latest version, simply require the project using Composer:, (*5)

$ composer require "graham-campbell/security:^11.2"

Once installed, if you are not using automatic package discovery, then you need to register the GrahamCampbell\Security\SecurityServiceProvider service provider in your config/app.php., (*6)

You can also optionally alias our facade:, (*7)

        'Security' => GrahamCampbell\Security\Facades\Security::class,

Configuration

Laravel Security supports optional configuration., (*8)

To get started, you'll need to publish all vendor assets:, (*9)

$ php artisan vendor:publish

This will create a config/security.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases., (*10)

There are two config options:, (*11)

Evil configuration

This option ('evil') defines the evil attributes and tags, which will always be stripped from the input., (*12)

Replacement string

This option ('replacement') defines the replacement string, which will be used to take the place of removed portions of strings where XSS was present., (*13)

Usage

Security

This is the class of most interest. It is bound to the ioc container as 'security' and can be accessed using the Facades\Security facade. There is one public method of interest., (*14)

The 'clean' method will parse a string removing XSS vulnerabilities, on a best effort basis., (*15)

Facades\Security

This facade will dynamically pass static method calls to the 'security' object in the ioc container which by default is the Security class., (*16)

SecurityServiceProvider

This class contains no public methods of interest. This class should be added to the providers array in config/app.php. This class will setup ioc bindings., (*17)

Further Information

You may see an example of implementation in Laravel Binput., (*18)

Security

If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. You may view our full security policy here., (*19)

License

Laravel Security is licensed under The MIT License (MIT)., (*20)

For Enterprise

Available as part of the Tidelift Subscription, (*21)

The maintainers of graham-campbell/security and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more., (*22)

The Versions

02/03 2018

dev-master

9999999-dev

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

02/03 2018

v5.0.0

5.0.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

02/01 2018

4.0.x-dev

4.0.9999999.9999999-dev

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

02/01 2018

v4.0.1

4.0.1.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

06/08 2017

v4.0.0

4.0.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

01/01 2017

v3.7.0

3.7.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

01/01 2017

3.7.x-dev

3.7.9999999.9999999-dev

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

26/04 2016

v3.6.0

3.6.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

30/01 2016

v3.5.1

3.5.1.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

14/11 2015

v3.5.0

3.5.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

05/11 2015

v3.4.0

3.4.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

06/10 2015

v3.3.0

3.3.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

26/06 2015

v3.2.0

3.2.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

21/05 2015

v3.1.0

3.1.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

05/02 2015

v3.0.0

3.0.0.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

05/01 2015

v2.1.3

2.1.3.0

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 4.1/4.2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

05/01 2015

2.1.x-dev

2.1.9999999.9999999-dev

Security Is A Port Of The Security Class From Codeigniter 3 For Laravel 4.1/4.2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

28/11 2014

v2.1.2

2.1.2.0

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1/4.2

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

05/10 2014

v2.1.1

2.1.1.0

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1/4.2

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

27/08 2014

v2.1.0

2.1.0.0

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

09/08 2014

v2.0.2

2.0.2.0

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

02/08 2014

v2.0.1

2.0.1.0

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

21/07 2014

v2.0.0

2.0.0.0

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

16/07 2014

v2.0.0-RC1

2.0.0.0-RC1

Security Is A Port Of The Security Class From Codeigniter 2.2 For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

21/04 2014

v1.1.0

1.1.0.0

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

21/04 2014

1.1.x-dev

1.1.9999999.9999999-dev

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

12/02 2014

v1.0.0

1.0.0.0

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

08/02 2014

v1.0.0-RC1

1.0.0.0-RC1

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

22/01 2014

v1.0.0-beta1

1.0.0.0-beta1

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

12/12 2013

v0.4.0-alpha

0.4.0.0-alpha

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

10/12 2013

v0.3.0-alpha

0.3.0.0-alpha

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4

  Sources   Download

Apache License 2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

25/08 2013

v0.2.0-alpha

0.2.0.0-alpha

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security

15/08 2013

v0.1.0-alpha

0.1.0.0-alpha

Security Is A Port Of The Security Class From Codeigniter 2.1 For Laravel 4

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework security codeigniter graham campbell grahamcampbell laravel security laravel-security