Download the PHP package jeremykenedy/laravel-https without Composer

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

Laravel Https

Laravel HTTPS Web and API Checker

Laravel Https is middleware to check for Secure HTTP requests. Laravel Https has can check for HTTPS and throw an error or automatically redirect to HTTPS.

Latest Stable Version Total Downloads StyleCI License: MIT

Features

laravel-https Features
forceHTTPS middlware to check if URL is HTTPS and redirect to HTTPS if not.
checkHTTPS middlware to check if URL is HTTPS and throw an error if not.
Each middleware can be used in individual controllers constructor
Each middleware can be used as a middleware on individual routes
Each middleware can be used as a middleware route group
Returns HTML for HTTP requests
Returns JSON for API requests
Uses localized language files

Requirements

Installation Instructions

  1. From your projects root folder in terminal run:

  2. Register the package

    • Laravel 5.5 and up Uses package auto discovery feature, no need to edit the config/app.php file.

    • Laravel 5.4 and below Register the package with laravel in config/app.php under providers with the following:
  3. Optionally publish the packages views, config file, and language files by running the following from your projects root folder:

  4. Add the middleware to your routes or controller. See Usage.

Configuration

laravel-https can be configured in directly in /config/laravel-https.php if you published the assets. Or you can variables to your .env file.

Environment File

Here are the .env file variables available:

Usage

From Route File:
Route Group Example:
Individual Route Examples:
From Controller File:
Controller File Example:

Screenshots

Http Middleware checkHTTPS API Middleware checkHTTPS

File Tree

Opening an Issue

Before opening an issue there are a couple of considerations:

Open source projects are a the community’s responsibility to use, contribute, and debug.

License

Laravel-https is licensed under the MIT license. Enjoy!


All versions of laravel-https with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0|^8.1|^8.2|^8.3
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 jeremykenedy/laravel-https contains the following files

Loading the files please wait ....