@startuml
'https://plantuml.com/component-diagram

package front{
    package assets
    package components
    package model
    package style
    package views
}

database sql{

}

package src {

    package "Api"{

    }

    package "App" {
            package Controller
            package Session
            package Views
    }

    package Core{
        package Data
        package Gateway
        package Http
        package Model
        package Validation
        [Connection]
    }

}

[sql] -- [Connection]

[views] -- [style]
[views] -- [components]
[views] -- [assets]
[views] -- [model]

[Gateway] -- [Connection]

[Validation] -- [Controller]
[Controller] -- [Session]
[Controller] -- [Http]
[Controller] -- [Views]
[Controller] -- [views]
[Controller] -- [Model]
[Model] -- [Gateway]

[Api] -- [Validation]
[Api] -- [Model]
[Api] -- [Http]

@enduml