Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gunantos/php-spark

PHP Server Develop
https://github.com/gunantos/php-spark

php server serverless-framework spark

Last synced: 6 days ago
JSON representation

PHP Server Develop

Awesome Lists containing this project

README

        

# PHP SIMPLE SPARK

[![PHP Composer](https://github.com/gunantos/php-spark/actions/workflows/php.yml/badge.svg)](https://github.com/gunantos/php-spark/actions/workflows/php.yml)



PHP Create Spark Serve for develop your PHP Aplication

## USE

- create file ex: `spark`

```php
'127.0.0.1',
'port'=>8080,
'path'=>'',
'indexFiles'=> ['index.php', 'index.html'],
'router' => []
];
$serve = new Appkita\SPARK\Serve($config); // default array empty || []
$serve->run();
```

- open commandprom

```sh
php spark
```

### INSTALATION

`composer require appkita/spark-serve`

### Lear More

- [php](https://www.php.net/manual/en)

### Chat

[Discord](https://discord.gg/bXUWCSaw)

### Sponsor

[Pay Coffe](https://sponsor.app-kita.net)