Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

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

Lines changed: 11 additions & 14 deletions
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=[email protected]
17-
SMTP_PASSWORD=your_password
18-
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="[email protected]"
17+
MAIL_FROM_NAME=${APP_NAME}
2018

21-
# DEBUG MODE
2219
HOT_RELOAD=true
2320
APP_DEBUG=true
2421
DB_DEBUG=true
Lines changed: 9 additions & 0 deletions
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.
File renamed without changes.

app/Forgery/SchemaDb/Users/Users.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/Guards/AuthGuard.php

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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
{

0 commit comments

Comments
 (0)