The most popular forked-PHP library for use with the Twitter OAuth REST API.
npm install sweg-twitteroauth

Sweg-TwitterOAuth
    
---
The most popular forked-PHP library for Twitter's OAuth REST API.
- Composer
``console`
composer require swegio/twitteroauth
- npm
`console`
npm i sweg-twitteroauth
1. Install
2. Create a config.php page to store the Twitter OAuth credentialsrequire
3. Use to import config.php (or preferred filename)shipit()
4. Use function intwitteroauth/src/TwitterOAuth.php` to immediately
base64 encode and upload media from URL (as opposed to temporarily storing media)
See documentation at https://twitteroauth.com.
PHP versions listed as "active support" or "security fixes only" are supported.