Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
t
  • Loading branch information
wangta69 committed Nov 15, 2024
1 parent 9b9419c commit 2349fee
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ composer require wangta69/laravel-delivery-tracking
```

## How to Use
### call main page
### call main page (search page)
```
yourdomain.com/delivery-tracking
```
### call available couriers
```
yourdomain.com/delivery-tracking/couriers
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wangta69/laravel-delivery-tracking",
"description": "Delivery Tracking Api",
"keywords": ["laravel", "delivery", "tracking" , "택배", "조회", "추척", "api", "라라벨"],
"keywords": ["laravel", "delivery", "tracking", "택배", "조회", "추척", "api", "라라벨"],
"homepage": "https://www.onstory.fun/doc/programming/laravel/package.delivery-tracking",
"license": "MIT",
"authors": [
Expand Down
12 changes: 11 additions & 1 deletion src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class InstallCommand extends Command
*
* @var string
*/
protected $signature = 'pondol:install-deliverytracking';
protected $signature = 'pondol:install-deliverytracking {type=full}';

/**
* The console command description.
Expand All @@ -30,6 +30,16 @@ public function __construct()

public function handle()
{
$type = $this->argument('type');
$this->installLaravelDeliveryTracking($type);


}

private function installLaravelDeliveryTracking($type) {
// if ($type == 'full') {
// $this->call('pondol:install-common');
// }

$this->info(" Install Laravel Delivery Tracking ");
\Artisan::call('vendor:publish', [
Expand Down
4 changes: 1 addition & 3 deletions src/resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@
</body>

@yield('scripts')
</html>


</html>

0 comments on commit 2349fee

Please sign in to comment.