-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.x' of https://github.com/squirephp/squire into 3.x
- Loading branch information
Showing
12 changed files
with
398 additions
and
20 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "squirephp/continents-pl", | ||
"description": "A library containing the Polish translation of Squire's Continent model.", | ||
"keywords": [ | ||
"squire" | ||
], | ||
"license": "MIT", | ||
"homepage": "https://github.com/squirephp", | ||
"support": { | ||
"issues": "https://github.com/squirephp/squire/issues", | ||
"source": "https://github.com/squirephp/squire" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Dan Harrin", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Krzysztof Rewak", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0", | ||
"illuminate/support": "^8.0", | ||
"squirephp/continents": "self.version", | ||
"squirephp/repository": "self.version" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Squire\\": "src" | ||
} | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Squire\\ContinentsPlServiceProvider" | ||
] | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"minimum-stability": "dev" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
id,code,name | ||
af,af,Afryka | ||
an,an,Antarktyda | ||
as,as,Azja | ||
eu,eu,Europa | ||
na,na,Ameryka Północna | ||
oc,oc,Oceania | ||
sa,sa,Ameryka Południowa |
14 changes: 14 additions & 0 deletions
14
packages/continents-pl/src/ContinentsPlServiceProvider.php
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Squire; | ||
|
||
use Illuminate\Support\ServiceProvider; | ||
use Squire\Models\Continent; | ||
|
||
class ContinentsPlServiceProvider extends ServiceProvider | ||
{ | ||
public function boot(): void | ||
{ | ||
Repository::registerSource(Continent::class, 'pl', __DIR__ . '/../resources/data.csv'); | ||
} | ||
} |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "squirephp/countries-pl", | ||
"description": "A library containing the Polish translation of Squire's Country model.", | ||
"keywords": [ | ||
"squire" | ||
], | ||
"license": "MIT", | ||
"homepage": "https://github.com/squirephp", | ||
"support": { | ||
"issues": "https://github.com/squirephp/squire/issues", | ||
"source": "https://github.com/squirephp/squire" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Dan Harrin", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Krzysztof Rewak", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0", | ||
"illuminate/support": "^8.0", | ||
"squirephp/countries": "self.version", | ||
"squirephp/repository": "self.version" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Squire\\": "src" | ||
} | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Squire\\CountriesPlServiceProvider" | ||
] | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"minimum-stability": "dev" | ||
} |
Oops, something went wrong.