Download the PHP package mezon/security without Composer
On this page you can find all versions of the php package mezon/security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mezon/security
More information about mezon/security
Files in mezon/security
Download mezon/security
More information about mezon/security
Files in mezon/security
Vendor mezon
Package security
Short Description Small security script
License MIT
Homepage https://github.com/alexdodonov/mezon-security
Package security
Short Description Small security script
License MIT
Homepage https://github.com/alexdodonov/mezon-security
Please rate this library. Is it a good library?
Informations about the package security
Security validations
Intro
Mezon provides set of classes wich will help you to validate data from front-end
Installation
Just print in console
And that's all )
Files validations
Size validations
First of all you need to create validator for the file size:
Then you can run validation
Here 'uploaded-file' is an index in the $_FILES array.
Mime-types validations
You can validate mime types of the uploading files. To do this construct special validator and pass a list of valid mime types to it's constructor
And then call isUploadedFileValid like in the example above.
Image validators
You can use validators for the image size:
I'll be very glad if you'll press "STAR" button )
All versions of security with dependencies
PHP Build Version
Package Version
The package mezon/security contains the following files
Loading the files please wait ....