GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing leafphp.dev โ Modules | Leaf PHP Modules โModules are pieces of Leaf functionality that can be added to your application to extend its capabilities. Unlike many other frameworks, Leaf ships very light out of the box and provides all extra functionality through modules. This allows you to keep your core application lean while only adding the features you need. Installing Modules โModules are Composer packages, so you can install them with Composer: bash If you're using Leaf CLI, you can install official Leaf modules without the bash You can also install multiple modules at once: bash 01 / Leaf workflowLeaf CLIBest for Leaf projects. Short names work for first-party modules, and the command keeps the workflow consistent. 02 / PHP workflowComposerBest when you want the raw PHP package manager flow or are installing modules outside a Leaf app. Using Modules โMost modules integrate directly into Leaf's functional style, so you can use focused helpers without building your own wiring layer. php In Leaf MVC, modules can also work through config files, controllers, models, services, and other structured app pieces. Common Module Groups โ01 / FoundationProduct basicsAuth, sessions, cookies, validation, CSRF, CORS, request/response helpers. 02 / StorageData and stateDatabase, Redis, cache, queues, files, sitemaps, storage integrations. 03 / InterfaceFrontend and viewsBlade, BareUI, Inertia, Vite, frontend asset builds, and view rendering. 04 / OperationsProduction featuresMail, billing, testing, logging, encryption, deployment helpers. Modules and AI Context NewNewInstalled modules stay visible to agentsLeaf keeps module capabilities in shared project context and can produce a compact handoff for external assistants.Introduced in Leaf 5 โModules make your app easier for assistants to understand because installed packages and their configuration are recorded in If you are sharing the app with an external assistant that cannot access the folder, generate a compact handoff after adding modules: bash The command prints a minified view of the shared context, including installed modules, app structure, routes, and conventions. Paste that output into the external assistant so it can use what your app already has instead of inventing new patterns. List of Modules โWe update this list regularly. If you have a module you'd like to see here, feel free to open an issue or create a pull request on our documentation repository. Community-created modules are welcome too.
Community Modules โModules created by the Leaf community are welcome here. They're not officially maintained by the Leaf team, but we're happy to list them. Built something? Open an issue or send a pull request on the documentation repository to add yours. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 โ GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร600. No cookies required. |