Generating an App
How to describe your app idea and generate a full Laravel project with AI
Generating an App
The Chat screen is where every LaraCopilot project begins. Describe what you want to build in plain English, and the AI generates a complete, running Laravel application.
Writing a good prompt
Type your app description in the text box. A good prompt includes the main features, key screens, and any specific requirements.
Prompt limits:
- Minimum 10 characters, at least 3 meaningful words
- Maximum 1,000 characters for initial generation
- Be descriptive — more detail produces better results
Examples of effective prompts:
Build a task management app with user authentication, a kanban board,
task assignments to team members, due dates, and email notifications.Create a simple blog with an admin panel to manage posts and categories.
Include an RSS feed and a public-facing homepage with pagination.Build an invoice generator where users manage clients, add line items with
quantity and unit price, and can export invoices as PDF.Avoid very short or vague prompts like "make a website" or "build an app" — the validator will reject prompts that don't have enough detail to generate meaningful code.
Builder mode
Before submitting, you can choose a generation mode:
| Mode | What it does |
|---|---|
| Build | Generates fully functional code with working logic (default) |
| Design | Focuses on UI and layout — less backend logic |
Use Design mode when you want to prototype a UI quickly and fill in the business logic yourself.
Voice input
Click the microphone icon to dictate your prompt instead of typing.
- Speak naturally — the transcription updates as you talk
- Click the microphone again to stop recording
- The text is added to your existing prompt (up to the 1,000 character limit)
Voice input requires microphone permission in your browser. It may not be supported in all browsers (e.g. Brave with shields up).
Sample prompts
Five pre-built example prompts appear below the input box: Food Ordering, E-commerce Store, Hotel Booking, Task Manager, and Learning Platform. Click any sample and the text auto-types into the input field. You can then edit it before submitting.
Container creation progress
After you submit, LaraCopilot provisions a container and generates your app. A progress bar tracks four stages:
- Setup — initializing the project environment
- Build — installing dependencies and configuring Laravel
- Configure — applying settings and environment variables
- Launch — starting services and running the AI generation
The full process typically takes 2–5 minutes. Once complete, you're automatically redirected to the IDE where your app is live and ready to explore.
Importing a GitHub repository
Instead of generating from scratch, you can import an existing Laravel project from GitHub.
GitHub import requires a Professional plan or higher. It is not available on Free or Starter plans.
Requirements for import:
- Laravel 12+
- PHP 8.2+
- Node.js 20+ (if your project has a
package.json)
How to import:
- Click Import from GitHub below the prompt field
- Paste your GitHub repository URL
- Optionally add a Personal Access Token for private repos (used only for cloning — never stored)
- Click Validate — LaraCopilot checks the detected versions
- If validation passes, click Import
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| "Please provide more details" | Prompt too short | Add more description |
| "Please describe what you want to build" | Too few meaningful words | Write at least 3 words |
| "Not enough credits" | Credit balance is zero | Purchase more credits |
| "Your team is suspended" | Member limit exceeded | Fix in Team Settings |
| Container times out (30 min) | Infrastructure issue | Try again or contact support |