이슈특정 모델의 CRUD 후 옵저버에서 모델 attributes 이외 매개변수 또는 서비스 전달하기. 해결방안1. Observer binduse Illuminate\Container\Container;use Illuminate\Database\Eloquent\Model;use Illuminate\Events\Dispatcher;use App\Models\UserModel;use App\Observers\UserObserver;...$args = []; // UserModel Attributes 이외 사용할 매개변수$container = new Container();$container->bind(UserObserver::class, fn($app) => new UserObserver($args));$dis..
라라벨에서 카프카 사용하기laravel 에서 php8.1 이상일 경우 kafka 를 이용할 수 있다. 최근에 업데이트 된 2.x 버전부턴 8.2이상 지원된다.https://junges.dev/documentation/laravel-kafka/v2.0/1-introduction Mateus Junges's blog on PHP and LaravelMateus JUnges is a Laravel developer at Interaction Design Foundation.junges.dev설치하기 - librdkafka-dev 설치하기.apt-get update && apt-get install -y librdkafka-dev - rdkafka 설치pecl install rdkafka# auto yesech..
- Total
- Today
- Yesterday
- password-manager
- php
- msmtp
- MySQL
- observer 매개변수 전달하기
- exception-test
- l5-swagger-response
- graphql
- addMonth
- 정의
- 자바스크립트
- graphql-php
- 라라벨
- redis
- eloquent-observer
- vitepress-plugin-mermaid
- Laravel
- vim
- bitwarden-cli
- addMonthWithoutOverflow
- Python
- laravel-kafka
- 메일
- aaa패턴
- 정규식
- 컨테이너내에서 메일 발송하기
- django
- l5-swagger
- POP3
- vitepress
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 |