Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit 5e29d00

Browse files
committed
feat: initial commit
1 parent 6eb0b17 commit 5e29d00

File tree

3 files changed

+5
-85
lines changed

3 files changed

+5
-85
lines changed

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.2.5",
19-
"illuminate/support": "^7.0",
20-
"infyomlabs/laravel-generator-helpers": "^2.0",
21-
"laravel/ui": "^2.0"
18+
"php": "^7.2",
19+
"illuminate/support": "^6.0",
20+
"infyomlabs/laravel-generator-helpers": "^1.0",
21+
"laravel/ui": "^1.0"
2222
},
2323
"autoload": {
2424
"psr-4": {
@@ -28,8 +28,7 @@
2828
"extra": {
2929
"laravel": {
3030
"providers": [
31-
"InfyOm\\StislaPreset\\StislaPresetServiceProvider",
32-
"InfyOm\\StislaPreset\\FortifyStislaPresetServiceProvider"
31+
"InfyOm\\StislaPreset\\StislaPresetServiceProvider"
3332
]
3433
}
3534
}

src/FortifyStislaPresetServiceProvider.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/StislaPreset.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -117,23 +117,6 @@ private function addHomeRoute()
117117
);
118118
}
119119

120-
protected function scaffoldController()
121-
{
122-
if (! is_dir($directory = app_path('Http/Controllers/Auth'))) {
123-
mkdir($directory, 0755, true);
124-
}
125-
126-
$filesystem = new Filesystem();
127-
128-
collect($filesystem->allFiles(base_path('vendor/laravel/ui/stubs/Auth')))
129-
->each(function (SplFileInfo $file) use ($filesystem) {
130-
$filesystem->copy(
131-
$file->getPathname(),
132-
app_path('Http/Controllers/Auth/'.Str::replaceLast('.stub', '.php', $file->getFilename()))
133-
);
134-
});
135-
}
136-
137120
protected function scaffoldAuth()
138121
{
139122
file_put_contents(app_path('Http/Controllers/HomeController.php'), $this->compileHomeControllerStub());
@@ -147,15 +130,6 @@ protected function scaffoldAuth()
147130
$filesystem->copyDirectory(__DIR__.'/../stisla-stubs/views/layouts', resource_path('views/layouts'));
148131
$filesystem->copyDirectory(__DIR__.'/../stisla-stubs/views/profile', resource_path('views/profile'));
149132
$filesystem->copy(__DIR__.'/../stisla-stubs/home.blade.php', resource_path('views/home.blade.php'));
150-
151-
152-
collect($filesystem->allFiles(base_path('vendor/laravel/ui/stubs/migrations')))
153-
->each(function (SplFileInfo $file) use ($filesystem) {
154-
$filesystem->copy(
155-
$file->getPathname(),
156-
database_path('migrations/'.$file->getFilename())
157-
);
158-
});
159133
});
160134
}
161135

0 commit comments

Comments
 (0)