A command-line tool for building full-stack PHP + Vue.js applications. Handles build configurations and frontend-backend integration.
Gwack CLI is the companion tool for the Gwack Framework - a PHP framework with Vue.js integration. It provides development tooling and handles project setup and build processes.
# Install globally
npm install -g @gwack/cli
# Or use with npx
npx @gwack/cli create my-awesome-app
# Create a new project
gwack create my-awesome-app
# or
npx gwack create my-awesome-app
# Start development server
cd my-awesome-app
gwack dev
# or
npx @gwack/cli devThat's it! You'll have a running PHP backend and Vue.js frontend with the necessary configuration.
Creates a new Gwack project with default configuration and file structure.
Starts the development environment with hot reloading for Vue components and PHP backend.
Options:
-p, --port <port>- Frontend port (default: 3000)--php-port <port>- PHP server port (default: 8080)-h, --host <host>- Host to bind to (default: localhost)
Builds the application for production with optimization and asset minification.
Options:
-o, --output <dir>- Where to put the built files (default: .output)
- Node.js 20+
- PHP 8.3+
- Composer
For issues, bugs, or feature requests:
- Check out the main Gwack Framework repository
- Open an issue on GitHub