This package is abandoned and no longer maintained. No replacement package was suggested.

Module that handles request routing from project .env file

v1.0.1 2017-12-17 17:11 UTC

This package is not auto-updated.

Last update: 2021-10-04 19:28:59 UTC


README

Build Status Scrutinizer Code Quality Packagist version Code Coverage

Request routing module for the Daedalus web application framework.

Installation

This module is typically used as part of a Daedalus web application. If you'd like to use it on your own non-Daedalus project, you can add the following to your composer.json file:

{
  "require": {
    "daedalus-web/dotenv": "^2.0"
  }
}

Usage

This module routes incoming requests to the Daedalus web framework to the correct application controller.

// Add a route in your routes/web.php file
Route::get('/app', 'ApplicationController::index');
Route::get('/app/{id}', 'ApplicationController::read');
Route::post('/app', 'ApplicationController::create');

About

Requirements

Daedalus Router is fully tested to work with:

  • PHP 7.0
  • PHP 7.1
  • PHP 7.2

Strictly speaking, this module can be modified to support PHP 5.5+, however we use strict variable typing that is not available in PHP versions before 7.0. Because PHP 5.6 is no longer receiving active support (and will only be receiving security updates for another year), we strongly recommend starting any new project with PHP 7 or later.

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub

Author

Josh Grancell - josh@joshgrancell.com - https://github.com/jgrancell

License

Daedalus Router is licensed under the MIT License - see the LICENSE file for details