Skip to content

Commit

Permalink
added several files
Browse files Browse the repository at this point in the history
  • Loading branch information
arif98741 committed Mar 14, 2023
1 parent 94fa5fe commit 5f26687
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
*.iml
*.zip
vendor
test
.phpintel
composer.lock
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
"email": "[email protected]"
}
],
"require": {}
"require": {
"php": ">=7.4",
"ext-json": "*",
"ext-curl": "*",
"touhidurabir/laravel-stub-generator": "^1.0"
}
}
15 changes: 15 additions & 0 deletions config/activity-log.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
return [
/*
*---------------------------------------------------------------------------------------------
| Log will be generate or not
|---------------------------------------------------------------------------------------------
*/
'generate_activity_log' => true,
/*
*--------------------------------------------------------------------------------------------
| Log will be saved as different way such as file, database and more will be added soon
|--------------------------------------------------------------------------------------------
*/
'save_log' => 'file', //file , database
];
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class LaravelBDSmsServiceProvider extends ServiceProvider
class ActivityLogProvider extends ServiceProvider
{

public function register()
Expand All @@ -25,7 +25,10 @@ public function register()

public function boot(): void
{

$this->publishes([
__DIR__ . '/activitylog.php' => config_path('activity-log.php'),
// __DIR__ . '/Stubs/SslCommerzController.stub' => app_path('../app/Http/Controllers/SslCommerzController.php'),
]);
}

}

0 comments on commit 5f26687

Please sign in to comment.