| Install | |
|---|---|
composer require solophp/inertia-svelte-skeleton |
|
| Latest Version: | v1.1.1 |
| PHP: | ^8.1 |
SoloPHP Framework Skeleton Application for Inertia.js and Svelte, ready to start coding.
Follow these steps to set up and run the application:
composer install
public directory:
cd public
php -S localhost:8000
web directory:
cd web
npm install
npm run dev
To create a production build, run:
npm run build
To set up your database connection, you need to configure settings for both local and remote environments.
Fill in the required data for config/settings.local.php (for localhost) and config/settings.php (for remote host).
Use following command to view the list of all available commands.
php cli help
Feel free to modify it according to your needs!