Skip to content

Commit

Permalink
Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Feb 15, 2023
1 parent 94612f6 commit 8d4a1c1
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 61 deletions.
73 changes: 39 additions & 34 deletions composer.json
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"
}
}
9 changes: 0 additions & 9 deletions src/Facades/Pinyin.php
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;
Expand Down
9 changes: 0 additions & 9 deletions src/ServiceProvider.php
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;
Expand Down
9 changes: 0 additions & 9 deletions src/helpers.php
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;

Expand Down

0 comments on commit 8d4a1c1

Please sign in to comment.