Skip to content

Commit

Permalink
[update] rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
bmf-san committed Nov 11, 2019
1 parent 318908b commit 3812b3b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 19 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# bmf-php-router
[![Latest Stable Version](https://poser.pugx.org/bmf-san/ahi-router/v/stable)](https://packagist.org/packages/bmf-san/ahi-router)
[![Total Downloads](https://poser.pugx.org/bmf-san/ahi-router/downloads)](https://packagist.org/packages/bmf-san/ahi-router)
[![Latest Unstable Version](https://poser.pugx.org/bmf-san/ahi-router/v/unstable)](https://packagist.org/packages/bmf-san/ahi-router)
[![License](https://poser.pugx.org/bmf-san/ahi-router/license)](https://packagist.org/packages/bmf-san/ahi-router)
[![Monthly Downloads](https://poser.pugx.org/bmf-san/ahi-router/d/monthly)](https://packagist.org/packages/bmf-san/ahi-router)
[![Daily Downloads](https://poser.pugx.org/bmf-san/ahi-router/d/daily)](https://packagist.org/packages/bmf-san/ahi-router)
[![composer.lock](https://poser.pugx.org/bmf-san/ahi-router/composerlock)](https://packagist.org/packages/bmf-san/ahi-router)
[![CircleCI](https://circleci.com/gh/bmf-san/ahi-router/tree/master.svg?style=svg)](https://circleci.com/gh/bmf-san/ahi-router/tree/master)


The simple URL router built with PHP.

Expand All @@ -21,7 +14,7 @@ The simple URL router built with PHP.

require_once("../src/Router.php");

$router = new bmfsan\AhiRouter\Router();
$router = new bmfsan\BmfPhpRouter\Router();

$router->add('/', [
'GET' => 'IndexController@index',
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "bmf-san/ahi-router",
"name": "bmf-san/bmf-php-router",
"description": "The simple URL router built with PHP",
"type": "library",
"license": "MIT",
Expand All @@ -18,8 +18,8 @@
},
"autoload": {
"psr-4": {
"bmfsan\\AhiRouter\\": "src/",
"bmfsan\\AhiRouterTest\\": "tests/"
"bmfsan\\BmfPhpRouter\\": "src/",
"bmfsan\\BmfPhpRouterTest\\": "tests/"
}
},
"require": {
Expand Down
2 changes: 1 addition & 1 deletion example/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require_once("../src/Router.php");

$router = new bmfsan\AhiRouter\Router();
$router = new bmfsan\BmfPhpRouter\Router();

$router->add('/', [
'GET' => 'IndexController@index',
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="AhiRouter Test Suite">
<testsuite name="BmfPhpRouter Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
Expand Down
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace bmfsan\AhiRouter;
namespace bmfsan\BmfPhpRouter;

class Router
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/RouterTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace bmfsan\AhiRouterTest\Feature;
namespace bmfsan\BmfPhpRouterTest\Feature;

use PHPUnit\Framework\TestCase;
use bmfsan\AhiRouter\Router;
use bmfsan\BmfPhpRouter\Router;

class RouterTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/RouterTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace bmfsan\AhiRouteTest\Unit;
namespace bmfsan\BmfPhpRouter\Unit;

use PHPUnit\Framework\TestCase;
use bmfsan\AhiRouter\Router;
use bmfsan\BmfPhpRouter\Router;

class RouterTest extends TestCase
{
Expand Down

0 comments on commit 3812b3b

Please sign in to comment.