izyanzz/routerphp

Maintainers

Package info

github.com/IzyanzZ/RouterPHP

pkg:composer/izyanzz/routerphp

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2021-12-08 04:39 UTC

This package is not auto-updated.

Last update: 2026-03-13 00:02:06 UTC


README

indonesiamessage

This is project router using PHP

My Github : IzyanzZ

Tutorial

This is example of using RouterPHP

<?php

require_once __DIR__ "vendor/autoload.php";

use IzyanzZ\Router;

$route = new Router();

// Get Method

$route->get("/", function() {
  echo "Hello, World!";
});

// Post Method

$route->post("/", function() {
  echo "Hello, World!";
});

$route->run();