From aa1420caa0b29b5fd1a8db384234e7cef0380dda Mon Sep 17 00:00:00 2001 From: chris brown Date: Tue, 19 Feb 2019 08:15:11 -0800 Subject: [PATCH] renamed router class to be consistent with php class names --- README.md | 2 +- docs/index.html | 2 +- package.json | 2 +- src/{Router.php => YaRouter.php} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{Router.php => YaRouter.php} (100%) diff --git a/README.md b/README.md index dc3c5b3..2b143ae 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Via composer.json ``` { "require": { - "digi-brains/ya-router" : "1.2.0" + "digi-brains/ya-router" : "1.3.0" } } ``` diff --git a/docs/index.html b/docs/index.html index 8d2f3ea..4942fde 100644 --- a/docs/index.html +++ b/docs/index.html @@ -67,7 +67,7 @@

  1. - Set up your index.php file (or whatever file you are pointing your inbound requests to). If you are using an autoloader, like composer Start by requiring the autoloader script: require __DIR__ . '/vendor/autoload.php';. Then use the DigiBrains\YaRouter. If you're not using an autoloader just include the Router.php script + Set up your index.php file (or whatever file you are pointing your inbound requests to). If you are using an autoloader, like composer Start by requiring the autoloader script: require __DIR__ . '/vendor/autoload.php';. Then use the DigiBrains\YaRouter. If you're not using an autoloader just include the YaRouter.php script

  2. diff --git a/package.json b/package.json index 77c2629..30fb20a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ya-router", - "version": "v1.2.0", + "version": "v1.3.0", "description": "YaRouter is a very simple PHP router. It does exactly one thing; routs URL's to views.", "repository": { "type": "git", diff --git a/src/Router.php b/src/YaRouter.php similarity index 100% rename from src/Router.php rename to src/YaRouter.php