# changing Hubspot settings using PHP Client Library

**URL:** <https://community.hubspot.com/t/changing-hubspot-settings-using-php-client-library/87485>\
**Category:** APIs & Integrations\
**Tags:** php\
**Created:** [August 15, 2023, 8:07am UTC](https://community.hubspot.com/t/changing-hubspot-settings-using-php-client-library/87485 "2023-08-15T08:07:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LOpdebeke](https://avatars.discourse-cdn.com/v4/letter/l/eada6e/32.png) [@LOpdebeke](https://community.hubspot.com/u/LOpdebeke)\
**Post date:** [August 15, 2023, 8:07am UTC](https://community.hubspot.com/t/changing-hubspot-settings-using-php-client-library/87485/1 "2023-08-15T08:07:38Z")

</div>

Hi all,

I have been using the PHP Client library for some time now and it all works like a charm, however, for very specific reasons I need to be able to change a setting within Hubspot.

The setting I would like th change using PHP Client Library is:  
Settings \> Data Management \> Objects \> Companies  
Boolean → “Create and associate companies with contacts”

My integration imports companies and contacts from a different application but sometimes I want this setting to be on and other times i want this setting to be off.

Is there any way to change this using the PHP Client Library?

Many thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 15, 2023, 8:36am UTC](https://community.hubspot.com/t/changing-hubspot-settings-using-php-client-library/87485/2 "2023-08-15T08:36:37Z")

</div>

Hey @LOpdebeke,

Unforunately there is no way to do this using the HubSpot APIs at present. A user must manually enable or disable the setting.
