deuxhuithuit/craft-fonts-api

Adds a simple API to get fonts hosted on the server

1.0.0 2024-10-28 19:02 UTC

This package is auto-updated.

Last update: 2024-10-28 20:58:52 UTC


README

Install

composer require deuxhuithuit/craft-fonts-api
./craft plugin/install fonts-api

It will add a single endpoint:

  • /actions/fonts-api/urls: Will read the content of @webroot/fonts and return the list of font filenames.