Add to an Existing App
Introduction
To integrate EvoLayer Base into an existing Laravel application rather than starting from scratch, install the framework package directly via Composer.
Prerequisites
- An existing Laravel application (Laravel 13+).
- Minimum Node.js 22 and npm installed.
- SQLite or PostgreSQL configured. (PostgreSQL is highly recommended for advanced AI features like
pgvector).
Step 1 — Requiring the Package
Install the package via Composer:
bash
composer require xuple/evolayer-baseStep 2 — Running the Installer
Run the interactive installer. This command will prompt you to run migrations, compile the ontology, and optionally publish the React frontend components.
bash
php artisan evolayer:installStep 3 — Building Assets
Compile your frontend assets using Vite:
bash
npm install
npm run buildYou are now ready to use the EvoLayer features within your existing application structure.
Was this page helpful?
Source: xuple/evodevops/resources/js/pages/docs/evolayer-base/how-to/add-to-existing-app.tsx