Added Project structure, API, Frontend and Websockets

This commit is contained in:
2025-11-08 19:35:47 +00:00
parent 3549f396f6
commit a982d3655f
8311 changed files with 1001261 additions and 0 deletions
@@ -0,0 +1,18 @@
<?php
namespace Laravel\Pail\Guards;
use RuntimeException;
class EnsurePcntlIsAvailable
{
/**
* Checks if the pcntl extension is available.
*/
public static function check(): void
{
if (! function_exists('pcntl_fork')) {
throw new RuntimeException('The [pcntl] extension is required to run Pail.');
}
}
}