Skip to content

Artisan Commands

Test Connection

Verify your HubSpot API credentials and view your connection configuration:

bash
php artisan hubspot:test-connection

Outputs connection status (success/failure), base URL, rate limit settings, and timeout configuration.

List Properties

Display property definitions for any HubSpot object type:

bash
# List all properties for contacts
php artisan hubspot:properties contacts

# Filter by group name
php artisan hubspot:properties contacts --group=contactinformation

Outputs a table with each property's name, label, type, field type, and group.

List Pipelines

Display pipelines and their stages for deals or tickets:

bash
# List all deal pipelines
php artisan hubspot:pipelines deals

# List all ticket pipelines
php artisan hubspot:pipelines tickets

# Show stages for a specific pipeline
php artisan hubspot:pipelines deals --pipeline=default