From php-instrumentation
Use this skill whenever the user needs to set up a Laravel 8 application with PHP 7.4 and Apache2 on Ubuntu 24.04. Triggers on mentions of Laravel 8 setup, PHP 7.4 install, Apache2 with Laravel, or legacy PHP application deployment on EC2. Also applies for local Docker-based Laravel 8 development.
How this skill is triggered — by the user, by Claude, or both
Slash command
/php-instrumentation:setup-laravel8-apache2The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up a Laravel 8 application with PHP 7.4 and Apache2 on Ubuntu 24.04. Provides the foundation for Datadog APM instrumentation (see `laravel8-dd-tracer` skill).
Set up a Laravel 8 application with PHP 7.4 and Apache2 on Ubuntu 24.04. Provides the foundation for Datadog APM instrumentation (see laravel8-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-laravel8:latest .
docker run -d --name travellist -p 8080:80 travellist-laravel8:latest
Install PHP 7.4, Apache2, Composer 2.2.24, and Laravel 8 on the EC2 instance. See README.md for the full SSH command sequence covering:
references/travellist-project.conf)README.md — Complete phase-by-phase guidereferences/Dockerfile — Docker image for local developmentreferences/travellist-project.conf — Apache VirtualHost configurationreferences/routes-web.php — Laravel route snippet (phpinfo endpoint)# Check PHP version
php -v # -> PHP 7.4.x
# Check Laravel version
php /var/www/html/travellist/artisan --version # -> Laravel Framework 8.x.x
# Check homepage returns 200
curl -s -o /dev/null -w "%{http_code}" http://<EC2_PUBLIC_IP> # -> 200
# Check phpinfo route
curl -s -o /dev/null -w "%{http_code}" http://<EC2_PUBLIC_IP>/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: VirtualHost not enabled or default site still active.
Fix: sudo a2dissite 000-default.conf && sudo a2ensite travellist-project.conf && sudo systemctl restart apache2
Cause: Composer version too new for PHP 7.4.
Fix: Use Composer 2.2.24: curl -sS https://getcomposer.org/installer | sudo php -- --version=2.2.24 --install-dir=/usr/local/bin --filename=composer
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