installed xefi\laravel-osdd
This commit is contained in:
23
technical/osdd/composer.json
Normal file
23
technical/osdd/composer.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "technical/osdd",
|
||||
"description": "OSDD technical configuration layer",
|
||||
"type": "layer",
|
||||
"version": "1.0.0",
|
||||
"require": {
|
||||
"xefi/laravel-osdd": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Technical\\Osdd\\": "src/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Technical\\Osdd\\Providers\\OsddServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
"prefer-stable": true
|
||||
}
|
||||
10
technical/osdd/config/osdd.php
Normal file
10
technical/osdd/config/osdd.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'layers' => [
|
||||
'paths' => [
|
||||
'functional' => base_path('functional'),
|
||||
'technical' => base_path('technical'),
|
||||
],
|
||||
],
|
||||
];
|
||||
18
technical/osdd/src/Providers/OsddServiceProvider.php
Normal file
18
technical/osdd/src/Providers/OsddServiceProvider.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Technical\Osdd\Providers;
|
||||
|
||||
use Xefi\LaravelOSDD\LayerServiceProvider;
|
||||
|
||||
class OsddServiceProvider extends LayerServiceProvider
|
||||
{
|
||||
public function boot(): void
|
||||
{
|
||||
$this->overrideConfigFrom(__DIR__ . '/../../config/osdd.php', 'osdd');
|
||||
}
|
||||
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user