Framework plugins

yf is split into plugins: plugins/<name>/ holds the classes/, modules/ (user side), admin_modules/, templates/, commands/ (console) and share/ of one part of the framework. The class loader finds a class in any plugin (_class('cache') loads plugins/cache/classes/yf_cache.class.php), so the plugins are a layout, not something to install. A site can have plugins of its own in APP_PATH/plugins/ or PROJECT_PATH/plugins/ with the same layout; a plugin with a plugin.json manifest can also add menus, docs pages, log pages and settings (make:plugin scaffolds one). The plugins with docs of their own are listed in the Plugins chapter.

Core and rendering

PluginWhat it gives
commoncommon() helpers, image and upload helpers, the UI preferences (theme, CSS framework of a visitor), the robots, sitemap and browser files.
confconf() data, the application settings and the system settings pages with the Settings catalogue.
tpltpl(), the .stpl template engine and its compiler, the Twig driver, tpl:check, the template manager. Syntax: Demos / tpl.
htmlhtml() widgets and the CSS-framework driver API html5fw() (Bootstrap 3, 4, 5, none). See the html chapter and CSS-framework drivers.
form2form(): the form builder with validation. See the form chapter.
table2table(): the table builder with filters, sorting, paging and htmx lists. See the table chapter.
htmxhtmx helpers and the htmx endpoint of the widgets. See the htmx chapter.
tailwindThe Tailwind CSS (daisyUI) driver of html5fw(), opt-in, with its stylesheet and template variants.
chartsCharts (Chart.js) for pages and dashboards. Demos / charts.
rewritePretty URLs: building and parsing /<object>/<action>/<id> links. Demos / rewrite.
localet() translations, languages and the locale editor. Demos / locale.
assetsjs(), css(), asset(): the asset descriptors, their versions and delivery. See the Assets chapter and asset delivery.
servicesLoading of the third-party PHP libraries of services/ and their versions.
fast_initAnswers for a few hot URLs before the framework starts (ALLOW_FAST_INIT).
dynamicThe dynamic user module: small dynamic answers (error image, assets through PHP, language switch).
testTest pages of the user side and the admin.
docsThese docs and demos (/docs, and in the admin).

Data, cache and services

PluginWhat it gives
dbdb(): drivers (MySQL / MariaDB, PostgreSQL, SQLite, ClickHouse), the query builder (aggregates), schema utils, migrations. Escape values yourself: the query builder does not.
cachecache() with its drivers (files, APCu, database, Memcache, Redis, Valkey), the output cache and the cache purge.
redisThe Redis and Valkey clients (redis()), Redlock, the Redis store of other plugins.
memcachedThe Memcached client.
queuequeue() with Redis, Valkey and Kafka drivers.
pubsubPublish / subscribe on Redis or Valkey.
rabbitmqThe RabbitMQ client.
realtimeChange notices that refresh live admin pages at once (realtime(), the yf_realtime asset); off by default, the pages poll as before. See realtime.
kafkaThe Kafka client and queue driver. See Kafka.
cloud_storageFiles on S3-compatible buckets and Google Cloud Storage. See cloud storage.
cryptocrypto(): market rates of BTC, ETH, USDT, USDC, BNB and more from several sources with a median, conversion with exact amounts, decimals per chain. See crypto currencies.
llmllm(): one API for Claude, OpenAI, Gemini, Grok, Mistral, Kimi and OpenAI-compatible servers, named profiles, routes with fallback. See LLM API.
mapsMaps from one spec: html()->map(), map_view(), form2 map_select(); Leaflet with OpenStreetMap, Mapy.com, own PMTiles (a world basemap is bundled) or custom tiles, click-to-load consent for third-party tiles. See maps.
translate_class('translate'): machine translation over Google, DeepL and Azure with a fallback chain, placeholder and HTML checks, a translation memory and a budget. See machine translation.
sessionPHP sessions with file or database storage, or the PHP handler the site sets.
logslogger() (PSR-3) and the log pages of the admin.
sshCommands and file transfer over SSH to other servers.
ethereumA small Ethereum client.
geoGeoIP lookups (geo_ip), countries, regions and cities, GeoNames. See geo.

Site features

PluginWhat it gives
userSite users: login, registration, lost password, profiles, groups, online users and bot detection. See user modules.
authThe login of users and admins (auth_user, auth_admin) and what protects the admin login. Admin docs: admin login.
oauthLogin with OAuth providers (GitHub, Google, Facebook and others).
apiJSON endpoints of the modules (/api/<object>/<action>) and their OpenAPI document.
contentNews, FAQ and tips, captcha, BB codes, image resize and the upload handler.
static_pagesPages edited in the admin.
home_pageThe home page module.
categoriesCategory trees (_class('cats')) for other modules.
commentsComments under the records of other modules.
notificationsNotifications for users and admins.
dashboardsDashboard boards of widgets for users and admins. Demos / dashboards.
emailsend_mail() with SMTP and provider drivers (Mailgun, SendGrid, SES, Brevo...), e-mail templates.
smsSMS with Twilio, Vonage, TurboSMS drivers and a log driver for development.
paymentUser balances, deposits, payouts and transfers through payment providers.
shopAn online shop. Docs: shop plugin.
seoSEO checks of the site's pages. See SEO.
site_mapThe sitemap.xml of the site. See sitemap.
site_nav_barBreadcrumbs of the pages.
ckeditorThe CKEditor rich text editor and the image uploads of the rich text editors.

Admin panel

These plugins make the admin panel; their guides are in the admin docs.

PluginWhat it gives
adminThe admin panel: accounts, groups, the admin lists and filters, the admin UI kit (_class('admin_ui')).
admin_homeThe admin home page.
sysAdmin tools: blocks and menus editors, cron, file manager, security pages.
doctorThe site doctor: checks of the site with fixes.
debugThe debug console of a request and the debug sessions.
demo_seedDemo content for empty modules.