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:

  1. Open the file you want to export
  2. Click Export (or right-click in the file tree)
  3. Choose the format:
    • .php for controllers, models, classes
    • .vue for Vue single-file components
    • .js for 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:

  1. Go to Project Settings
  2. Click Export Project
  3. 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:

username/my-laravel-app
Branch: main
View last commit
Last exported: 2h ago
Total files: 47
Changed since last export: 3

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
Branch
Commit message (optional)
  • 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.