hydephp / develop

The HydePHP Source Code Monorepo
https://hydephp.com
MIT License
12 stars 6 forks source link

Support setting authors in the YAML configuration #1719

Closed caendesilva closed 1 week ago

caendesilva commented 1 month ago

From the docs:

Note that YAML settings cannot call any PHP functions, so you can't access helpers like env() for environment variables, nor declare authors or navigation links, as you cannot use facades and objects. https://hydephp.com/docs/1.x/customization

We should find a way to support authors and navigation links from here, possibly by matching input arrays to constructors. We may want to do this in v2 as the navigation system is reworked, so we don't introduce a change that will be broken soon.

caendesilva commented 1 week ago

Splitting this out so that we have one issue for authors and one for navigation links

caendesilva commented 1 week ago

See sister issue https://github.com/hydephp/develop/issues/1790

caendesilva commented 1 week ago

Fixed in https://github.com/hydephp/develop/pull/1798