Download the PHP package mitnick/laravel-security without Composer

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

🔐 Laravel-Mitnick

Packagist Downloads GitHub repo size GitHub

Laravel-Mitnick helps you secure your Laravel apps by setting various HTTP headers. It's not a silver bullet, but it can help!

Quick start

First, You can install the package via composer:

If you would like to assign middleware to specific routes, you should first assign the middleware a key in your app/Http/Kernel.php file. By default, the $routeMiddleware property of this class contains entries for the middleware included with Laravel

Documentation

For installation instructions, in-depth usage and deployment details, please take a look at the official documentation.

Requirements

Laravel-Mitnick has a few requirements you should be aware of before installing :

Solved : Security vulnerability

Laravel-Mitnick is a collection of 9 smaller middleware functions that set HTTP response headers.

Vulnerability Middleware Class Included
Cache Control Attack Mitnick\Laravel\Security\cache::class
Cross-Origin Resource Sharing (CORS) Mitnick\Laravel\Security\cors::class
X-Permitted-Cross-Domain-Policies Mitnick\Laravel\Security\crossDomain::class
DNS Prefetch Control  Mitnick\Laravel\Security\dns::class
Click Jacking Attack Mitnick\Laravel\Security\frameGuard::class
Strict-Transport-Security  Mitnick\Laravel\Security\hsts::class
Mime Sniffing Attack Mitnick\Laravel\Security\noSniff::class
X-Powered-By Attack Mitnick\Laravel\Security\xPoweredBy::class
 XSS Attack  Mitnick\Laravel\Security\xss::class

Contributing

Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Laravel-Mitnick community! 💪💜 See CONTRIBUTING.md for more information on what we're looking for and how to get started.

License

The Laravel-Mitnick package is open-source software licensed under the MIT license.


All versions of laravel-security with dependencies

PHP Build Version
Package Version
No informations.
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 mitnick/laravel-security contains the following files

Loading the files please wait ....