Skip to content

Commit bfb7c64

Browse files
author
archerbyte
committed
Changed usernames everywhere
1 parent 04256ee commit bfb7c64

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ curl -sS https://getcomposer.org/installer | php
3232
```json
3333
{
3434
"require": {
35-
"t045t/php-api": "dev-develop"
35+
"archerbyte/php-api": "dev-develop"
3636
},
3737
"repositories": [
3838
{
3939
"type": "vcs",
40-
"url": "https://github.com/DevT045T/php-api.git"
40+
"url": "https://github.com/archerbyte/php-api.git"
4141
}
4242
],
4343
"minimum-stability": "dev",
@@ -70,11 +70,11 @@ You can now use the framework in your project. For more information on how to us
7070
### Example: Define Allowed Parameters and Handle API Request
7171

7272
```php
73-
use devt045t\Api;
74-
use devt045t\ApiParameter;
75-
use devt045t\DataTypes;
76-
use devt045t\HttpStatusCodes;
77-
use devt045t\HttpMethods;
73+
use archerbyte\Api;
74+
use archerbyte\ApiParameter;
75+
use archerbyte\DataTypes;
76+
use archerbyte\HttpStatusCodes;
77+
use archerbyte\HttpMethods;
7878

7979
$api = new Api();
8080

@@ -204,8 +204,8 @@ The `ApiParameter` class helps you define the parameters for your API. Each para
204204
### Example of `ApiParameter`:
205205

206206
```php
207-
use devt045t\ApiParameter;
208-
use devt045t\DataTypes;
207+
use archerbyte\ApiParameter;
208+
use archerbyte\DataTypes;
209209

210210
$param = new ApiParameter();
211211
$param->name('username')->required(true)->methods([HttpMethods::POST])->type(DataTypes::STRING);

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "t045t/php-api",
2+
"name": "archerbyte/php-api",
33
"type": "library",
44
"description": "A lightweight and extendable PHP-Api framework for building RESTful APIs",
55
"license": "MIT",
66
"autoload": {
77
"psr-4": {
8-
"devt045t\\": "src/"
8+
"archerbyte\\": "src/"
99
}
1010
},
1111
"authors": [
1212
{
13-
"name": "DevT045T",
14-
"email": "info@t045t.dev"
13+
"name": "archerbyte",
14+
"email": "info@archerbyte.dev"
1515
}
1616
],
1717
"require": {}

src/Api.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace devt045t;
3+
namespace archerbyte;
44

55
/**
66
* Class Api
@@ -9,8 +9,8 @@
99
* method (e.g., GET, POST, etc.) from the server, and provides a method to access the request method.
1010
*
1111
* @package PHP-Api
12-
* @author t045t
13-
* @link https://t045t.dev
12+
* @author archerbyte
13+
* @link https://archerbyte.dev
1414
* @license MIT
1515
*/
1616
class Api

src/ApiParameter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace devt045t;
3+
namespace archerbyte;
44

55
/**
66
* Class ApiParameter
@@ -13,8 +13,8 @@
1313
* useful for validating and processing Api requests.
1414
*
1515
* @package PHP-Api
16-
* @author t045t
17-
* @link https://t045t.dev
16+
* @author archerbyte
17+
* @link https://archerbyte.dev
1818
* @license MIT
1919
*/
2020
class ApiParameter

src/DataTypes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace devt045t;
3+
namespace archerbyte;
44

55
/**
66
* Class DataTypes
@@ -10,8 +10,8 @@
1010
* string, integer, boolean, and more.
1111
*
1212
* @package PHP-Api
13-
* @author t045t
14-
* @link https://t045t.dev
13+
* @author archerbyte
14+
* @link https://archerbyte.dev
1515
* @license MIT
1616
*/
1717
class DataTypes

src/HttpMethods.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace devt045t;
3+
namespace archerbyte;
44

55
/**
66
* Class HttpMethods
@@ -10,8 +10,8 @@
1010
* for validation and retrieving all defined HTTP methods.
1111
*
1212
* @package PHP-Api
13-
* @author t045t
14-
* @link https://t045t.dev
13+
* @author archerbyte
14+
* @link https://archerbyte.dev
1515
* @license MIT
1616
*/
1717
class HttpMethods

src/HttpStatusCodes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace devt045t;
3+
namespace archerbyte;
44

55
/**
66
* Class HttpStatusCodes
@@ -9,8 +9,8 @@
99
* the result of an HTTP request, from successful responses to client and server errors.
1010
*
1111
* @package PHP-Api
12-
* @author t045t
13-
* @link https://t045t.dev
12+
* @author archerbyte
13+
* @link https://archerbyte.dev
1414
* @license MIT
1515
*/
1616
class HttpStatusCodes {

0 commit comments

Comments
 (0)