---
title: "Yoyo Configuration Generator"
description: "Generate Yoyo PHP framework bootstrap and configuration code. Supports PHP, Blade, and Twig template engines with vanilla PHP or Laravel integration."
url: https://findutils.com/developers/yoyo-config-generator/
category: developers
---

# Yoyo Configuration Generator

Generate Yoyo PHP framework bootstrap and configuration code. Supports PHP, Blade, and Twig template engines with vanilla PHP or Laravel integration.

**Use this tool:** [Yoyo Configuration Generator](https://findutils.com/developers/yoyo-config-generator/)

## Programmatic access

- REST id `yoyo-config-generator`: POST https://api.findutils.com/api/tools/yoyo-config-generator/execute (reference: https://findutils.com/api/yoyo-config-generator/)
- MCP tool `yoyo_config_generator` on https://mcp.findutils.com (reference: https://findutils.com/mcp/yoyo-config-generator/)

## Why Use the Yoyo Configuration Generator?

Setting up Yoyo requires configuring a view provider, registering routes, and wiring up the AJAX endpoint. The configuration varies significantly between template engines and frameworks. This generator produces the exact setup code you need, reducing setup errors.

## Setup Tips

- The views directory must exist before Yoyo can render components.
- For Blade, ensure the cache directory is writable by the web server.
- The Yoyo URL endpoint must match in both the configuration and your route handler.
- Use yoyo_scripts() in your page head to load the required JavaScript automatically.

## Frequently Asked Questions

### What template engines does Yoyo support?

Yoyo supports three template engines: built-in PHP views, Blade (using jenssegers/blade package, no Laravel required), and Twig.

### Can I use Yoyo with Laravel?

Yes. When using Laravel, Yoyo configuration is typically placed in a ServiceProvider. This generator creates a ready-to-use YoyoServiceProvider class.

### What is the Yoyo URL endpoint for?

The URL endpoint is the route that handles AJAX requests from Yoyo components. When a user interacts with a component, Yoyo sends a request to this endpoint to process the update.

### Do I need to install htmx separately?

No. Yoyo bundles htmx and its own JavaScript. The yoyo_scripts() function outputs the necessary script tags automatically.

### What PHP version is required?

Yoyo requires PHP 8.0 or higher.

### Does the Yoyo Config Generator require a signup?

No. It is available with no signup and no usage limits. The bootstrap code is generated in your browser.

### What does yoyo_scripts() do?

It prints the script tags Yoyo needs, htmx included, into your page head, so you do not add them by hand.

### Why must the views directory exist first?

Yoyo renders components from that directory and does not create it. Create it, and for Blade make the cache directory writable by the web server, before the first request.

## Related Tools

- [Yoyo Component Generator](https://findutils.com/developers/yoyo-component-generator/)
- [Yoyo Loading State Builder](https://findutils.com/developers/yoyo-loading-state-builder/)
- [Robots.txt Generator](https://findutils.com/seo/robots-txt-generator/)
- [Meta Tag Generator](https://findutils.com/seo/meta-tag-generator/)
- [JSON-LD Generator](https://findutils.com/seo/json-ld-generator/)
