├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer.json ├── config └── datastar.php ├── examples └── hello-world │ └── resources │ └── views │ ├── datastar │ └── hello-world.blade.php │ └── index.blade.php ├── phpunit.xml ├── public └── datastar │ └── 1.0.0-beta.11 │ ├── datastar.js │ └── datastar.js.map └── src ├── DatastarEventStream.php ├── DatastarServiceProvider.php ├── Helpers └── Datastar.php ├── Http ├── Controllers │ └── DatastarController.php └── Middleware │ └── RegisterScript.php ├── Models ├── Config.php └── Signals.php ├── Services └── Sse.php └── helpers.php /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Release Notes for Datastar 2 | 3 | ## 1.0.0-beta.8 - 2025-04-15 4 | 5 | ### Added 6 | 7 | - Added a `datastar()->getFragments()` helper method that fetches and merge fragments into the DOM. 8 | 9 | ## 1.0.0-beta.7 - 2025-04-09 10 | 11 | ### Changed 12 | 13 | - Update the Datastar library to version 1.0.0-beta.11. 14 | 15 | ## 1.0.0-beta.6 - 2025-03-01 16 | 17 | ### Changed 18 | 19 | - Update the Datastar library to version 1.0.0-beta.9. 20 | 21 | ## 1.0.0-beta.5 - 2025-02-25 22 | 23 | ### Changed 24 | 25 | - Update the Datastar library to version 1.0.0-beta.8. 26 | 27 | ## 1.0.0-beta.4 - 2025-02-14 28 | 29 | ### Changed 30 | 31 | - Update the Datastar library to version 1.0.0-beta.7. 32 | 33 | ## 1.0.0-beta.3 - 2025-02-12 34 | 35 | ### Changed 36 | 37 | - Extract methods into the SSE service class. 38 | 39 | ## 1.0.0-beta.2 - 2025-02-02 40 | 41 | ### Added 42 | 43 | - Added the `location` Blade directive. 44 | 45 | ## 1.0.0-beta.1 - 2025-01-13 46 | 47 | - Initial beta release. 48 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright © PutYourLightsOn 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | []((https://packagist.org/packages/putyourlightson/laravel-datastar)) 2 | [](https://packagist.org/packages/putyourlightson/laravel-datastar) 3 | 4 |
16 | SSE events will be streamed from the backend to the frontend. 17 |
18 |