FreshRSS / Extensions

A repository containing all the official FreshRSS extensions
GNU Affero General Public License v3.0
321 stars 52 forks source link

How to use a library when building an extension? #152

Closed reply2future closed 1 year ago

reply2future commented 1 year ago

I want to use a library like this in my extension, but I have no idea how to achieve it because there is no composer.json. By the way, I'm a beginner in PHP.

Alkarex commented 1 year ago

Did you succeed ( Cf. https://github.com/FreshRSS/Extensions/pull/153 , https://github.com/reply2future/xExtension-NewsAssistant ) or is it still necessary? You can ship libraries along with your own code. You can use composer to download whatever is needed, but all the needed resources must be available in your repository.