An open API service indexing awesome lists of open source software.

https://github.com/phpnexus/cors-laravel

CORS middleware for Laravel
https://github.com/phpnexus/cors-laravel

Last synced: about 1 month ago
JSON representation

CORS middleware for Laravel

Awesome Lists containing this project

README

          

# CORS-Laravel

[![Latest Version](http://img.shields.io/packagist/v/phpnexus/cors-laravel.svg?style=flat-square)](https://github.com/phpnexus/cors-laravel/releases)
[![Build Status](https://img.shields.io/travis/phpnexus/cors-laravel/master.svg?style=flat-square)](https://travis-ci.org/phpnexus/cors-laravel)
[![Software License](https://img.shields.io/badge/license-Apache_2.0-brightgreen.svg?style=flat-square)](LICENSE.md)

Provides CORS middleware for Laravel/Lumen.

## Installation

It's recommended that you use [Composer](https://getcomposer.org/) to install CORS-Laravel:

```bash
$ composer require phpnexus/cors-laravel
```

This package requires PHP 5.5.9 or newer.

## Usage

TODO

## Configuration

Please see [`phpnexus\cors`](https://github.com/phpnexus/cors) documentation for configuration options.

## Versioning

The packages adheres to the [SemVer](http://semver.org/) specification, and there will be full backward compatibility between minor versions.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## License

This package is released under the Apache 2.0 License. See the bundled [LICENSE](https://github.com/phpnexus/cors/blob/master/LICENSE) file for details.