Skip to content

Commit f4a8743

Browse files
authored
Merge pull request #46 from PhpSlides/dev
updated files & folders structure
2 parents 9b475e0 + fc22c01 commit f4a8743

File tree

13 files changed

+29
-37
lines changed

13 files changed

+29
-37
lines changed

.env.example

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
APP_NAME=PhpSlides
22
APP_VERSION=1.4.x
3-
APP_ENV=development
3+
APP_ENV=local
44
JWT_SECRET=
55

6-
# DATABASE INFORMATION
7-
DB_CONN=mysql
6+
DB_CONNECTION=mysql
7+
DB_HOST=127.0.0.1
88
DB_PORT=3306
9-
DB_HOST=0.0.0.0
10-
DB_USER=root
11-
DB_PASS=
9+
DB_USERNAME=root
10+
DB_PASSWORD=
1211

13-
# MAIL SMTP INFORMATION
14-
SMTP_PORT=587
15-
SMTP_HOST=smtp.example.com
16-
SMTP_USERNAME=your_email@example.com
17-
SMTP_PASSWORD=your_password
18-
SMTP_FROM=your_email@example.com
19-
SMTP_FROM_NAME='Your SMTP_FROM_NAME'
12+
MAIL_HOST=127.0.0.1
13+
MAIL_PORT=2525
14+
MAIL_USERNAME=null
15+
MAIL_PASSWORD=null
16+
MAIL_FROM_ADRESS="hello@example.com"
17+
MAIL_FROM_NAME=${APP_NAME}
2018

21-
# DEBUG MODE
2219
HOT_RELOAD=true
2320
APP_DEBUG=true
2421
DB_DEBUG=true

app/Forgery/PhpSlides/Users/Users.php

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
namespace Forgery\PhpSlides\Users;
4+
5+
use PhpSlides\Core\Database\Forgery;
6+
7+
class Users extends Forgery
8+
{
9+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

app/Forgery/SchemaDb/Users/Users.php

-9
This file was deleted.

app/Guards/AuthGuard.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\Guards;
44

5-
use PhpSlides\Web\JWT;
6-
use PhpSlides\Http\Auth\AuthGuard as BaseAuthGuard;
5+
use PhpSlides\Core\Web\JWT;
6+
use PhpSlides\Core\Http\Auth\AuthGuard as BaseAuthGuard;
77

88
final class AuthGuard extends BaseAuthGuard
99
{

app/Http/Api/AdminEndpoint.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\Http\Api;
44

5-
use PhpSlides\Http\Request;
6-
use PhpSlides\Http\ApiController;
5+
use PhpSlides\Core\Http\Request;
6+
use PhpSlides\Core\Http\ApiController;
77

88
final class AdminEndpoint extends ApiController
99
{

app/Http/Controller/UserController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Http\Controller;
44

5-
use PhpSlides\Http\Request;
5+
use PhpSlides\Core\Http\Request;
66

77
final class UserController
88
{

src/routes/api.php

-5
This file was deleted.

src/routes/render.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use PhpSlides\Route;
4-
use PhpSlides\Foundation\Render;
5-
use PhpSlides\Loader\FileLoader;
3+
use PhpSlides\Router\Route;
4+
use PhpSlides\Core\Foundation\Render;
5+
use PhpSlides\Core\Loader\FileLoader;
66

77
include __DIR__ . '/../../vendor/autoload.php';
88

src/routes/web.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use PhpSlides\{Route, view};
3+
use PhpSlides\Router\{Route, view};
44

55
/**
66
* --------------------------------------------------------------------

0 commit comments

Comments
 (0)