--- title: "Convert CodeCanyon Laravel Scripts into a SaaS" description: "How to turn a CodeCanyon Laravel script into a multi-tenant SaaS: the Extended License, a two-folder setup and one AI prompt you can reuse." pageClass: blog-page date: 2026-11-26 author: erag category: saas tags: [CodeCanyon, SaaS, AI Agents] --- # Convert a CodeCanyon Laravel Script into a Multi-Tenant SaaS To turn a CodeCanyon Laravel script into a SaaS, you need a license that allows paid end users, a multi-tenant base where every customer gets their own database, and a careful port of the script's features onto that base. With an AI coding agent, one phased prompt can drive the port: the agent reads the original script, rebuilds it module by module in a starter kit, and stops for your review after each phase. For a real script, that's days or weeks of review, not an afternoon. This is the hub for our series. Below is the license check, the folder setup and a prompt you can reuse. At the end there are guides for popular scripts, each with its own product rules. ## Check the license first CodeCanyon sells two licenses, described on the [Envato licenses page](https://codecanyon.net/licenses/standard): - **Regular License**: "If your end product including the item is going to be free to the end user then a Regular License is what you need." - **Extended License**: "An Extended License is required if the end user must pay to use the end product." A SaaS charges its users, so you need at least the Extended License. Both licenses cover one end product. Freelancers can charge a client for building an end product even under the Regular License, but that's different from charging your own subscribers. Then read the author's own terms, because they can be stricter. Two examples: - The [InfixEdu School ERP](https://codecanyon.net/item/infix-school-academic-management-system/23876323) item page says "One purchase can use a maximum of one school only". - The Perfex CRM terms forbid using the license as a multi-tenant SaaS. We wrote up [what the Perfex CRM license allows](/blog/perfex-crm-to-saas.html) and how to build your own CRM instead. If the terms don't allow what you want, ask the author for written permission. Don't rely on a forum comment. ### Some scripts sell their own SaaS edition Before you convert anything, check whether the author already sells a SaaS version: - [SaaS & Superadmin Module for UltimatePOS](https://codecanyon.net/item/saas-superadmin-module-for-ultimatepos-advance/22394431) - [Worksuite Saas](https://codecanyon.net/item/worksuite-saas-project-management-system/23263417) - [Stocky SaaS](https://codecanyon.net/item/stocky-pos-inventory-management-saas/62663753) - [InfixEdu SAAS Bundle](https://aorasoft.com/infixedu-saas-bundle-school-management-system-software/8278730474), sold on aorasoft.com rather than CodeCanyon If one of these fits, it's usually the fastest way to sell that product as a service. SaaS Laravel is the better fit when you want a separate database per customer, a modern Vue, React, Svelte or Livewire frontend, and code you own and change freely. Our [database-per-tenant guide](/blog/multi-tenant-saas-laravel-database-per-tenant.html) explains why the separate database matters for backups, deletions and data leaks. ## Set up the folders Keep the kit and the original script side by side, so the agent writes in one and only reads the other. ```bash mkdir my-saas && cd my-saas git clone https://github.com/the-erag/saas-laravel-starter-kit-vue.git kit cp -r ~/Downloads/your-script source cp kit/.env.example kit/.env ``` Edit `kit/.env` (at least `APP_URL`, `APP_DOMAIN` and the `DB_*` keys) and create that database. Then install and seed the kit: ```bash cd kit && composer setup && php artisan db:seed && cd .. ``` ```text my-saas/ ├── kit/ ← the AI agent writes here └── source/ ← the AI agent only reads here ``` Swap the clone URL for `react`, `svelte` or `livewire` if you prefer another kit, and replace `your-script` with the unzipped product folder. The kit repositories are private, so you need [repository access](/docs/purchase/repository-access.html) from your purchase before you clone. The [installation docs](/docs/getting-started/installation.html) explain each setup step. The prompt asks the agent never to change `source`, but a request isn't a lock: run `chmod -R a-w source` to make the folder read-only on macOS or Linux. ## The reusable prompt Paste this into Claude Code, Codex or Junie from the `my-saas` folder. Fill in the script name and the product rules. Every kit ships `AGENTS.md`, `CLAUDE.md` and skill files from [Laravel Boost](/blog/laravel-boost-ai-agents.html), so the agent reads the kit's conventions before it writes code. Starting in `my-saas` lets the agent read both folders, but most agents, Claude Code included, load MCP servers (such as Boost's) only from the folder they start in, and Claude Code loads the skills in `kit/.claude/skills` only after it first opens a file in `kit/`. That's why the prompt tells the agent to read `kit/AGENTS.md` and `kit/CLAUDE.md` first. If you want Boost's MCP tools too, start the agent in `kit/` and change `./kit` and `./source` in the prompt to `.` and `../source`. ```text License: before anything else, ask me which license I hold and whether the author's terms allow a paid multi-tenant SaaS. If they don't, stop. You are converting