Skip to content
SwizCloudFRPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Router

1. Install composer

composer install

2. Upload the views files to the /resources/views folder.


Create a route

GET
$router->map('GET', 'LINK TO ACCESS IT', 'LINK WHERE THE FILE IS LOCATED', 'NAME OF THE ROUTE');
POST
$router->map('POST', 'LINK TO ACCESS IT', 'LINK WHERE THE FILE IS LOCATED', 'NAME OF THE ROUTE');
PATCH
$router->map('PATCH', 'LINK TO ACCESS IT', 'LINK WHERE THE FILE IS LOCATED', 'NAME OF THE ROUTE');
DELETE
$router->map('DELETE', 'LINK TO ACCESS IT', 'LINK WHERE THE FILE IS LOCATED', 'NAME OF THE ROUTE');

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages