Giter Club home page Giter Club logo

lockdown's Introduction

Lockdown

Easily lock sections of your Laravel app with Basic Access Authentication using convenient route middleware & configurable guards

Build Status Coverage Status Latest Stable Version Latest Unstable Version License


A note on security

Lockdown is meant to shield sections of your project from prying eyes, for example if you like to demo a feature that is not ready for production.

Basic Acces Auth is insecure by nature. If in production always make sure to have TLS configured so all credentials are encrypted. Even with that precaution I heavily discourage you use this package to protect valuable data. It is not meant to do that.

That said there are plenty of situations where a easily configurable Basic Access Auth middleware is exactly what you need. If you find yourself in one of those situations, read on!

Installation

Install the package

composer require leuverink/lockdown

Publish the config file

php artisan vendor:publish --tag="lockdown:config"

Getting started

For usage, check out the documentation.

lockdown's People

Contributors

gwleuverink avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lockdown's Issues

Dependabot can't resolve your PHP dependency files

Dependabot can't resolve your PHP dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - phpunit/phpunit 8.3.4 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.3.3 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.3.2 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.3.1 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.3.0 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.2.5 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.2.4 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.2.3 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.2.2 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.2.1 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.2.0 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.6 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.5 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.4 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.3 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.2 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.1 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.1.0 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.6 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.5 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.4 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.3 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.2 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.1 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - phpunit/phpunit 8.0.0 requires php ^7.2 -> your PHP version (7.3.8-1+ubuntu18.04.1+deb.sury.org+1) overridden by "config.platform.php" version (7.1.3) does not satisfy that requirement.
    - Installation request for phpunit/phpunit ^8.0 -> satisfiable by phpunit/phpunit[8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.2.0, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.3.0, 8.3.1, 8.3.2, 8.3.3, 8.3.4].

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.