Skip to content

Commit ee69d95

Browse files
committed
package rename
1 parent 86d9dfb commit ee69d95

File tree

3 files changed

+7
-26
lines changed

3 files changed

+7
-26
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
Laravel DTO [![required php version](https://img.shields.io/packagist/php-v/open-southeners/laravel-dto)](https://www.php.net/supported-versions.php) [![run-tests](https://github.com/open-southeners/laravel-dto/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/open-southeners/laravel-dto/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/open-southeners/laravel-dto/branch/main/graph/badge.svg?token=LjNbU4Sp2Z)](https://codecov.io/gh/open-southeners/laravel-dto) [![Edit on VSCode online](https://img.shields.io/badge/vscode-edit%20online-blue?logo=visualstudiocode)](https://vscode.dev/github/open-southeners/laravel-dto)
1+
Laravel Data Mapper [![required php version](https://img.shields.io/packagist/php-v/open-southeners/laravel-data-mapper)](https://www.php.net/supported-versions.php) [![run-tests](https://github.com/open-southeners/laravel-data-mapper/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/open-southeners/laravel-data-mapper/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/open-southeners/laravel-data-mapper/branch/main/graph/badge.svg?token=LjNbU4Sp2Z)](https://codecov.io/gh/open-southeners/laravel-data-mapper) [![Edit on VSCode online](https://img.shields.io/badge/vscode-edit%20online-blue?logo=visualstudiocode)](https://vscode.dev/github/open-southeners/laravel-data-mapper)
22
===
33

4-
Integrate data transfer objects into Laravel, the easiest way
4+
Extensible data mapper to objects, DTOs, enums, collections, Eloquent models, etc
55

66
## Getting started
77

88
```
9-
composer require open-southeners/laravel-dto
9+
composer require open-southeners/laravel-data-mapper
1010
```
1111

1212
## Documentation
1313

14-
[Official documentation](https://docs.opensoutheners.com/laravel-dto/)
14+
[Official documentation](https://docs.opensoutheners.com/laravel-data-mapper/)
1515

1616
## Partners
1717

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"name": "open-southeners/laravel-data-mapper",
3-
"description": "Integrate data transfer objects into Laravel, the easiest way",
3+
"description": "Extensible data mapper to objects, DTOs, enums, collections, Eloquent models, etc",
44
"license": "MIT",
55
"keywords": [
66
"open-southeners",
77
"laravel",
88
"laravel-package",
99
"data",
1010
"data-transfer-objects",
11+
"data-mapper",
12+
"object-mapper",
1113
"requests",
1214
"http"
1315
],

src/ServiceProvider.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,6 @@ function ($dataClass, $parameters, $app) {
5555
$this->app->alias(PropertyInfoExtractor::class, 'propertyInfo');
5656
}
5757

58-
/**
59-
* Register any application services.
60-
*
61-
* @return void
62-
*/
63-
public function register()
64-
{
65-
//
66-
}
67-
6858
/**
6959
* Register new dynamic mappers.
7060
*/
@@ -83,16 +73,5 @@ public static function registerMapper(string|array $mapper, bool $replacing = fa
8373
public static function getMappers(): array
8474
{
8575
return static::$mappers;
86-
// $mappers = [];
87-
88-
// foreach (static::$mappers as $mapper) {
89-
// $mapperInstance = new $mapper;
90-
91-
// if ($mapperInstance instanceof Mappers\DataMapper) {
92-
// $mappers[] = $mapperInstance;
93-
// }
94-
// }
95-
96-
// return $mappers;
9776
}
9877
}

0 commit comments

Comments
 (0)