Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 0 additions & 29 deletions .env.example

This file was deleted.

2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

5 changes: 0 additions & 5 deletions .gitignore

This file was deleted.

6 changes: 6 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
1 change: 0 additions & 1 deletion .php-cs-fixer.cache

This file was deleted.

1 change: 0 additions & 1 deletion .phpunit.result.cache

This file was deleted.

25 changes: 25 additions & 0 deletions App/Controller/HomeController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

namespace App\Controller;

use Framework\Http\Response;
use App\Model\User;

class HomeController
{
public function index()
{
return new Response("<h1>Welcome to My PHP Framework!</h1>");
}


public function show()
{
return new Response ('show here');
}

public function submit()
{
return new Response("Form submitted via POST!", 200);
}
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

49 changes: 0 additions & 49 deletions app/Controllers/Admin/RoleController.php

This file was deleted.

19 changes: 0 additions & 19 deletions app/Controllers/Admin/UserController.php

This file was deleted.

56 changes: 0 additions & 56 deletions app/Controllers/Api/V1/UserController.php

This file was deleted.

54 changes: 0 additions & 54 deletions app/Controllers/BlogController.php

This file was deleted.

Loading