Download the PHP package zappzarapp/security without Composer

On this page you can find all versions of the php package zappzarapp/security. 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 security

⚡ zappzarapp/security

Latest Version PHP Version License CI Socket Badge

Comprehensive PHP security library providing CSP, Security Headers, CSRF protection, Secure Cookies, Password Validation, Input Sanitization, Rate Limiting, SRI, and Audit Logging.

Highlights

Modules

Module Description Key Classes
CSP Content Security Policy header building CspDirectives, HeaderBuilder, NonceGenerator
Headers Security headers (HSTS, Permissions-Policy, etc.) SecurityHeaders, SecurityHeadersBuilder
CSRF Cross-Site Request Forgery protection CsrfProtection, CsrfConfig
Cookie Secure cookie handling SecureCookie, CookieBuilder, CookieOptions
Password Password validation and hashing PasswordPolicy, PwnedPasswordChecker, PepperedPasswordHasher
Sanitization Input sanitization (HTML, SQL, URI, Path) HtmlSanitizer, UriSanitizer, PathValidator
RateLimiting Rate limiting with multiple algorithms DefaultRateLimiter, RateLimitConfig
SRI Subresource Integrity hash generation SriHashGenerator, IntegrityAttribute
Analyzer Security header analysis and auditing SecurityHeaderAnalyzer, AnalysisResult
Middleware PSR-15 middleware for drop-in framework integration SecurityHeadersMiddleware, CsrfMiddleware, RateLimitMiddleware
Logging Security event audit logging SecurityAuditLogger, SecurityEvent

Requirements

Installation

Quick Start

Security Headers

CSP with Nonces

CSRF Protection

Input Sanitization

See the documentation for detailed examples of all modules.

Documentation

Each module has detailed API documentation with class references, configuration options, and code examples:

Module Description
CSP Content Security Policy with nonces
Headers HSTS, COOP, COEP, CORP, Permissions
CSRF Token patterns and validation
Cookie Secure cookie handling
Password Hashing, policies, breach detection
Sanitization HTML, URI, path sanitization
Rate Limiting Token bucket, sliding window
SRI Subresource integrity hashes
Analyzer Security header auditing
Middleware PSR-15 middleware
Logging Security audit logging
Glossary Security terminology reference

Versioning

This library follows Semantic Versioning 2.0.0.

All classes, interfaces, and methods in the Zappzarapp\Security namespace are considered public API unless marked with @internal. Breaking changes only happen in major versions, with deprecation warnings at least one minor version before removal.

Releases are automated via release-please and GPG-signed. See CHANGELOG.md for release history.

Security

See SECURITY.md for vulnerability reporting and security considerations.

Contributing

See CONTRIBUTING.md for development setup and contribution guidelines.

License

MIT License - see LICENSE file for details.


All versions of security with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-dom Version *
ext-libxml Version *
ext-sodium Version *
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 zappzarapp/security contains the following files

Loading the files please wait ...