{"id":22481451,"url":"https://github.com/kawax/self-ordering","last_synced_at":"2025-08-02T16:30:47.819Z","repository":{"id":38109066,"uuid":"334552008","full_name":"kawax/self-ordering","owner":"kawax","description":"オープンソースのセルフオーダーシステム","archived":false,"fork":false,"pushed_at":"2024-05-29T04:00:58.000Z","size":4114,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-05-29T16:57:38.543Z","etag":null,"topics":["contentful","laravel","microcms","paypay","php","self-order"],"latest_commit_sha":null,"homepage":"https://self-ordering-starter.vercel.app/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kawax.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-31T01:55:55.000Z","updated_at":"2024-08-25T03:33:01.522Z","dependencies_parsed_at":"2023-12-05T02:25:56.214Z","dependency_job_id":"ea7c4187-f10d-47c1-9b06-31d222b97750","html_url":"https://github.com/kawax/self-ordering","commit_stats":{"total_commits":206,"total_committers":4,"mean_commits":51.5,"dds":0.04854368932038833,"last_synced_commit":"42cc95e42c761961e9fd87bd89aa8055e26396ec"},"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawax%2Fself-ordering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawax%2Fself-ordering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawax%2Fself-ordering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawax%2Fself-ordering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kawax","download_url":"https://codeload.github.com/kawax/self-ordering/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228461252,"owners_count":17923761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contentful","laravel","microcms","paypay","php","self-order"],"created_at":"2024-12-06T16:12:46.329Z","updated_at":"2025-08-02T16:30:47.791Z","avatar_url":"https://github.com/kawax.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Self Ordering System\n\n[![packagist](https://badgen.net/packagist/v/revolution/self-ordering)](https://packagist.org/packages/revolution/self-ordering)\n![php](https://badgen.net/packagist/php/revolution/self-ordering)\n![tests](https://github.com/kawax/self-ordering/workflows/tests/badge.svg)\n\nオープンソースのセルフオーダーシステム\n\n![screenshot_1](./docs/screenshot_1.png)\n\n## 目的\nスマホで注文するセルフオーダーの普及。\n\n## 定義\n- **セルフオーダー**：飲食店などの店内で、自分のスマホで注文。スマホアプリのインストールは不要。\n- モバイルオーダー：スマホアプリをインストールして注文。\n\nここで定義してるセルフオーダーをテーブルオーダーと呼ぶこともあるし、店舗側で用意しているタブレットでの注文をセルフオーダーと呼ぶこともある。  \n言葉の定義は世の中的にもまだ固まってないけどここで提供するのはWebシステム一つで実現できるセルフオーダー。  \nスマホのカメラでQRコードを読み込んで、スマホのブラウザで注文システムを表示。アプリのインストールや会員登録は不要。\n\n## 概要\n- 1店舗1システムで動かす。\n- 店舗ごとにカスタマイズして使う前提。\n- 商用利用可能。開発・設置・運用代行をビジネスにして良い。\n- デフォルトでは決済やPOS連携機能は含めない。拡張はできるので必要なら個別に対応。\n- Vercelで動かしやすいようにデータベースなしでの運用も可能にする。\n- バージョンアップしやすいようにLaravel用のcomposerパッケージとして作る。Laravelアプリとしては作らない。ほとんどの機能はパッケージ内に含めるのでLaravel側での開発作業は少なめ。\n\n## デモ\n- https://self-ordering-starter.vercel.app/order\n\n## 動作環境\n- PHP ^8.2\n- Laravel ^12.x\n- Livewire 3.x\n- Tailwind 4.x\n\n## バージョン\n| ver | PHP       | Laravel  |\n|-----|-----------|----------|\n| 1.x | ^7.4/^8.0 | 8.x      |\n| 2.x | ^8.0      | 9.x/10.x |\n| 3.x | ^8.1      | 10.x     |\n| 4.x | ^8.2      | 11.x     |\n| 5.x | ^8.2      | 12.x     |\n\n## インストール\n「Laravelでセルフオーダーシステムを作るためのスターターキット」なので必ずLaravelの新規プロジェクトを作るところから始めてください。`ordering:install`コマンドでファイルが上書きされます。\n\n```shell\ncurl -s \"https://laravel.build/self-ordering-project\" | bash\ncd ./self-ordering-project\n\ncomposer require revolution/self-ordering\n\nphp artisan ordering:install --vercel\n# Vercel用のファイルが不要なら--vercelを付けない\nphp artisan ordering:install\n\nnpm install \u0026\u0026 npm run build\n\n./vendor/bin/sail up -d\n```\n\nhttp://localhost/order\n\n簡単に始めるためのプロジェクトテンプレート。  \nhttps://github.com/kawax/self-ordering-starter\n\n### .env\n```\nORDERING_MENU_DRIVER=array\nORDERING_ADMIN_PASSWORD=\nORDERING_DESCRIPTION=\"\"\n\nORDERING_MICROCMS_API_KEY=\nORDERING_MICROCMS_ENDPOINT=https://\n```\n\n### routes/web.php\n`/`のルートはQRコード表示に使う。\n\n```php\n//Route::get('/', function () {\n//    return view('welcome');\n//});\n\nRoute::view('/', 'ordering::help');\n```\n\nインストール後にページを増やすのは自由。\n\n### アンインストール\n新規プロジェクトにインストールしているはずなのでこのパッケージだけアンインストールはできません。プロジェクトごと終了。\n\n## クイックスタート\n上記の手順でインストール後に必要なことは「メニューデータの管理方法」と「注文情報の送信先」\nを決める。\n\n### ここでの前提\n- 決済機能は使わない。\n- セルフオーダーは口頭での注文取りの代わり。\n\n### メニューデータの管理方法\n店舗側でメニューを変更するなら [microCMS](https://microcms.io/) が一番簡単だろうからmicroCMSにアカウントを作って進める。\n\n### 注文情報の送信先\nメールやLINE Notifyなど「注文された時にすぐに気付ける方法」を選ぶ。\n\n### 店舗側での作業\n- 店内のテーブルすべてに番号を振る。\n- QRコードをテーブルに掲示。\n- 「セルフオーダーの使い方」を掲示。こちらで用意したいけどまだない。\n- セルフオーダーから注文が入った時のオペレーションを確認。\n\n## 仕様\n### ページ\n- ユーザー向けの注文ページ\n  - QRコードを読み込んで表示。テーブル番号を入力。\n  - メニューを選択→注文確認画面→決済を使うなら支払い→注文を送信→注文履歴画面。\n- 店舗向けのダッシュボード\n  - デフォルトでは簡易的なパスワード認証。\n\n### メニューデータ\n- array（デフォルト）\n- microCMS\n- Googleスプレッドシート\n- Contentful\n- データベース\n- POS\n\n### 注文送信先\n基本的にはLaravelの通知機能を使う。\n\n- メール\n- LINE Notify\n- POS\n\n### 決済\n- レジで後払い\n- PayPay\n\n## LICENCE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawax%2Fself-ordering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkawax%2Fself-ordering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawax%2Fself-ordering/lists"}