A

Sitemap::addUrl() — Method in class Sitemap
Url::addAlternate() — Method in class Url
Document::appendLink() — Method in class Document

Adds a link tag to the document.

Document::appendStyle() — Method in class Document

Adds a CSS style to the document.

Document::appendScript() — Method in class Document

Adds a JS script to the document.

Document::appendInlineScript() — Method in class Document

Adds an inline JS script to the document.

$ Tag#attributes — Property in class Tag
Event::addListener() — Method in class Event

Adds a listener to the event.

File::application_MIME() — Method in class File

Get all application MIME types.

File::audio_MIME() — Method in class File

Get all audio MIME types.

File::all_MIME() — Method in class File

Get all supported MIME types.

ServerRequest::all() — Method in class ServerRequest

Retrieve all query and body parameters.

ServerRequest::addGet() — Method in class ServerRequest

Add a parameter to the query string.

ServerRequest::addToBody() — Method in class ServerRequest

Add a parameter to the request body.

ServerRequest::add() — Method in class ServerRequest

Add a parameter to the request, either to the query string or body based on the HTTP method.

ServerRequest::addFile() — Method in class ServerRequest

Add a file to the uploaded files.

$ View#available_source_paths — Property in class View

List of available source paths for views.

$ View#available_modules_source_paths — Property in class View
View::addModuleSourcePath() — Method in class View

Adds a source path for modules views with a namespace.

View::addSourcePath() — Method in class View

Adds a source path for views, optionally with a namespace.

CSRFVerifier::addException() — Method in class CSRFVerifier

Add a URI pattern to the list of CSRF exceptions.

RouteGroup::addRoute() — Method in class RouteGroup

Add a route to the group.

Router::add() — Method in class Router

Add a route to the router.

Router::addCSRFException() — Method in class Router

Add a CSRF exception.

$ Language#active_language — Property in class Language

The currently active language.

After — Class in namespace App\System\Validator\Rules

B

Bootstrap — Class in namespace App\System
Model::boot() — Method in class Model
View::build() — Method in class View

Resolve and build the view.

Project::boot() — Method in class Project

Executes the project boot file if exists

Router::buildDispatcher() — Method in class Router

Build the route dispatcher.

Before — Class in namespace App\System\Validator\Rules

C

$ Url#changefreq — Property in class Url
Config — Class in namespace App\System
$ Document#canonical — Property in class Document

Canonical URL of the page.

$ Tag#content — Property in class Tag
Controller — Class in namespace App\System\MVC
Controller::copyResources() — Method in class Controller

Copies resources from the module to the destination.

$ Model#casts — Property in class Model
$ Model#connection — Property in class Model
Model::creationUser() — Method in class Model

Generic method that returns the user who created the record

View::compile() — Method in class View

Compile the view content

ModelsObserver::creating() — Method in class ModelsObserver
ModelsObserver::created() — Method in class ModelsObserver
CSRFVerifier — Class in namespace App\System\Router
Router::currentRoute() — Method in class Router

Get the current route.

Session::contains() — Method in class Session

Checks if session contains a value

After::check() — Method in class After
Before::check() — Method in class Before

D

Sitemap::display() — Method in class Sitemap
DiscoveryScript — Class in namespace App\System\Composer
Database — Class in namespace App\System
Document — Class in namespace App\System\Document

Handles the generation and management of HTML document tags, such as meta tags, links, styles, scripts, manifest, robots, and sitemap.

Domain — Class in namespace App\System
Event::dispatch() — Method in class Event

Dispatches the event to all registered listeners.

ModelsObserver::deleting() — Method in class ModelsObserver
ModelsObserver::deleted() — Method in class ModelsObserver
$ Project#description — Property in class Project
MiddlewaresDispatcher::dispatch() — Method in class MiddlewaresDispatcher

Dispatch the middleware at the given index.

RouteGroup::delete() — Method in class RouteGroup

Add a DELETE route to the group.

Router::delete() — Method in class Router

Add a DELETE route.

Session::delete() — Method in class Session

Deletes a value from session.

E

Email — Class in namespace App\Classes
Config::exists() — Method in class Config

Check if the config and/or key you are looking for exists

Env — Class in namespace App\System
$ Env#env_vars — Property in class Env
Event — Class in namespace App\System\Events
$ Manager#events — Property in class Manager
View::exists() — Method in class View

Check if a view exists

F

File — Class in namespace App\System
ServerRequest::filled() — Method in class ServerRequest

Check if a specific key is filled.

ServerRequestFactory::fromGlobals() — Method in class ServerRequestFactory

Create a ServerRequest instance from PHP global variables.

Model::findOr404() — Method in class Model

Finds a model or response with 404

ModelsObserver::forceDeleting() — Method in class ModelsObserver
ModelsObserver::forceDeleted() — Method in class ModelsObserver
RouteGroup::fullPrefix() — Method in class RouteGroup

Get the full prefix for the route group, including parent prefixes.

Translator::find_translations() — Method in class Translator

Recursively loads locale files from a given path.

$ After#fillableParams — Property in class After
$ Before#fillableParams — Property in class Before
Validator::fails() — Method in class Validator

Gets if validation fails.

Validator::failed() — Method in class Validator

Gets validation errors.

G

Config::get() — Method in class Config

Get a config value.

Document::getLinks() — Method in class Document

Returns all links added to the document.

Document::get() — Method in class Document

Returns the singleton instance of the Document class.

Document::getMetaTags() — Method in class Document

Returns all meta tags, or a specific one if provided.

Tag::get_tag_name() — Method in class Tag

Get the tag name

Domain::getHost() — Method in class Domain

Get the current host.

Domain::getOrigin() — Method in class Domain

Get the origin URL.

Env::get() — Method in class Env

Get an environment variable.

Manager::getEvent() — Method in class Manager

Retrieves an existing event or creates a new one if it doesn't exist.

File::getExtensionFromString() — Method in class File

Get the file extension from a filename string.

File::getExtensionFromMIME() — Method in class File

Get the file extension from a MIME type.

File::getMIME() — Method in class File

Get the MIME type from a file extension.

ServerRequest::get() — Method in class ServerRequest

Get the singleton instance of the ServerRequest.

Controller::getDir() — Method in class Controller

Gets the directory of the current class file.

Controller::getClassName() — Method in class Controller

Gets the short class name of the current class.

View::get() — Method in class View

Get a view from filename

View::getPath() — Method in class View

Get the view path

View::getArguments() — Method in class View

Get the view arguments

Project::get() — Method in class Project

Get the current project.

Project::getRootPath() — Method in class Project

Get the project's root path.

Project::getLanguages() — Method in class Project

Get the available languages for the project.

Project::getDefaultLanguage() — Method in class Project

Get the default language for the project.

Project::getModules() — Method in class Project

Get the project active modules

CSRFVerifier::get() — Method in class CSRFVerifier

Get the singleton instance of the CSRFVerifier.

CSRFVerifier::getToken() — Method in class CSRFVerifier

Get the CSRF token from the session.

CSRFVerifier::getTokenInput() — Method in class CSRFVerifier

Generate an HTML input element containing the CSRF token.

Route::getMethods() — Method in class Route

Get the HTTP methods supported by the route.

Route::getHandler() — Method in class Route

Get the handler for the route.

Route::getMiddlewares() — Method in class Route

Get the list of middlewares applied to the route.

Route::getNamespace() — Method in class Route

Get the namespace of the route.

Route::getName() — Method in class Route

Get the name of the route.

Route::getGroup() — Method in class Route

Get the route group the route belongs to.

Route::getPath() — Method in class Route

Get the path of the route.

Route::getParams() — Method in class Route

Get the parameters for the route.

RouteGroup::getParent() — Method in class RouteGroup

Get the parent route group.

RouteGroup::getPrefix() — Method in class RouteGroup

Get the prefix for the route group.

RouteGroup::getRoutes() — Method in class RouteGroup

Get the list of routes in the group.

RouteGroup::get() — Method in class RouteGroup

Add a GET route to the group.

RouteGroup::getMiddlewares() — Method in class RouteGroup

Get the list of middlewares applied to the group.

Router::get() — Method in class Router

Add a GET route.

Router::group() — Method in class Router

Create a route group with a common prefix.

Session::get() — Method in class Session

Get a session value.

Session::get_message() — Method in class Session

Get session messages

Session::get_input() — Method in class Session

Get session inputs

Session::get_history() — Method in class Session

Gets the session navigation history.

Language::get() — Method in class Language

Get the active language.

H

Database::hasConnection() — Method in class Database

Determines if a connection is defined in the ORM.

Project::hasLanguage() — Method in class Project

Check if the project supports a specific language.

Project::hasModule() — Method in class Project

Get if a project has a module

MiddlewaresDispatcher::handle() — Method in class MiddlewaresDispatcher
RouteGroup::head() — Method in class RouteGroup

Add a HEAD route to the group.

Router::head() — Method in class Router

Add a HEAD route.

Router::handle() — Method in class Router

I

Bootstrap::init() — Method in class Bootstrap
$ Document#instance — Property in class Document

Singleton instance of the class.

File::isImage() — Method in class File

Check if the given MIME type or extension is an image.

File::isVideo() — Method in class File

Check if the given MIME type or extension is a video.

File::image_MIME() — Method in class File

Get all image MIME types.

$ ServerRequest#instance — Property in class ServerRequest
ServerRequest::input() — Method in class ServerRequest

Retrieve a specific input value.

ServerRequest::isAjax() — Method in class ServerRequest

Check if the current request is an AJAX request.

View::initSourcePaths() — Method in class View

Initialize all source paths from configuration.

$ Project#instance — Property in class Project
Project::init() — Method in class Project

Bootstraps the whole application: environment, error handling, session, modules, the project's own boot hook, routing and dispatch.

Project::initPackages() — Method in class Project
$ CSRFVerifier#instance — Property in class CSRFVerifier
CSRFVerifier::isException() — Method in class CSRFVerifier

Check if a given URI matches any of the CSRF exceptions.

$ Router#instance — Property in class Router
Router::instance() — Method in class Router

Get or create the singleton instance of the Router.

Language::init() — Method in class Language

Initializes the language setting the memorized language and start translator.

Translator::init() — Method in class Translator

Initializes the translations by loading locale files from modules.

L

$ Url#loc — Property in class Url
$ Url#lastmod — Property in class Url
Controller::load_routes() — Method in class Controller

Loads the module routes if the routes.php file exists in the module directory.

Language — Class in namespace App\System\Translation

M

Manager — Class in namespace App\System\Events
File::message_MIME() — Method in class File

Get all message MIME types.

Model — Class in namespace App\System\MVC
View::module() — Method in class View

Get a module view from filename

View::mergeSections() — Method in class View

Merge view sections content with given sections content

ModelsObserver — Class in namespace App\System\Observers
$ Project#modules — Property in class Project
MiddlewaresDispatcher — Class in namespace App\System\Router
Route::middleware() — Method in class Route

Add a middleware to the route.

Route::mergeGroupMiddlewares() — Method in class Route

Merge the middlewares from a route group.

RouteGroup::middleware() — Method in class RouteGroup

Add a middleware to the group.

Router::matchRoute() — Method in class Router
$ After#message — Property in class After
$ Before#message — Property in class Before

N

View::notFound() — Method in class View

Throw an exception when a view is not found

$ Project#name — Property in class Project
Route::name() — Method in class Route

Set the name of the route.

Route::namespace() — Method in class Route

Set the namespace for the route.

RouteGroup::namespace() — Method in class RouteGroup

Set the namespace for the group.

O

$ Database#orm — Property in class Database
Database::orm() — Method in class Database

Get the ORM instance.

P

$ Url#priority — Property in class Url
DiscoveryScript::postAutoloadDump() — Method in class DiscoveryScript
Document::printMetaTags() — Method in class Document

Prints rendered meta tags.

Document::printStyles() — Method in class Document

Prints rendered links and styles.

Document::printScripts() — Method in class Document

Prints rendered scripts.

Document::printFaviconLinks() — Method in class Document

Prints favicon links if available.

Response::parse() — Method in class Response

Parse a response object and return a formatted HTTP response.

$ View#parsing_progressive — Property in class View

Progressive counter for parsing operations.

View::parent() — Method in class View

Set the view parent

Project — Class in namespace App\System
Project::pushModule() — Method in class Project
RouteGroup::post() — Method in class RouteGroup

Add a POST route to the group.

RouteGroup::patch() — Method in class RouteGroup

Add a PATCH route to the group.

RouteGroup::put() — Method in class RouteGroup

Add a PUT route to the group.

RouteGroup::parseRoutes() — Method in class RouteGroup

Parse the routes in the group, applying parent middlewares and namespaces.

Router::post() — Method in class Router

Add a POST route.

Router::patch() — Method in class Router

Add a PATCH route.

Router::put() — Method in class Router

Add a PUT route.

Session::push_history() — Method in class Session

Adds navigation history to session.

R

Sitemap::render() — Method in class Sitemap
Url::render() — Method in class Url
Str::remove_accents() — Method in class Str

Removes accents from string

Str::remove_symbols() — Method in class Str

Removes anything that is not a letter, number, or space

Str::rand_str() — Method in class Str

Generates a random string of $lengh length

Str::rand_letters_string() — Method in class Str

Generates an only letters string of $lenght length

Str::remove_spaces() — Method in class Str

Remove all spaces from given string

Document::robots() — Method in class Document

Generates and outputs the robots.txt file.

Document::renderMetaTags() — Method in class Document

Returns rendered meta tags.

Document::renderStyles() — Method in class Document

Returns rendered links and styles.

Document::renderScripts() — Method in class Document

Returns rendered scripts (external and inline).

Tag::render() — Method in class Tag

Render the HTML tag as a string

RedirectResponse — Class in namespace App\System\Http
Response — Class in namespace App\System\Http
Response::redirect() — Method in class Response

Create a redirect response.

View::render() — Method in class View

Build and print the view.

ModelsObserver::retrieved() — Method in class ModelsObserver
ModelsObserver::restoring() — Method in class ModelsObserver
ModelsObserver::restored() — Method in class ModelsObserver
ModelsObserver::replicating() — Method in class ModelsObserver
Route — Class in namespace App\System\Router
RouteGroup — Class in namespace App\System\Router
Router — Class in namespace App\System\Router

S

Sitemap — Class in namespace App\Classes\Sitemap
Str — Class in namespace App\Classes
Str::sanitize_string() — Method in class Str

Removes accents, makes string lowercase, replaces multiple spaces with $space

Document::sitemap() — Method in class Document

Generates and outputs the XML sitemap.

Document::setMetaTag() — Method in class Document

Adds a meta tag to the document.

Env::set() — Method in class Env

Set an environment variable.

Env::setFromArray() — Method in class Env

Set environment variables from array.

Event::setListener() — Method in class Event

Sets a single listener for the event, replacing any existing listeners.

RedirectResponse::send() — Method in class RedirectResponse

Sends the HTTP response to the client.

Response::setBody() — Method in class Response

Set the body content of the response.

ServerRequest — Class in namespace App\System\Http
ServerRequestFactory — Class in namespace App\System\Http
View::section() — Method in class View

Set section position inside the view

View::start_style() — Method in class View

Starts style section.

View::stop_style() — Method in class View

Stops style section.

View::start_script() — Method in class View

Starts script section.

View::stop_script() — Method in class View

Stops script section.

View::start_section() — Method in class View

Starts a section.

View::stop_section() — Method in class View

Stops a section.

View::setSectionContent() — Method in class View

Sets the section content

ModelsObserver::saving() — Method in class ModelsObserver
ModelsObserver::saved() — Method in class ModelsObserver
Project::setRootPath() — Method in class Project

Set the project's root path.

Route::setGroup() — Method in class Route

Set the route group the route belongs to.

Route::setPath() — Method in class Route

Set the path of the route.

Route::setParams() — Method in class Route

Set the parameters for the route.

Router::start() — Method in class Router

Start the router, build the dispatcher, and handle the request.

Session — Class in namespace App\System
Session::start() — Method in class Session

Starts the session

Session::stop() — Method in class Session

Stops the session

Session::status() — Method in class Session

Get session status

Session::set() — Method in class Session

Set a session value.

Language::set() — Method in class Language

Set the active language.

Validator::success() — Method in class Validator

Gets if validation succeded.

T

Database::tableExists() — Method in class Database

Determines if table exists

Database::transaction() — Method in class Database

Starts and wraps the code inside a database transaction.

$ Document#title — Property in class Document

Page title.

$ Document#title_append — Property in class Document

Text to append to the title.

Tag — Class in namespace App\System\Document
File::text_MIME() — Method in class File

Get all text MIME types.

ModelsObserver::trashed() — Method in class ModelsObserver
Route::toUrl() — Method in class Route

Generate the URL for the route.

Translator — Class in namespace App\System\Translation
$ Translator#translations — Property in class Translator
Translator::translate() — Method in class Translator

Translates a string using loaded translations and replaces placeholders.

U

Url — Class in namespace App\Classes\Sitemap
Model::user() — Method in class Model

General method that returns the model user

ModelsObserver::updating() — Method in class ModelsObserver
ModelsObserver::updated() — Method in class ModelsObserver

V

File::video_MIME() — Method in class File

Get all video MIME types.

View — Class in namespace App\System\MVC\View
CSRFVerifier::validateRequest() — Method in class CSRFVerifier

Validate the CSRF token in the incoming request.

RouteGroup::view() — Method in class RouteGroup

Add a GET route that returns a view.

Router::view() — Method in class Router

Shortcut for a GET route that returns a view.

Validator — Class in namespace App\System\Validator

W

Document::webmanifest() — Method in class Document

Generates and outputs the web manifest file.

X

File::x_world_MIME() — Method in class File

Get all x-world MIME types.

_

Email::__construct() — Method in class Email

Instantiate \App\Classes\Email object.

Database::__callStatic() — Method in class Database

Allows you to call the ORM's static methods through the Database class

Document::__construct() — Method in class Document

Constructor. Sets the CSRFToken meta tag.

Tag::__construct() — Method in class Tag
Constructor
Event::__construct() — Method in class Event

Event constructor.

RedirectResponse::__construct() — Method in class RedirectResponse

Creates a new instance.

Model::_delete() — Method in class Model

Illuminate\Database\Eloquent\SoftDeletes updates deleted_at only See main/System/Observers/ModelsObserver.php deleting()

View::__construct() — Method in class View

Creates a new instance.

View::__toString() — Method in class View

Returns a string representation of the object.

Project::__construct() — Method in class Project
CSRFVerifier::__construct() — Method in class CSRFVerifier

Constructor for the CSRFVerifier class.

MiddlewaresDispatcher::__construct() — Method in class MiddlewaresDispatcher
Route::__construct() — Method in class Route

Constructor for the Route class.

RouteGroup::__construct() — Method in class RouteGroup

Constructor for the RouteGroup class.

Router::__construct() — Method in class Router
Validator::__construct() — Method in class Validator