A

App — Class in namespace Inphinit
App::action() — Method in class App

Register callable or controller for a route

App — Class in namespace Inphinit\Diagnostics
App::action() — Method in class App

Validate method and callback, if valid register callable or controller for a route

$ Debug#assistants — Property in class Debug
Debug::assistant() — Method in class Debug

Convert error message into a link for a search engine or online assistant to analyze the error message. See system/configs/debug.php

Selector::all() — Method in class Selector

Returns a \DOMNodeList that match the specified selector

Console::action() — Method in class Console

Register callable, console controller, and Command instance for a CLI command

FileResponse::available() — Method in class FileResponse

Check if a specific delivery mode is supported by the server environment Note: In the built-in web server, all modes will return true, allowing you to use the simulator to deliver the file

Task::at() — Method in class Task

Shortcut for scheduling the task to run daily at a fixed time.

Storage::access() — Method in class Storage

Set the access time of a file located in the storage directory, preserving the modification time.

$ Rule#alloweds — Property in class Rule
$ Password#alloweds — Property in class Password
$ Treaty#allowedMethods — Property in class Treaty
Arrays — Class in namespace Inphinit\Utility
Strings::ascii() — Method in class Strings

Convert string to ASCII

Url::application() — Method in class Url

Get Url instance from current url

B

BuiltInCommands — Class in namespace Inphinit\Experimental\Cli
Env::bool() — Method in class Env

Get value from $_ENV[...] as boolean

Import::boot() — Method in class Import

Fill libs from ./system/boot/namespaces.php source.

$ Version#build — Property in class Version

C

App::config() — Method in class App

Get the application configs from $_ENV with APP_ prefix key.

Config — Class in namespace Inphinit
App::config() — Method in class App

Validate name and get the application configs from $_ENV with APP_ prefix key.

Checkup — Class in namespace Inphinit\Diagnostics
Debug::classes() — Method in class Debug

Get declared classes

Debug::constants() — Method in class Debug

Get defined constants

Inspector::caller() — Method in class Inspector

Get caller from backtrace php scripts

Selector::count() — Method in class Selector

Count all nodes matching the given CSS selector. If the selector is not valid, it will return false.

Event::clear() — Method in class Event

Clears all registered events and uniqueness flags

Command — Class in namespace Inphinit\Experimental\Cli
Console — Class in namespace Inphinit\Experimental\Cli
Converter — Class in namespace Inphinit\Experimental\Delimited
Converter::csv() — Method in class Converter

Save reader to CSV

Csv — Class in namespace Inphinit\Experimental\Delimited
Reader::converter() — Method in class Reader

Get a Converter instance.

Cache — Class in namespace Inphinit\Experimental\Http
Cache::createHash() — Method in class Cache

Create hash used by cache name and Etag header - This method can be overridden

CookieJar — Class in namespace Inphinit\Experimental\Http
FileGenerator::command() — Method in class FileGenerator

Create command class from file template

FileGenerator::controller() — Method in class FileGenerator

Create controller class from file template

Scheduler::call() — Method in class Scheduler

Register a callback function to execute

Scheduler::command() — Method in class Scheduler

Register a Console command from system/console.php to execute

Task::cron() — Method in class Task

Schedule the task using crontab-like fields.

Storage::clear() — Method in class Storage

Clear contents of storage application directory after specified expires date (or UNIX time), and returns number of deleted files

Cnpj — Class in namespace Inphinit\Experimental\Validation\Rules
Cpf — Class in namespace Inphinit\Experimental\Validation\Rules
CpfCnpj — Class in namespace Inphinit\Experimental\Validation\Rules
File::clearstat() — Method in class File

Clear state files and clear info files from permissions()

Negotiation::contentTypes() — Method in class Negotiation

Get all document types from Accept header and sorted by q-factor (defined by $sort)

Request::cookie() — Method in class Request

Get a value from $_COOKIE (support path using dots)

Response::cache() — Method in class Response

Set HTTP cache or no-cache Note: $seconds and $modified accept English textual datetime descriptions (e.g., 'now', '+1 day', 'last Monday').

Import::classmap() — Method in class Import

Fill libs from autoload_classmap.php source.

Package::cache() — Method in class Package

Caches metadata from composer.lock

Package::clear() — Method in class Package

Clear metadata cache

$ Resource#contentType — Property in class Resource
Session::commit() — Method in class Session

Save session data

Strings::camel() — Method in class Strings

Convert string to camelCase

Version::compare() — Method in class Version

Compare current version with another version

D

App::down() — Method in class App

Put the application into maintenance mode

Debug — Class in namespace Inphinit\Diagnostics
Document — Class in namespace Inphinit\Dom
Document::document() — Method in class Document

Get original document

Document::dump() — Method in class Document

Convert document to XML string, HTML string or array

DomException — Class in namespace Inphinit\Dom
Converter::dom() — Method in class Converter

Populate DOMElement with reader entries

Response::download() — Method in class Response

Force download current response

Resource::dispatch() — Method in class Resource

Instantiates the controller and dispatches its routes against the global $app.

Treaty::dispatch() — Method in class Treaty

Instantiates the controller and dispatches its routes against the global $app.

View::dispatch() — Method in class View

Starts rendering of registered views.

View::data() — Method in class View

Share or remove shared data to Views, shared variables will be added as variables to the views that will be executed later

E

App::exec() — Method in class App

Executes the route callback corresponding to the path, otherwise executes system/errors.php.

$ Debug#editors — Property in class Debug
Debug::editor() — Method in class Debug

Creates a link to open a file in your editor via the protocol. See system/configs/debug.php

Inspector::evalSource() — Method in class Inspector

Identifies the file and line from where the failed eval() was executed

Event — Class in namespace Inphinit
Exception — Class in namespace Inphinit
Command::enableResidues() — Method in class Command

If set to true, entries that don't match any declared option will be collected as residues and passed to the third parameter of the callback, instead of throwing an exception.

Console::exec() — Method in class Console

Receives the arguments to execute the command If the command is not found, an exception will be thrown

Env — Class in namespace Inphinit\Experimental\Environment
Env::entry() — Method in class Env

Get value from $_ENV[...]. If not exists or empty string return aternate value

EnvException — Class in namespace Inphinit\Experimental\Environment
EnvFile — Class in namespace Inphinit\Experimental\Environment
Scheduler::exec() — Method in class Scheduler

Runs every due task. This method must be executed during all CRON/schedule calls.

Markdown::enableErrors() — Method in class Markdown

Enable/disable parse errors

Markdown::enableHtml() — Method in class Markdown

Enable/disable use HTML in markdown body

Rule::exec() — Method in class Rule

Executes the rule on a value.

Cnpj::exec() — Method in class Cnpj

Executes the rule on a value.

Cpf::exec() — Method in class Cpf

Executes the rule on a value.

CpfCnpj::exec() — Method in class CpfCnpj

Executes the rule on a value.

Ip::exec() — Method in class Ip

Executes the rule on a value.

Password::exec() — Method in class Password

Executes the rule on a value.

File::exists() — Method in class File

Checks whether a file or directory exists using case-sensitive path matching, helping developers maintain consistent behavior across Windows development environments and Unix-like production systems Note: File::exists() method is not affected by this configuration

Negotiation::entries() — Method in class Negotiation

Parse any header with q-factor value

Negotiation::encodings() — Method in class Negotiation

Get all encodings from Accept-Encoding header and sort by q-factor (defined by $sort)

View::exists() — Method in class View

Check if view exists in ./application/View/ folder

F

$ App#filters — Property in class App
Debug::functions() — Method in class Debug

Get declared functions

Document::fromArray() — Method in class Document

Convert Array to DOM

Selector::first() — Method in class Selector

Returns the first element or node within the document that matches the specified selector.

Reader::fetch() — Method in class Reader

Fetch a row from file pointer

Env::float() — Method in class Env

Get value from $_ENV[...] as float

Env::fillInVariables() — Method in class Env
EnvFile::fill() — Method in class EnvFile

Fill the values of environment variables

FileResponse — Class in namespace Inphinit\Experimental\Http
Forwarded — Class in namespace Inphinit\Experimental\Http
FileGenerator — Class in namespace Inphinit\Experimental\Scaffolding
Markdown::fromString() — Method in class Markdown

Convert a markdown string into an HTML string with paragraphs

Markdown::fromInlineString() — Method in class Markdown

Convert a markdown string into an HTML string (inline) without paragraphs

Markdown::fromFile() — Method in class Markdown

Convert a markdown file into an HTML string with paragraphs

FailureException — Class in namespace Inphinit\Experimental\Validation
$ Rule#failure — Property in class Rule
Validator::field() — Method in class Validator

Rules can be a string separated by | or an array (use an array for regex: rules, since patterns may contain |).

Validator::failures() — Method in class Validator

Returns all error messages

File — Class in namespace Inphinit\Filesystem
Negotiation::fromString() — Method in class Negotiation

Create a Negotiation instance based in string

Import::files() — Method in class Import

Fill script files from autoload_files.php source.

Treaty::formatPath() — Method in class Treaty

Converts a class method suffix to a kebab-case URL segment.

$ Url#fragment — Property in class Url
View::forceRender() — Method in class View

Force the View::render method to render at the time it is called

G

Checkup::getErrors() — Method in class Checkup

Retrieve all detected configuration errors

Checkup::getWarnings() — Method in class Checkup

Retrieve all detected configuration warnings

Checkup::getIniFiles() — Method in class Checkup

Retrieve all ini files

Checkup::getPhpBuildDate() — Method in class Checkup

Get PHP build date (backward compatibility support)

Document::getNamespaces() — Method in class Document

Get namespace attributes from root element or specific element

Command::getName() — Method in class Command

They get the name from the command

Command::getOptions() — Method in class Command

They obtain the (long) options that the command accepts

Command::getShortOptions() — Method in class Command

They obtain the short options that are equivalent to the (long) options

Console::getCommand() — Method in class Console

Get a command by name

Reader::getHeaders() — Method in class Reader

Get headers from file

Reader::getStream() — Method in class Reader

Get file pointer resource

Forwarded::getIp() — Method in class Forwarded

Get IP

Forwarded::getProto() — Method in class Forwarded

Get protocol/scheme (https or http)

Forwarded::getHost() — Method in class Forwarded

Get host

Forwarded::getPrefix() — Method in class Forwarded

Get prefix

Rule::getFailure() — Method in class Rule

Returns a string if a failure occurs; otherwise, returns null

Validator::get() — Method in class Validator

Create a Validator instance using $_GET

Validator::getRuleInstance() — Method in class Validator

Get an instance of an extended rule

Size::get() — Method in class Size

Get file size using defined modes

Request::get() — Method in class Request

Get a value from $_GET, if $_GET is a array multidimensional, you can use dot like path: If $_GET['foo'] returns this ['baz' => ['baz' => 1]] use Request::get('foo.bar.baz') for return 1

Import::getLibs() — Method in class Import

Return array of libs

Session::getId() — Method in class Session

Get current ID from session

PropertyAccessor::getValue() — Method in class PropertyAccessor

Read array or object by path using dot

H

Request::header() — Method in class Request

Get HTTP header from current request

Response::header() — Method in class Response

Shortcut for set header Note: While PHP internally discards headers containing line breaks and issues a warning, such content is explicitly forbidden by this function. An exception will now be thrown if line breaks are detected, preventing both silent issues and potential misinterpretations of header behavior.

$ Url#host — Property in class Url

I

Inspector — Class in namespace Inphinit\Diagnostics
Env::int() — Method in class Env

Get value from $_ENV[...] as integer

Task::interval() — Method in class Task

Schedule the task to run repeatedly every given number of seconds, counted from its last execution.

Task::isBackground() — Method in class Task

Whether this task should be dispatched as a detached background process

Task::isDue() — Method in class Task

Checks whether the task is due to run now, given the last time it ran

Rule::isAllowed() — Method in class Rule

Check if the rules are accepted

Ip — Class in namespace Inphinit\Experimental\Validation\Rules
Request::is() — Method in class Request

Checks if the request matches a specific type: HTTPS, XHR, Pjax, prefetch, save-data, GPC, or a standard HTTP method (e.g., GET, POST).

Import — Class in namespace Inphinit\Packages
Package::info() — Method in class Package

Get package info

Arrays::iterable() — Method in class Arrays

Similar to is_iterable from PHP 7.1.0+

Arrays::indexed() — Method in class Arrays

Check if array is indexed, like ['foo', 'bar']. Similar to array_is_list

J

Converter::json() — Method in class Converter

Save reader to JSON

K

Status::known() — Method in class Status

Checks if the HTTP code is known

Arrays::ksort() — Method in class Arrays

Ksort recursive

Strings::kebab() — Method in class Strings

Convert string to kebab-case

L

Document::loadFile() — Method in class Document

Load file

Document::loadString() — Method in class Document

Load string

File::lines() — Method in class File

Read lines from a file

Negotiation::languages() — Method in class Negotiation

Get all languages from Accept-Language header sorted by q-factor (defined by $sort)

Import::logs() — Method in class Import

Get log

M

App::maintenance() — Method in class App

Checks if the application is in maintenance mode.

Cache::match() — Method in class Cache

Check If-None-Match with ETag and If-Modified-Since with cache modified datetim

Method — Class in namespace Inphinit\Experimental\Http
Markdown — Class in namespace Inphinit\Experimental\Utility
Storage::mkdir() — Method in class Storage

Create the directory in storage recursively if it does not exist.

Storage::modified() — Method in class Storage

Set the modified time of a file located in the storage directory, preserving the access time.

$ Rule#messages — Property in class Rule
$ Cnpj#messages — Property in class Cnpj
$ Cpf#messages — Property in class Cpf
$ CpfCnpj#messages — Property in class CpfCnpj
$ Ip#messages — Property in class Ip
$ Password#messages — Property in class Password
Status::message() — Method in class Status

Get message by HTTP code

Resource::mount() — Method in class Resource

Registers routes for each resource method implemented by this class.

Treaty::mount() — Method in class Treaty

Scans public instance methods and registers matching ones as routes.

Url::modify() — Method in class Url

Creates a new object with modified:

  • Scheme is modified if the SCHEME_ALIGN flag is used
  • Host is modified if the HOST_IDNA_ASCII flag is used
  • Path is modified if the PATH_ASCII, PATH_UNICODE, or PATH_SLUG flags are used
  • Query fields are sorted if the SORT_QUERY flag is used
$ Version#major — Property in class Version
$ Version#minor — Property in class Version

N

$ App#namespacePrefix — Property in class App
$ Console#namespacePrefix — Property in class Console
Negotiation — Class in namespace Inphinit\Http

O

Event::on() — Method in class Event

Registers a callback to an event with optional priority. Note: If any subscribed callback returns a boolean false, further execution of subsequent callbacks will be halted

Event::once() — Method in class Event

It makes a type of event unique, ensuring that all registered events of that type are triggered only once.

Event::off() — Method in class Event

Removes a specific callback or all callbacks registered for an event.

Parser::output() — Method in class Parser

Get the processed value

Method::override() — Method in class Method

Replaces $_SERVER['REQUEST_METHOD'] with the detected alternative method and create $_SERVER['REQUEST_METHOD_ORIGINAL'] with original method

Task::once() — Method in class Task

Schedule the task to run exactly once, at (or after) the given date/time.

OPcache — Class in namespace Inphinit\Experimental\Utility
File::output() — Method in class File

Show file in output, if use ob_start is auto used ob_flush

View::once() — Method in class View

This method is similar to ::render(), except that the view will only be rendered once, ignoring subsequent calls.

P

$ App#pathPrefix — Property in class App
$ App#paramPatterns — Property in class App
Debug::performance() — Method in class Debug

Get memory usage and you can also use it to calculate runtime.

Console::parseOptions() — Method in class Console

Parse the arguments (usually received from the $argv variable) into an associative array, based on the long and short format options.

Csv::parse() — Method in class Csv

Parse lines

Tsv::parse() — Method in class Tsv

Parse header and lines

Parser — Class in namespace Inphinit\Experimental\Environment
Parser::putFallback() — Method in class Parser

Adds alternative values if they don't exist in $_ENV[...]

Scheduler::prioritizeBackgroundTasks() — Method in class Scheduler

If enabled, background tasks will be triggered before the others

OPcache::preload() — Method in class OPcache

This method should be used in combination with opcache.preload=

Storage::path() — Method in class Storage

Get the path to a file or directory from the application's storage directory

Rule::passed() — Method in class Rule

Validate after set $failure

Password — Class in namespace Inphinit\Experimental\Validation\Rules
Validator::post() — Method in class Validator

Create a Validator instance using $_POST

File::permissions() — Method in class File

Get file/directory permissions in a format more readable.

File::portion() — Method in class File

Reads file into a string, starting at the specified offset up to length bytes Note: Same behavior as file_get_contents, but case-sensitive in development mode

Request::path() — Method in class Request

Get current HTTP path

Request::post() — Method in class Request

Get a value from $_POST, if $_POST is a array multidimensional, you can use dot like path: If $_POST['foo'] returns this ['baz' => ['baz' => 1]] use Request::post('foo.bar.baz')

Import::psr4() — Method in class Import

Load autoload_psr4.php classes, used by PSR-4 packages

Import::psr0() — Method in class Import

Load autoload_namespaces.php classes, used by PSR-0 packages

Package — Class in namespace Inphinit\Packages
PropertyAccessor — Class in namespace Inphinit\Utility
Strings::pascal() — Method in class Strings

Convert string to PascalCase

$ Url#port — Property in class Url
$ Url#pass — Property in class Url
$ Url#path — Property in class Url
$ Version#pattern — Property in class Version
$ Version#patch — Property in class Version
$ Version#prerelease — Property in class Version

Q

Negotiation::qFactor() — Method in class Negotiation

Parse and sort a custom value with q-factor

Request::query() — Method in class Request

Get querystring - Note: same as $_SERVER['QUERY_STRING']

$ Url#query — Property in class Url

R

App::routes() — Method in class App

Get routes from current scope and parents

Config::reload() — Method in class Config

Reload configuration from file

Debug::register() — Method in class Debug

Register debug events and views

Inspector::regex() — Method in class Inspector

Utility to check if a regex expression contains issues

Document::root() — Method in class Document

Get root element

BuiltInCommands::register() — Method in class BuiltInCommands
Command::restrictToCli() — Method in class Command

If True, the command can only be executed in CLI

Command::response() — Method in class Command

This method will be used automatically by the Inphinit\Cli\Console instance

Console::run() — Method in class Console

Shortcut to execute predefined commands or commands from system/console.php

Reader — Class in namespace Inphinit\Experimental\Delimited
Reader::refresh() — Method in class Reader

Rewind the position of file pointer and refresh headers

EnvFile::refresh() — Method in class EnvFile

Refresh entries from the env file values.

Scheduler::runTask() — Method in class Scheduler

Executes a named task

Task::runInBackground() — Method in class Task

Marks this task to be dispatched as a detached background process instead of running synchronously within the scheduler process.

Task::runInEnvironments() — Method in class Task

Configure the environments in which this task should be dispatched when the APP_ENVIRONMENT environment variable matches.

Task::run() — Method in class Task

Executes the task's callback

Rule — Class in namespace Inphinit\Experimental\Validation
Request — Class in namespace Inphinit\Http
Response — Class in namespace Inphinit\Http
Resource — Class in namespace Inphinit\Routing
$ Resource#routeMapping — Property in class Resource

Define methods and routes

Session::regenerate() — Method in class Session

Generates a new session containing a copy of the data, under a new ID

Strings::random() — Method in class Strings

Generates a hexadecimal string from $length random bytes.

View::render() — Method in class View

Register or render a View. If View is registered this method returns the index number from View

View::remove() — Method in class View

Remove a registered View by index

S

$ App#scopes — Property in class App
App::setNamespace() — Method in class App

Prefixes the namespace in the current scope control

App::setPattern() — Method in class App

Create or replace a pattern for URL slugs

App::scope() — Method in class App

Groups routes within the scope of the defined URI

App::setNamespace() — Method in class App

Validate namespace prefix, if valid define controller prefix on scope

App::setPattern() — Method in class App

Validate pattern, if valid create or replace a pattern for URL slugs

App::scope() — Method in class App

Validate URL pattern, if valid register a callback for isolate routes

Debug::setDefinedView() — Method in class Debug

Set view for display defined constants, functions and classes Note: This method does not affect behavior in the CLI environment

Debug::setErrorView() — Method in class Debug

Set view for display errors and exceptions Note: This method does not affect behavior in the CLI environment

Debug::setPerformanceView() — Method in class Debug

Set view for display memory usage after application terminate Note: This method does not affect behavior in the CLI environment

Debug::source() — Method in class Debug

Get snippet from a file

Document::setSeverityLevels() — Method in class Document

Define libXML errors as exceptions

Document::setLoadOptions() — Method in class Document

Define libXML options for load a document or string

Document::setSaveOptions() — Method in class Document

Define libXML options for dump or save a document as file

Document::selector() — Method in class Document

Gets all elements that match the CSS selector

Document::save() — Method in class Document

Save document to file and returns the number of bytes written or false if an error occurred

Selector — Class in namespace Inphinit\Dom
Command::setOption() — Method in class Command

Define a option for command

Console::setNamespace() — Method in class Console

Prefixes the namespace to command controller classes

Converter::setWhitespaceMode() — Method in class Converter

Set the write mode for \n, \r and \t on field entries

$ Csv#separators — Property in class Csv
Csv::setEnclosure() — Method in class Csv

Set enclosure for read CSV

Csv::setProprietaryEscape() — Method in class Csv

Set proprietary escape mechanism for read CSV

Csv::setSeparators() — Method in class Csv

Set separators

$ Reader#separator — Property in class Reader
$ Reader#separators — Property in class Reader
$ Reader#stream — Property in class Reader
Reader::setChunk() — Method in class Reader

Set maximum line length

Reader::setDataTransferObject() — Method in class Reader

Set Data Transfer Object class

Reader::setEndOfLine() — Method in class Reader

Set end-of-line

Reader::setFlags() — Method in class Reader

Set the behavior of the fetch() method, and returns the previously defined flags.

Reader::setFilter() — Method in class Reader

Set a custom filter that can be used to skip specific rows by returning false in the callback, or simply to modify the values received by reference.

Reader::setLimit() — Method in class Reader

Set the maximum number of rows returned and skips a certain number of rows before starting to return rows.

$ Tsv#separators — Property in class Tsv
EnvFile::setOverride() — Method in class EnvFile

This method affect fill() and storeAsVars() methods

EnvFile::storeAsArray() — Method in class EnvFile

Store entries as PHP array

EnvFile::storeAsVars() — Method in class EnvFile

Store entries as $_ENV[] = ; in a PHP script

Parser::setValue() — Method in class Parser

Define the value that will be processed

Cache::setLifetime() — Method in class Cache
Cache::setStorage() — Method in class Cache

Set storage location

Cache::start() — Method in class Cache

Starts recording the buffer to the cache, or serves it directly if a fresh copy exists.

Cache::stop() — Method in class Cache

Stops the cache and writes the content and headers obtained so far Note: Under normal circumstances, __destruct will execute this method automatically

CookieJar::setDomain() — Method in class CookieJar

Defines the host to which the cookie will be sent.

CookieJar::setPath() — Method in class CookieJar

Indicates the path that must exist in the requested URL for the browser to send the Cookie header.

CookieJar::setExpires() — Method in class CookieJar

Indicates the maximum lifetime of the cookies.

CookieJar::setHttpOnly() — Method in class CookieJar

Forbids JavaScript from accessing the cookie, for example, through the Document.cookie property.

CookieJar::setPartitioned() — Method in class CookieJar

Indicates that the cookie should be stored using partitioned storage.

CookieJar::setSameSite() — Method in class CookieJar

Controls whether or not a cookie is sent with cross-site requests.

CookieJar::setSecure() — Method in class CookieJar

Indicates that the cookie is sent to the server only when a request is made with the https scheme (except on localhost), and therefore, is more resistant to man-in-the-middle attacks.

CookieJar::send() — Method in class CookieJar

Send cookies from jar to headers

FileResponse::send() — Method in class FileResponse

Dispatch the file using the preferred available delivery method

Forwarded::setKnownNetworks() — Method in class Forwarded

Sets the address ranges (CIDR notation, IPv4 or IPv6) of proxies

Forwarded::setKnownProxies() — Method in class Forwarded

Sets the exact addresses of proxies from which forwarded headers are accepted

Forwarded::setAllowedHosts() — Method in class Forwarded

Sets the hosts accepted when the host comes from a forwarded header. Supported patterns:

  • example.com
  • *.example.com
  • * (any host)
Forwarded::setFlags() — Method in class Forwarded

Set the headers that must/may provide values

Forwarded::setHeaderName() — Method in class Forwarded

Set the headers names

Forwarded::setLimit() — Method in class Forwarded

Sets how many trusted proxies are in front of the application.

Method::setAllowed() — Method in class Method

Set which HTTP methods can be used to override the original method

Method::setHeader() — Method in class Method

Set the source header to override the HTTP method. Examples:

  • x-http-method
  • x-method-override
Method::setParam() — Method in class Method

Set the source parameter to override the HTTP method. Examples:

  • _HttpMethod
  • _method
Scheduler — Class in namespace Inphinit\Experimental\Scheduling
Scheduler::setBackgroundTaskDispatcher() — Method in class Scheduler

Set the PHP script file used to execute background commands (eg.: /foo/bar/foo.php %s)

Scheduler::setStorage() — Method in class Scheduler

Set directory used to store:

Scheduler::setTimeZone() — Method in class Scheduler

Set timeZone used to control task states

Scheduler::shell() — Method in class Scheduler

Register a shell command to execute

Markdown::setTemplate() — Method in class Markdown

Set HTML template

Markdown::setCustomInline() — Method in class Markdown

Set custom inline HTML template

Storage — Class in namespace Inphinit\Experimental\Utility
Rule::setMessage() — Method in class Rule
Validator::setMessage() — Method in class Validator

Configures failure messages of standard rules.

Validator::setRule() — Method in class Validator

Set a new rule or overwrite an existing rule

File::strict() — Method in class File

Enables/disable case-sensitive file and directory existence checks performed by the framework in most methods of the File class. If disabled, case sensitivity is determined by the operating system or the underlying file system.

Size — Class in namespace Inphinit\Filesystem
Response::status() — Method in class Response

Get or set status code and return previous status code.

Status — Class in namespace Inphinit\Http

Constant with the most common HTTP codes

Import::setItem() — Method in class Import

Associate namespace prefix to folder class namespace to file

Import::save() — Method in class Import

Save imported packages path to file in PHP format ()

Import::saveFiles() — Method in class Import

Save imported autoload files path to file in PHP format

Session — Class in namespace Inphinit
Strings — Class in namespace Inphinit\Utility
Strings::snake() — Method in class Strings

Convert string to snake_case

$ Url#scheme — Property in class Url
Url::setSchemePorts() — Method in class Url

Set default ports associated with specific schemes.

Url::setSlugDict() — Method in class Url

Set slug dictionary

View::setEncoding() — Method in class View

Set encoding used by escape engine

View::strict() — Method in class View

Enables or disables strict mode to pre-check for the existence of the view.

T

Inspector::type() — Method in class Inspector

Gets the type name of a variable with get_debug_type() when available; otherwise, falls back to gettype()

Document::toArray() — Method in class Document

Convert DOM to Array

Event::trigger() — Method in class Event

Triggers all callbacks registered for a given event

Converter::tsv() — Method in class Converter

Save reader to TSV

Tsv — Class in namespace Inphinit\Experimental\Delimited
Task — Class in namespace Inphinit\Experimental\Scheduling
Storage::temp() — Method in class Storage

Create temporary file and return path.

Negotiation::top() — Method in class Negotiation

Get the highest priority option from the header

Negotiation::topContentType() — Method in class Negotiation

Get the document type (from Accept header) with the highest priority based on the q value. If it does not exist then return the value of $alternative.

Negotiation::topEncoding() — Method in class Negotiation

Get the encoding (from Accept-Encoding header) with the highest priority based on the q value. If it does not exist then return the value of $alternative.

Negotiation::topLanguage() — Method in class Negotiation

Get the language (from Accept-Language header) with the highest priority based on the q value. If it does not exist then return the value of $alternative.

Response::type() — Method in class Response

Set Content-Type header or remove previously headers

Treaty — Class in namespace Inphinit\Routing

U

App::useFilter() — Method in class App

Add a filter for routes in the current scope

App::up() — Method in class App

Bring the application out of maintenance mode

Debug::unregister() — Method in class Debug

Unregister debug events and views

Url — Class in namespace Inphinit\Utility
$ Url#user — Property in class Url

V

Cache::valid() — Method in class Cache

Checks if the HTTP status code and method are valid for caching – This method can be overridden.

FileGenerator::view() — Method in class FileGenerator

Create view from file template

Validator — Class in namespace Inphinit\Experimental\Validation
Validator::valid() — Method in class Validator

Returns True if there are no failures; otherwise, returns False

Version — Class in namespace Inphinit\Utility
Version::valid() — Method in class Version

Validate string version

View — Class in namespace Inphinit\Viewing

W

Url::with() — Method in class Url

Creates a new object with modified component

X

Selector::xpath() — Method in class Selector

Get DOMXPath instance

_

App::__get() — Method in class App
App::__set() — Method in class App
Config::__construct() — Method in class Config

Load items from a config file in a object

Config::__get() — Method in class Config

Magic method for get specific item

Config::__isset() — Method in class Config

Magic method for check if value exists in top-level

Config::__set() — Method in class Config
Checkup::__construct() — Method in class Checkup
Document::__construct() — Method in class Document

Create a Document instance

DomException::__construct() — Method in class DomException

Raise an exception

Selector::__construct() — Method in class Selector

Create a Inphinit\Dom\Selector instance.

Exception::__construct() — Method in class Exception

Create a new exception instance, optionally adjusting file and line based on a specific stack trace depth.

BuiltInCommands::__construct() — Method in class BuiltInCommands
Command::__construct() — Method in class Command

Creates a command to be used with an Inphinit\Cli\Console instance

Converter::__construct() — Method in class Converter

Set reader

Csv::__construct() — Method in class Csv

Open file with comma-separated values

Reader::__construct() — Method in class Reader

Open file

Reader::__destruct() — Method in class Reader
Tsv::__construct() — Method in class Tsv

Open file with tab-separated values

EnvException::__construct() — Method in class EnvException

Create a new exception instance, optionally adjusting file and line based on a specific stack trace depth.

EnvFile::__construct() — Method in class EnvFile

Load variable from .env or from cache (if available)

EnvFile::__set() — Method in class EnvFile

Magic method for set a manual entry

EnvFile::__get() — Method in class EnvFile

Magic method for get specific entry

Cache::__construct() — Method in class Cache

Define HTTP and request target. By default, the query string is not used; combine INPHINIT_PATH with $_SERVER[QUERY_STRING].

Cache::__destruct() — Method in class Cache
CookieJar::__construct() — Method in class CookieJar
CookieJar::__get() — Method in class CookieJar

Magic method for get property value from jar

CookieJar::__set() — Method in class CookieJar

Magic method for set or remove cookie jar properties

CookieJar::__isset() — Method in class CookieJar

Magic method for check if variable is setted

CookieJar::__unset() — Method in class CookieJar

Magic method for unset variable with unset() function

FileResponse::__construct() — Method in class FileResponse

Initialize the response with a file path and optional download name

Forwarded::__construct() — Method in class Forwarded

Creates a new instance

Method::__construct() — Method in class Method

Create a Method instance

Method::__toString() — Method in class Method

Get method from post param or header

FileGenerator::__construct() — Method in class FileGenerator

Create a FileGenerator instance

Scheduler::__construct() — Method in class Scheduler

Create a Scheduler instance

Scheduler::__destruct() — Method in class Scheduler
Task::__construct() — Method in class Task

Create a Task instance

Markdown::__construct() — Method in class Markdown
FailureException::__construct() — Method in class FailureException

Create a new exception instance, adjusting file and line based on a specific stack trace depth.

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

Define supported modes

Size::__destruct() — Method in class Size
Negotiation::__construct() — Method in class Negotiation

Create a Negotiation instance from request headers or from a Array

Import::__construct() — Method in class Import
Package::__construct() — Method in class Package

Open Composer lock file (eg.: composer.lock)

Resource::__construct() — Method in class Resource

Create routes basead in a Controller or other Class

Treaty::__construct() — Method in class Treaty

Create routes basead in a Controller or other Class

Session::__construct() — Method in class Session

Reads and stores session data and creates a cookie

Session::__get() — Method in class Session

Magic method for get session variables (this method also returns variables that have not yet been committed)

Session::__set() — Method in class Session

Magic method for set session variables (this method don't commit data)

Session::__isset() — Method in class Session

Magic method for check if variable is setted (this method also returns variables that have not yet been committed)

Session::__unset() — Method in class Session

Magic method for unset variable with unset() function

Session::__destruct() — Method in class Session
Url::__construct() — Method in class Url

Parse URL

Url::__get() — Method in class Url

Get value for a URL component Note: $instance->query returns an array if the component is present

Url::__set() — Method in class Url

Set value for a URL component

Url::__toString() — Method in class Url

Returns a string encoding only what is necessary

Version::__construct() — Method in class Version

Parse version format

Version::__get() — Method in class Version

Get value for a version component

Version::__set() — Method in class Version

Set value for a version component

Version::__toString() — Method in class Version

Compose string