# For hosts with no Composer. How to add the API to a php script with require?

**URL:** <https://forum.mautic.org/t/for-hosts-with-no-composer-how-to-add-the-api-to-a-php-script-with-require/17380>\
**Category:** Product Support\
**Created:** [December 11, 2020, 10:24pm UTC](https://forum.mautic.org/t/for-hosts-with-no-composer-how-to-add-the-api-to-a-php-script-with-require/17380 "2020-12-11T22:24:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![modifiedcontent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/modifiedcontent/32/511_2.png) [@modifiedcontent](https://forum.mautic.org/u/modifiedcontent)\
**Post date:** [September 12, 2021, 11:59am UTC](https://forum.mautic.org/t/for-hosts-with-no-composer-how-to-add-the-api-to-a-php-script-with-require/17380/3 "2021-09-12T11:59:13Z")

</div>

I have been [wrestling with this here](https://forum.mautic.org/t/getting-started-with-mautic-api/20669/12), dragged into Composer hell, still stuck.

---

_[View the full topic](https://forum.mautic.org/t/for-hosts-with-no-composer-how-to-add-the-api-to-a-php-script-with-require/17380)._
