Skip to content

Question & Answers

All the answers to those questions you want to ask, the ultimate Tina4 PHP cheat sheet.

make a GET end point?

\Tina4\Get::add("/some/end/point", function () {

});

redirect to another page?

debug to a specific log file?

configure debug log rotations?

cache a specific route?

turn off caching to a specific route?

upload a file?

render a twig template to a route?

manually run a deployment?

run migrations in code?

generate a JWT token?

run specific annotated tests?

pass custom data to a twig file?