PHPackages                             phpdominicana/lightwave - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpdominicana/lightwave

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpdominicana/lightwave
=======================

Simple php starter kit

0.0.5(2y ago)483MITPHPPHP ~8.3

Since Jun 21Pushed 1y ago3 watchersCompare

[ Source](https://github.com/PHP-Dominicana/lightwave)[ Packagist](https://packagist.org/packages/phpdominicana/lightwave)[ Docs](https://github.com/PHP-Dominicana/lightwave)[ RSS](/packages/phpdominicana-lightwave/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

Lightwave
=========

[](#lightwave)

This is a simple PHP starter kit created by the PHP dominicana community. It is designed to help you get started with PHP development quickly. It includes a simple web server, a simple router It is designed to be simple and easy to use.

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

[](#installation)

A few simple steps are needed to get this application up and running:

The next step assumes that composer is available in your PATH

```
composer create-project phpdominicana/lightwave [project-name]
cd [project-name]
```

Copy the .env.example file to .env and update the database connection settings.

```
cp .env.example .env
```

Usage with PHP native server
----------------------------

[](#usage-with-php-native-server)

To start the PHP native server, run the following command:

```
sh server.sh
```

Add new routes
--------------

[](#add-new-routes)

Routes are defined in the `routes/web.php` file. This file is loaded by the `RouteServiceProvider`.

To define routes, you can use the `$router` object, which is an instance of `Phpdominicana\Lightwave\Router`. It provides simple methods for common HTTP verbs:

```
