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 ZIP file ready to use with Laravel:
- Go to Project Settings
- Click Download ZIP in the Export Project section
The ZIP includes everything you need:
- All your PHP files (controllers, models, middleware, classes)
- Vue components
- Routes (web.php and api.php)
composer.jsonwith dependencies based on your project capabilitiespackage.jsonfor Vue/Vite setup- Config files generated from your project settings
vite.config.jsandtailwind.config.js
Setting Up Locally
-
Install a fresh Laravel project:
composer create-project laravel/laravel my-project cd my-project -
Extract the ZIP into your Laravel directory, replacing existing files
-
Install dependencies:
composer install npm install -
Configure your environment:
- Copy
.env.exampleto.env - Set your database credentials
- Run
php artisan key:generate
- Copy
-
Run migrations and start the server:
php artisan migrate npm run dev php artisan serve
Your exported project structure:
your-project/
├── app/
│ ├── Http/
│ │ ├── Controllers/
│ │ └── Middleware/
│ └── Models/
├── config/
├── resources/
│ └── js/
│ └── components/
├── routes/
│ ├── web.php
│ └── api.php
├── composer.json
├── package.json
├── vite.config.js
└── tailwind.config.js
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
- Importing WordPress