larachat
An AI chat demo application built with Inertia and React with the useStream hook
File Explorer
Download Latest Version (.zip)- dependabot-auto-merge.yml
- lint.yml
- tests.yml
- dependabot.yml
- ChatController.php
- AuthenticatedSessionController.php
- ConfirmablePasswordController.php
- EmailVerificationNotificationController.php
- EmailVerificationPromptController.php
- NewPasswordController.php
- PasswordResetLinkController.php
- RegisteredUserController.php
- VerifyEmailController.php
- PasswordController.php
- ProfileController.php
- ChatController.php
- Controller.php
- HandleAppearance.php
- HandleInertiaRequests.php
- LoginRequest.php
- ProfileUpdateRequest.php
- Chat.php
- Message.php
- User.php
- ChatPolicy.php
- AppServiceProvider.php
- .gitignore
- app.php
- providers.php
- app.php
- auth.php
- cache.php
- database.php
- filesystems.php
- inertia.php
- logging.php
- mail.php
- openai.php
- queue.php
- services.php
- session.php
- ChatFactory.php
- MessageFactory.php
- UserFactory.php
- 0001_01_01_000000_create_users_table.php
- 0001_01_01_000001_create_cache_table.php
- 0001_01_01_000002_create_jobs_table.php
- 2025_05_28_173049_create_chats_table.php
- 2025_05_28_173221_create_messages_table.php
- DatabaseSeeder.php
- .gitignore
- .htaccess
- apple-touch-icon.png
- favicon.ico
- favicon.svg
- index.php
- logo.svg
- robots.txt
- app.css
- alert-dialog.tsx
- alert.tsx
- avatar.tsx
- badge.tsx
- breadcrumb.tsx
- button.tsx
- card.tsx
- checkbox.tsx
- collapsible.tsx
- dialog.tsx
- dropdown-menu.tsx
- icon.tsx
- input.tsx
- label.tsx
- navigation-menu.tsx
- placeholder-pattern.tsx
- scroll-area.tsx
- select.tsx
- separator.tsx
- sheet.tsx
- sidebar.tsx
- skeleton.tsx
- toggle-group.tsx
- toggle.tsx
- tooltip.tsx
- app-content.tsx
- app-header.tsx
- app-logo-icon.tsx
- app-logo.tsx
- app-shell.tsx
- app-sidebar-header.tsx
- app-sidebar.tsx
- appearance-dropdown.tsx
- appearance-tabs.tsx
- breadcrumbs.tsx
- chat-list.tsx
- chat-title-updater.tsx
- conversation.tsx
- delete-user.tsx
- heading-small.tsx
- heading.tsx
- icon.tsx
- input-error.tsx
- nav-footer.tsx
- nav-main.tsx
- nav-user.tsx
- sidebar-title-updater.tsx
- streaming-indicator.tsx
- test-event-stream.tsx
- text-link.tsx
- title-generator.tsx
- user-info.tsx
- user-menu-content.tsx
- use-appearance.tsx
- use-initials.tsx
- use-mobile-navigation.ts
- use-mobile.tsx
- app-header-layout.tsx
- app-sidebar-layout.tsx
- auth-card-layout.tsx
- auth-simple-layout.tsx
- auth-split-layout.tsx
- layout.tsx
- app-layout.tsx
- auth-layout.tsx
- utils.ts
- confirm-password.tsx
- forgot-password.tsx
- login.tsx
- register.tsx
- reset-password.tsx
- verify-email.tsx
- appearance.tsx
- password.tsx
- profile.tsx
- chat.tsx
- dashboard.tsx
- global.d.ts
- index.d.ts
- vite-env.d.ts
- app.tsx
- ssr.tsx
- app.blade.php
- auth.php
- chat.php
- console.php
- settings.php
- web.php
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- AuthenticationTest.php
- EmailVerificationTest.php
- PasswordConfirmationTest.php
- PasswordResetTest.php
- RegistrationTest.php
- PasswordUpdateTest.php
- ProfileUpdateTest.php
- ChatAuthenticationFlowTest.php
- ChatFirstMessageTest.php
- ChatFlowTest.php
- ChatStreamingTest.php
- ChatTest.php
- DashboardTest.php
- ExampleTest.php
- SidebarStateTest.php
- ChatPersistenceTest.php
- ExampleTest.php
- Pest.php
- TestCase.php
- .editorconfig
- .env.example
- .gitattributes
- .gitignore
- .prettierignore
- .prettierrc
- artisan
- CLAUDE.md
- components.json
- composer.json
- composer.lock
- eslint.config.js
- package-lock.json
- package.json
- phpunit.xml
- README.md
- tsconfig.json
- vite.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/laravel/larachat
Downloads the entire project code from GitHub to your computer.
cd larachat
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
> npm run dev
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
3. PHP (Composer)
EasyPrerequisites
composer install
Installs the PHP libraries listed in composer.json.
composer dev
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
