Skip to content

Commit

Permalink
Merge pull request #1 from enuenan/Update
Browse files Browse the repository at this point in the history
Update functions to remove static, config and readme
  • Loading branch information
enuenan committed Dec 15, 2023
2 parents 298dbbd + 4ee81f3 commit 2593dd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ php artisan vendor:publish --tag="pathao-courier-config"

Or you can do both in one command

```
```bash
php artisan vendor:publish --provider="Enan\PathaoCourier\PathaoCourierServiceProvider"
```

Add the following environment variables to your `.env` file:
Add the following environment variables to your `.env` file. You can choose the table name of migration before running the migration. Default is 'pathao-courier'

```
PATHAO_DB_TABLE_NAME='pathao-courier' // You can choose the table name of migration before running the migration. Default is 'pathao-courier'
```bash
PATHAO_DB_TABLE_NAME='pathao-courier'
PATHAO_CLIENT_ID=
PATHAO_CLIENT_SECRET=
PATHAO_SECRET_TOKEN=
Expand Down
4 changes: 2 additions & 2 deletions src/PathaoCourierServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function register(): void
// Migration
$this->publishes([
__DIR__ . '/../database' => database_path(),
], 'pathao-migration');
], 'pathao-courier-migrations');
}

/**
Expand All @@ -38,7 +38,7 @@ public function boot(): void
// Migration
$this->publishes([
__DIR__ . '/../database' => database_path(),
], 'pathao-migration');
], 'pathao-courier-migrations');

if ($this->app->runningInConsole()) {
$this->commands([
Expand Down

0 comments on commit 2593dd4

Please sign in to comment.