Documentation
Exporting Code
Export files, projects, and push to GitHub
Your code in Stellify is yours. Export individual files, your entire project, or push directly to GitHub.
Export Individual Files
Download a single file as standard PHP or Vue:
- Open the file you want to export
- Click Export (or right-click in the file tree)
- Choose the format:
.phpfor controllers, models, classes.vuefor Vue single-file components.jsfor JavaScript modules
The exported file is standard code - no Stellify-specific syntax or dependencies.
Export Entire Project
Download your complete project as a Laravel application:
- Go to Project Settings
- Click Export Project
- Choose export options:
- Include migrations
- Include seeders
- Include assets
You'll receive a ZIP file containing:
your-project/
├── app/
│ ├── Http/
│ │ ├── Controllers/
│ │ └── Middleware/
│ └── Models/
├── resources/
│ ├── js/
│ │ └── components/
│ └── views/
├── routes/
│ ├── web.php
│ └── api.php
├── database/
│ └── migrations/
└── ...
This is a complete Laravel project you can run locally or deploy anywhere.
Export to GitHub
Push your project directly to a GitHub repository.
Quick Export
If you've exported before, you'll see a quick export view showing your last target and how many files have changed:
Click Export Changes to push only modified files. Click Options to change the target repository or branch.
Export Options
The full export form lets you configure where to push:
- Repository: Choose an existing repo or create a new one
- Branch: Target branch (created if it doesn't exist)
- Commit message: Custom message for the commit
- Force full export: Re-export all files, not just changes
What Gets Exported
The GitHub export includes:
- All PHP files (controllers, models, etc.)
- Vue components
- Routes
- Migrations
- Configuration files
- A standard Laravel project structure
Using Exported Code
Once exported, you can:
- Run locally with
php artisan serve - Deploy to any Laravel-compatible host
- Continue development in your local IDE
- Use CI/CD pipelines
- Collaborate with developers not using Stellify
Export Format
Exported code follows Laravel and Vue conventions:
PHP Files
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
public function index()
{
return User::all();
}
}
Vue Components
<template>
<div class="container">
<h1>{{ title }}</h1>
</div>
</template>
<script setup>
import { ref } from 'vue'
const title = ref('Hello World')
</script>
No proprietary formats, no lock-in.
- Previous
- Working with AI