1. Go to this page and download the library: Download dan/ai-loom-planner library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dan / ai-loom-planner example snippets
return [
/*
|--------------------------------------------------------------------------
| Tech Stack Description
|--------------------------------------------------------------------------
|
| A multi-line string describing your project's tech stack.
| This is injected into the AI prompt so the plan references the
| correct frameworks, languages, and tools.
|
| Set to null to use the built-in default (Laravel + Next.js + MySQL).
|
*/
'tech_stack' => env('LOOM_PLAN_TECH_STACK', null),
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| Used in AI prompts to give the model project context.
| Defaults to your Laravel app name.
|
*/
'app_name' => env('LOOM_PLAN_APP_NAME', null), // falls back to config('app.name')
/*
|--------------------------------------------------------------------------
| Output Directory
|--------------------------------------------------------------------------
|
| Where generated plans and screenshots are saved.
|
*/
'output_dir' => env('LOOM_PLAN_OUTPUT_DIR', 'docs-and-plans/loom'),
/*
|--------------------------------------------------------------------------
| Templates Directory
|--------------------------------------------------------------------------
|
| Path to a directory containing prompt Blade templates.
| Leave as null to use the package's bundled templates.
| If you publish templates with `vendor:publish --tag=loom-planner-templates`,
| set this to `resource_path('views/vendor/loom-planner')` to load them.
|
*/
'templates_dir' => null,
];