Smooth Restaurant
A forever free and opensource restaurant management plugin that is light weight, performance focused and AI native.
by Smooth Restaurant · github.com/sakib3201/smooth-restaurant · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sakib3201/smooth-restaurant/archive/refs/heads/development.zipThis file is for rendering the plugin info on WordPress.org.
The actual plugin readme is in readme.txt.
See: https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/
Development Guide
Requirements
- Node.js 20+ and npm 10+
- PHP 8.1+
- Composer
- Docker (for
@wordpress/env/ Playwright E2E)
Installation
-
Clone the repository:
git clone https://github.com/smoothplugins/smooth-restaurant.git cd smooth-restaurant -
Install PHP dependencies:
composer install -
Install JavaScript dependencies:
npm install
Development Workflow
-
Start the development build with hot reload:
npm run dev -
Create a production build:
npm run build
Testing
-
PHPUnit (unit and integration tests):
composer test composer test:unit composer test:integration -
Jest (JavaScript unit tests):
npm run test:js -
Playwright (end-to-end tests):
npm run test:e2e npm run test:e2e:ui npm run test:e2e:headed
Linting
-
PHPCS (PHP coding standards):
composer cs:check composer cs:fix -
PHPStan (static analysis):
composer stan -
ESLint (JavaScript/TypeScript):
npm run lint:js -
Stylelint (CSS/SCSS):
npm run lint:css
Building for Release
-
Ensure all tests pass:
composer quality npm run test:js -
Build production assets:
npm run build -
Generate translation files:
npm run i18n -
Package the plugin (exclude
node_modules,vendor,tests,.git, etc.).
Contributing
Contributions are welcome! Please:
- Fork the repository and create a feature branch.
- Follow the existing code style (WordPress Coding Standards for PHP,
@wordpress/scriptsconventions for JS). - Write tests for new features and bug fixes.
- Ensure all linting and tests pass before submitting a pull request.
- Update documentation as needed.
License
Smooth Restaurant is free software licensed under the GNU General Public License v2.0 or later (GPL-2.0+).
See readme.txt for full license details.