PHPackages                             folk/laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. folk/laravel

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

folk/laravel
============

Laravel integration for Folk application server

v0.4.2(2w ago)1117↑50%MITPHPPHP &gt;=8.2CI passing

Since May 10Pushed 1w agoCompare

[ Source](https://github.com/Folk-Project/folk-laravel)[ Packagist](https://packagist.org/packages/folk/laravel)[ Docs](https://github.com/Folk-Project/folk-laravel)[ RSS](/packages/folk-laravel/feed)WikiDiscussions develop Synced 1w ago

READMEChangelogDependencies (15)Versions (22)Used By (0)

folk-laravel
============

[](#folk-laravel)

Laravel adapter for Folk. Provides seamless integration -- all your routes, middleware, and controllers work without changes.

**Version:** 0.2.0

Installation
------------

[](#installation)

```
composer require folk/laravel
```

Auto-discovery registers `FolkServiceProvider`, which auto-registers `LaravelHttpHandler` for HTTP dispatch.

Requirements
------------

[](#requirements)

- PHP 8.2+ (ZTS build)
- Laravel 11+
- [folk/sdk](https://github.com/Folk-Project/folk-sdk)
- `folk.so` extension

Setup
-----

[](#setup)

1. Install the package:

```
composer require folk/laravel
```

2. Create `folk.toml` in your project root:

```
[workers]
script = "server.php"
count = 4

[http]
listen = "0.0.0.0:8080"
```

3. Create `server.php` entry point:

```
