Skip to content

Commit 9ea7a0e

Browse files
committed
fix issue #1 where config file would not publish
1 parent bd2a1a8 commit 9ea7a0e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/AdvStrServiceProvider.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ public function configurePackage(Package $package): void
3030
*/
3131
$package
3232
->name('laravel-advanced-string')
33-
->hasConfigFile();
33+
->hasConfigFile('advanced-string');
3434
}
35-
}
35+
36+
function registeringPackage()
37+
{
38+
$this->publishes([
39+
__DIR__.'/../config/advanced-string.php' => config_path('advanced-string.php'),
40+
], 'laravel-advanced-string-config');
41+
}
42+
}

0 commit comments

Comments
 (0)