Community코딩 & 개발github.com

Taldres/laravel-waitlist

taldres/laravel-waitlist 설치 운영: 접근 및 삭제 요청 처리, 목적 철회, 보존 적용, 목적 달성 시 목록 삭제, waitlist:rekey로 APP_KEY 교체, 목록 내보내기, 라이브 전 전 확인.

laravel-waitlist란 무엇인가요?

이 스킬은 `taldres/laravel-waitlist` 패키지를 사용하는 Laravel 애플리케이션에서 일상적인 데이터 보호 작업을 수행하기 위한 것입니다. 주로 개인정보 접근 요청, 삭제 요청, 동의 철회, 목록 삭제, 데이터 보존 정책 적용, APP_KEY 교체, 목록 내보내기, 처리 기록 확인, 라이브 전 점검 등의 작업을 명령줄 인터페이스(Artisan 명령어)와 PHP API를 통해 처리합니다. 이 패키지는 이중 옵트인(double opt-in), 암호화된 이메일 저장, 이벤트 기반 알림을 지원하며, GDPR 등 개인정보 보호 규정 준수를 돕습니다. 사용자는 각 작업에 대해 적절한 Artisan 명령어나 Facade 메서드를 사용해야 하며, SQL 직접 조작이나 잘못된 키 관리 같은 안티패턴을 피해야 합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Taldres/laravel-waitlist/tree/HEAD/resources/boost/skills/laravel-waitlist-privacy-operations

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Laravel Waitlist: 개인정보 운영

이 스킬은 taldres/laravel-waitlist와 관련된 일상적인 데이터 보호 작업에 사용합니다: 목록에 있는 사람들의 요청 처리, 보존, 키 교체, 내보내기, 그리고 라이브 전 확인.

주요 목표

  • 패키지 자체의 API와 명령어를 사용하여 각 요청을 모든 프로젝트에서 처리하고, 패키지 외부에서 처리해야 할 사항을 명시합니다.

워크플로우

접근 요청

php artisan waitlist:show [email protected] --pretty   # 모든 프로젝트; --json은 기계 판독 가능 복사본
Waitlist::allProjects()->personalData('[email protected]'); // Collection<PersonalData>

삭제 요청

php artisan waitlist:forget [email protected]          # 모든 프로젝트
Waitlist::allProjects()->forget('[email protected]');  // 삭제된 항목 수

삭제는 주소, 주기의 주기 및 동의를 삭제하고 로그 행에서 식별 필드를 지웁니다. 항목당 EntryForgotten 이벤트를 발생시키며, 리스너는 이를 통해 제공자에서 복사본을 삭제합니다. 백업, 큐, 로그, 내보내기 및 제공자 복사본은 별도로 처리해야 합니다.

이메일로 도착한 철회

Waitlist::for('beta')->withdraw('[email protected]', 'newsletter'); // 선택적 목적: 프로젝트의 모든 목록
Waitlist::for('beta')->unsubscribe('[email protected]');            // 이 목록에서 탈퇴

목적 달성 후 목록 삭제

php artisan waitlist:forget --list=beta --all          # 먼저 확인; 터미널이 없으면 --force
Waitlist::for('beta')->forgetAll();

보존

waitlist:prune은 패키지의 스케줄(waitlist.retention.schedule, 15 3 * * *; null은 스케줄링을 사용자에게 맡기며, 실행될 수 없는 cron 표현식은 거부됨)에 따라 실행됩니다. Laravel의 스케줄러가 실행 중이어야 합니다(php artisan schedule:run 매 분). waitlist.retention의 기간: pending_days (30), unsubscribed_days (1095), request_metadata_days (30); null은 데이터를 유지하며, 1970년 이전으로 거슬러 올라가는 기간(36500일 "영원")은 거부됩니다. waitlist:prune은 읽는 모든 기간을 적용하고, 그렇지 않은 기간을 보고하고 실행을 실패 처리합니다: 로그와 종료 코드를 확인하세요. 이는 기술적 기본값이며 법적 권장 사항이 아닙니다. 활성 확인된 항목과 남은 보고 행은 자동으로 만료되지 않습니다.

APP_KEY 교체

  1. 이전 키를 APP_PREVIOUS_KEYS에 넣고, 새 APP_KEY를 설정한 후 배포합니다.
  2. php artisan waitlist:rekey
  3. 대기 중인 작업이나 백업에서 더 이상 필요하지 않으면 이전 키를 제거합니다.

이전 키가 없으면 주소를 읽거나 이메일로 찾을 수 없으며, 각 구독 취소 토큰은 다음에 필요할 때 교체되므로 이전에 전송된 링크는 더 이상 작동하지 않습니다.

내보내기

php artisan waitlist:export beta --status=confirmed --path=storage/app/beta.csv

열은 waitlist.export.columns에서 가져오며, CsvExporter::EXPORTABLE로 제한됩니다(토큰 없음). 파일은 주소를 일반 텍스트로 포함합니다. 작업이 끝나면 삭제하세요.

처리 기록

php artisan waitlist:privacy [--project=]

구성된 패키지 저장소, 목적, 각 목록의 메타데이터 필드, 보존 및 패키지 이벤트에 등록된 리스너를 설명합니다. 이는 입력이며 완전한 기록이 아닙니다: 인프라를 감사하거나 모든 수신자를 찾지는 않습니다.

라이브 전 점검

  • APP_KEY가 데이터베이스와 별도로 백업되었는지 확인
  • 이중 옵트인 활성화; IP 및 사용자 에이전트는 필요하지 않으면 비활성화
  • 프로젝트 및 목록별 필드(->fields())는 가능한 한 적게, 의심스러우면 없음
  • 스케줄러 실행 중; 보존 기간 선택 및 정당화
  • 설정 확인: .env에 빈 WAITLIST_*= 줄 없음(빈 값은 거부됨; 기본값을 위해 해당 줄 삭제), 패키지 업데이트 후 php artisan config:cache 다시 실행(경로 설정 변경 후 route:cache), 로그에 InvalidConfigurationException 없음
  • 가입 양식은 Waitlist::purposes() 또는 GET /waitlist/purposes를 렌더링; 선택적 목적은 체크 해제
  • 확인 리스너는 Waitlist::confirmationMailed()를 기록
  • 모든 메일에는 목적별 구독 취소 링크와 원클릭 헤더가 있음
  • ManageLinkRequested는 주소로만 전송
  • 대기 중인 리스너는 ShouldBeEncrypted를 구현; EntryForgotten, EntryUnsubscribed 및 ConsentWithdrawn이 모든 제공자에 도달
  • 경로가 구성된 경우 봇 보호 및 신뢰할 수 있는 프록시 구성

규칙, 참조 및 템플릿

예제

  • "사용자가 데이터 삭제를 요청했습니다": 요청 확인 후 php artisan waitlist:forget <email> 실행, 제공자 및 내보내기 확인.
  • "출시했고 베타 목록이 목적을 다했습니다": waitlist:forget --list=beta --all.
  • "APP_KEY를 교체했는데 조회가 실패합니다": APP_PREVIOUS_KEYS에 이전 키 복원 후 waitlist:rekey.

안티패턴

  • SQL 또는 WaitlistEntry::query()->delete()로 행 삭제; 삭제는 패키지를 통해 이루어져야 로그가 정리되고 EntryForgotten이 발생합니다.
  • where('email', ...) 검색: 주소는 암호화되어 있습니다. forEmail() 또는 Facade를 사용하세요.
  • 여러 프로젝트에 있는 사람에 대해 Waitlist::forget()(기본 프로젝트만)로 삭제.
  • APP_PREVIOUS_KEYS 없이 APP_KEY 교체.
  • waitlist:privacy 출력을 완전한 Art. 30 기록으로 제시하는 것.

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

Taldres/laravel-waitlist

Use this skill when reviewing Laravel package compatibility across composer constraints, PHP versions, Laravel versions, Testbench versions, dependency stability lanes, Windows CI, or matrix-sensitive code and workflow changes.

Taldres/laravel-waitlist

Use this skill when creating or updating the bundled Laravel Boost skill under resources/boost/skills from the package implementation and package documentation. Trigger after public APIs, commands, config, routes, views, publish tags, README content, or examples change.

Taldres/laravel-waitlist

Use this skill when preparing Laravel package releases: CHANGELOG.md updates, generated release notes, GitHub release workflows, version checks, tags, release validation, or release automation changes. Never publish autonomously.

Taldres/laravel-waitlist

Use this skill when adding Laravel package capabilities or wiring them through the service provider: commands, migrations, routes, config merges, views, translations, assets, middleware, publish tags, workbench files, or console-only behavior.

Taldres/laravel-waitlist

Use this skill when writing, editing, fixing, or reviewing package tests with Pest 4/5 and Orchestra Testbench, including TDD, feature tests, unit tests, type coverage, arch tests, workbench behavior, commands, routes, config, migrations, and publishable resources.

Taldres/laravel-waitlist

Integrate taldres/laravel-waitlist in a Laravel application: define purposes, lists and fields, build the signup form, send the confirmation mail from events, add a preference page, and keep consent, retention and encryption intact.

Taldres/laravel-waitlist

Build the pages of a taldres/laravel-waitlist integration: the signup form with the registered wording, and the confirm, unsubscribe and preference pages, either in Laravel controllers (Blade, Livewire, Inertia) or in an SPA or static site over the package's JSON API, including CORS and bot protection.

Taldres/laravel-waitlist

Turn a taldres/laravel-waitlist waitlist into a launch: invite people in batches in signup order, let invited addresses register, announce the launch to everyone who agreed, and erase the list once its purpose is fulfilled.

Taldres/laravel-waitlist

Send the mails of a taldres/laravel-waitlist integration: the double opt-in confirmation, the preference page link, a welcome mail, launch mails and newsletters to the people who agreed, with the right unsubscribe links, one-click headers and a sender per project.

Taldres/laravel-waitlist

Run the waitlists of several products in one Laravel app with taldres/laravel-waitlist projects: define projects, scope facade calls with project(), resolve the project of HTTP signups, send mail per project, handle requests across all projects, or keep projects in a database for a central waitlist API.

Taldres/laravel-waitlist

Keep a newsletter tool such as Brevo, Mailchimp or Mailcoach in step with a taldres/laravel-waitlist waitlist: add confirmed contacts per purpose, remove them on withdrawal and erasure, and carry unsubscribes made at the provider back into the waitlist via a webhook.

Taldres/laravel-waitlist

Build waitlist statistics with taldres/laravel-waitlist: signups and confirmations per day for charts, totals and confirmation rates for a period, the confirmed count on any past day, and how many people are on a list right now, for dashboards, admin pages and API endpoints.

Taldres/laravel-waitlist

Write feature tests for an application's taldres/laravel-waitlist integration: get the plain tokens from events, assert the confirmation and other mails, test the signup, confirm and unsubscribe flows in PHP and over the package's HTTP routes, and bypass rate limits and bot checks in tests.

관련 스킬