{"id":15946496,"url":"https://github.com/inmanturbo/turbohx","last_synced_at":"2025-10-19T06:30:44.491Z","repository":{"id":219698287,"uuid":"749678496","full_name":"inmanturbo/turbohx","owner":"inmanturbo","description":"Send HTMX hx-post, put, patch and delete requests to your laravel/folio routes.","archived":false,"fork":false,"pushed_at":"2025-01-27T11:13:34.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T14:59:33.830Z","etag":null,"topics":["folio","htmx","http","laravel"],"latest_commit_sha":null,"homepage":"","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/inmanturbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"envor"}},"created_at":"2024-01-29T07:09:46.000Z","updated_at":"2025-01-27T11:13:30.000Z","dependencies_parsed_at":"2024-01-29T08:59:31.193Z","dependency_job_id":"558d3198-9855-4d49-a1dd-9bca7acca79e","html_url":"https://github.com/inmanturbo/turbohx","commit_stats":null,"previous_names":["inmanturbo/turbohx"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fturbohx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fturbohx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fturbohx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmanturbo%2Fturbohx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inmanturbo","download_url":"https://codeload.github.com/inmanturbo/turbohx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237073135,"owners_count":19251036,"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":["folio","htmx","http","laravel"],"created_at":"2024-10-07T09:22:07.293Z","updated_at":"2025-10-19T06:30:39.177Z","avatar_url":"https://github.com/inmanturbo.png","language":"PHP","funding_links":["https://github.com/sponsors/envor"],"categories":[],"sub_categories":[],"readme":"# TurboHX\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/inmanturbo/turbohx.svg?style=flat-square)](https://packagist.org/packages/inmanturbo/turbohx)[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/inmanturbo/turbohx/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/inmanturbo/turbohx/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/inmanturbo/turbohx/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/inmanturbo/turbohx/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)[![Total Downloads](https://img.shields.io/packagist/dt/inmanturbo/turbohx.svg?style=flat-square)](https://packagist.org/packages/inmanturbo/turbohx)\n\nAllows you to send `HTTP` `POST`, `PATCH`,`PUT` and `DELETE` requests to your [laravel/folio](https://github.com/laravel/folio) routes.\n\n## Installation\n\nFirst install [laravel/folio](https://laravel.com/docs/10.x/folio#installation)\n\n```bash\ncomposer require laravel/folio\n```\n\n```bash\nphp artisan folio:install\n```\n\nThen install this package\n\n```bash\ncomposer require inmanturbo/turbohx\n```\n\nThat's it! Now you can send all types of `HTMX` and `ajax` requests to your [laravel/folio](https://github.com/laravel/folio) routes and handle them directly within your blade files.\n\n## Usage\n\nThis package extends [laravel/folio](https://github.com/laravel/folio) to add some extra features like allowing `POST`, `PATCH`,`PUT` and `DELETE` `HTTP` methods, mostly to support using [htmx](https://github.com/bigskysoftware/htmx) or perhaps [alpine](https://github.com/alpinejs/alpine) with a few ajax calls. See \u003chttps://github.com/laravel/folio/issues/106\u003e\n\nAlso allows for a wilcard file to work in place of an `index.blade.php` file as described here: \u003chttps://github.com/laravel/folio/pull/119\u003e\n\n\u003e [!CAUTION]\n\u003e This allows all `HTTP` methods on all folio routes!\n\n`Folio` uses the default `Rout::fallback` method which only supports get requests. This just replaces it with `Route::any` method. May be improved in the future to allow more granular control, such as a function similiar to the `name()` function available in folio. `PR`'s welcome!\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [inmanturbo](https://github.com/inmanturbo)\n- [laravel/folio](https://github.com/inmanturbo)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finmanturbo%2Fturbohx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finmanturbo%2Fturbohx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finmanturbo%2Fturbohx/lists"}