hotwired-laravel / hotstream
0.0.6
2023-07-29 22:45 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- jenssegers/agent: ^2.6
- laravel/fortify: ^1.17
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- hotwired-laravel/turbo-laravel: 2.x-dev
- laravel/pint: ^1.0
- laravel/sanctum: ^3.2
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- tonysm/importmap-laravel: ^1.5
- tonysm/tailwindcss-laravel: ^0.10.1
This package is auto-updated.
Last update: 2024-09-10 14:19:13 UTC
README
注意:此项目处于开发中,尚未准备好用于生产。
Hotstream 是 Laravel 的应用程序入门套件。它深受 Laravel Jetstream 启发,但进行了修改以更好地作为 Hotwired 应用程序使用。
它包含 Turbo.js、Stimulus、Importmap Laravel 和 TailwindCSS Laravel。并且具有无 Node 的前端设置。
安装
您可以通过 composer 安装此软件包
composer require hotwired-laravel/hotstream
您可以通过运行以下命令安装 Hotstream:
php artisan hostream:install
或者,您可以选择包含 Teams
php artisan hostream:install --teams
然后,迁移
php artisan migrate
由于我们使用 Importmap Laravel,您需要通过运行来创建符号链接,将 JS 文件夹映射到您的 public/
文件夹(如果您使用 Sail,请记住在 Sail 中运行此操作)
php artisan storage:link
接下来,要完成 TailwindCSS Laravel 的安装,您需要下载 Tailwind CLI 并至少编译一次您的资源
php artisan tailwindcss:download php artisan tailwindcss:build
完成!
文档
Hotstream 的文档可以在 Turbo Laravel 网站的 Hotstream 部分 找到。
贡献
请参阅 CONTRIBUTING 了解详情。
安全漏洞
请查看 我们的安全策略 了解如何报告安全漏洞。
鸣谢
许可证
MIT 许可证 (MIT)。有关更多信息,请参阅 许可证文件。