# Script UI > runio/script-ui turns one PHP script into an internal tool with a web page. The script calls functions such as text(), table() and button() from top to bottom, and it runs again on every interaction. To write a tool, read [Script UI on one page](https://script-ui.runio.dev/reference/on-one-page.md) first. It has the rules, every function with its arguments and one whole tool, and the tests of the library hold it against the code. A function that is not on that page does not exist. ## Table of Contents ### Understand it - [What it is for](https://script-ui.runio.dev/guide/what-it-is-for.md) - [How it works](https://script-ui.runio.dev/guide/how-it-works.md) - [Safety and limits](https://script-ui.runio.dev/guide/safety.md) - [With an AI assistant](https://script-ui.runio.dev/guide/ai-assistant.md): How to let an AI assistant write tools: the page that the package brings for it, the lines for AGENTS.md, Laravel Boost and Symfony AI Mate, and what a trial with ten tasks showed. ### Tutorials - [1. Your first tool](https://script-ui.runio.dev/tutorials/first-tool.md) - [2. A tool that changes data](https://script-ui.runio.dev/tutorials/change-data.md) - [3. Inside your application](https://script-ui.runio.dev/tutorials/your-application.md) - [4. A table of 100,000 rows](https://script-ui.runio.dev/tutorials/big-table.md) - [5. A task that takes long](https://script-ui.runio.dev/tutorials/long-task.md) ### Look things up - [Examples](https://script-ui.runio.dev/examples.md) - [Script UI on one page](https://script-ui.runio.dev/reference/on-one-page.md): The whole library on one page: the model, the rules, every function with its arguments and one whole tool. For people, and for an AI assistant that writes a tool. - [All functions](https://script-ui.runio.dev/reference/functions.md) - [What changed](https://script-ui.runio.dev/changelog.md) - [What comes next](https://script-ui.runio.dev/roadmap.md)