From php-instrumentation
Use this skill whenever the user needs to set up a Laravel 12 application with PHP 8.3 and Nginx on Ubuntu 24.04. Triggers on mentions of Laravel 12 setup, PHP 8.3 install, Nginx + PHP-FPM configuration, or deploying a Laravel app on EC2. Also applies for local Docker-based Laravel development with PHP 8.3.
How this skill is triggered — by the user, by Claude, or both
Slash command
/php-instrumentation:setup-laravel12-nginxThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up a Laravel 12 application with PHP 8.3 and Nginx on Ubuntu 24.04. Provides the foundation for Datadog APM instrumentation (see `laravel12-dd-tracer` skill).
Set up a Laravel 12 application with PHP 8.3 and Nginx on Ubuntu 24.04. Provides the foundation for Datadog APM instrumentation (see laravel12-dd-tracer skill).
The complete setup is documented in README.md across two phases:
# Build and run locally (from the references/ directory)
docker build -t travellist-laravel12:latest .
docker run -d --name travellist -p 8080:80 travellist-laravel12:latest
Install PHP 8.3, Nginx, PHP-FPM, Composer, and Laravel 12 directly on the EC2 instance. See README.md for the full SSH command sequence covering:
references/travellist-nginx.conf)README.md — Complete phase-by-phase guidereferences/Dockerfile — Docker image for local developmentreferences/travellist-nginx.conf — Nginx server block configurationreferences/routes-web.php — Laravel route snippet (phpinfo endpoint)# Check PHP version
php -v # -> PHP 8.3.x
# Check Laravel version
php /var/www/html/travellist/artisan --version # -> Laravel Framework 12.x.x
# Check homepage returns 200
curl -s -o /dev/null -w "%{http_code}" http://<HOST> # -> 200
# Check phpinfo route
curl -s -o /dev/null -w "%{http_code}" http://<HOST>/phpinfo # -> 200
Cause: Laravel storage directory permissions are incorrect.
Fix: sudo chown -R www-data:www-data /var/www/html/travellist && sudo chmod -R 775 /var/www/html/travellist/storage
Cause: PHP-FPM is not running or misconfigured.
Fix: sudo systemctl restart php8.3-fpm and check the socket path in the Nginx config matches PHP-FPM's listen directive.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub jek-bao-choo/datadog-agentic-plugins --plugin php-instrumentation