Skip to content

Commit

Permalink
Merge pull request #3 from mostafaznv/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mostafaznv authored Jan 17, 2024
2 parents 1d8958f + 946dd47 commit aa18ea1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mostafaznv/pdf-optimizer",
"description": "PHP package to optimize PDF files",
"description": "PDF optimization tool for PHP and Laravel applications",
"keywords": [
"pdf",
"pdf-compressor",
Expand All @@ -9,6 +9,7 @@
"tiny-pdf",
"laravel",
"php",
"ghostscript",
"mostafaznv"
],
"license": "MIT",
Expand Down
9 changes: 5 additions & 4 deletions docs/laravel-deep-dive/queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,18 @@ protected $listen = [

namespace App\Listeners;

use Illuminate\Support\Facades\Log;
use Mostafaznv\PdfOptimizer\Events\PdfOptimizerJobFinished;


class PdfOptimizerJobNotification
{
public function handle(PdfOptimizerJobFinished $event)
{
info("pdf optimization finished:");
info("id: $event->id");
info("status: $event->status");
info("message: $event->message");
Log::info("pdf optimization finished:");
Log::info("id: $event->id");
Log::info("status: $event->status");
Log::info("message: $event->message");
}
}
```
Expand Down

0 comments on commit aa18ea1

Please sign in to comment.