-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,43 @@ | ||
{ | ||
"name": "overtrue/laravel-pinyin", | ||
"description": "Chinese to Pinyin translator.", | ||
"keywords": [ | ||
"laravel", | ||
"pinyin", | ||
"chinese", | ||
"overtrue" | ||
], | ||
"require": { | ||
"overtrue/pinyin": "~4.0" | ||
"name": "overtrue/laravel-pinyin", | ||
"description": "Chinese to Pinyin translator.", | ||
"keywords": [ | ||
"laravel", | ||
"pinyin", | ||
"chinese", | ||
"overtrue" | ||
], | ||
"require": { | ||
"laravel/framework": "^9.0|^10.0", | ||
"overtrue/pinyin": "~4.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Overtrue\\LaravelPinyin\\": "src/" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Overtrue\\LaravelPinyin\\": "src/" | ||
}, | ||
"files": [ | ||
"src/helpers.php" | ||
] | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Overtrue\\LaravelPinyin\\ServiceProvider" | ||
], | ||
"aliases": { | ||
"Pinyin": "Overtrue\\LaravelPinyin\\Facades\\Pinyin" | ||
} | ||
} | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "overtrue", | ||
"email": "[email protected]" | ||
} | ||
"files": [ | ||
"src/helpers.php" | ||
] | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Overtrue\\LaravelPinyin\\ServiceProvider" | ||
], | ||
"aliases": { | ||
"Pinyin": "Overtrue\\LaravelPinyin\\Facades\\Pinyin" | ||
} | ||
} | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "overtrue", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require-dev": { | ||
"brainmaestro/composer-git-hooks": "dev-master", | ||
"laravel/pint": "^1.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/laravel-pinyin. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Overtrue\LaravelPinyin\Facades; | ||
|
||
use Illuminate\Support\Facades\Facade; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/laravel-pinyin. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Overtrue\LaravelPinyin; | ||
|
||
use Illuminate\Support\ServiceProvider as LaravelServiceProvider; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/laravel-pinyin. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
use Illuminate\Support\Facades\Log; | ||
use Overtrue\Pinyin\Pinyin; | ||
|
||
|