First Steps

Get up and running quickly with Docker if you want to preview Tina4 quickly without adding additional dependencies to your operating system. Please take a look at the Setting up your Environment section to get all the prerequisites required for Tina4.

Tina4 is a lightweight routing and templating system which allows you to write websites and API applications very quickly. This is not another framework. Keep things simple and efficient. Tina4 is perfect if you want to build a website, run a CMS, create APIs or if you want to learn a structured PHP framework.

Tina uses the following methods to make development quicker:

* PHP 7.1 or greater built in web server
* Twig Templating - no configuration needed
* Annotated Routes for Swagger UI
* Simple code layout and structure

Docker

 Linux  Mac


docker run -v $(pwd):/app tina4stack/php composer require tina4stack/tina4php
docker run -v $(pwd):/app tina4stack/php composer exec tina4 initialize:run
docker run -v $(pwd):/app -p7145:7145 tina4stack/php composer start  

 Windows


docker run -v %cd%:/app tina4stack/php composer require tina4stack/tina4php
docker run -v %cd%:/app tina4stack/php composer exec tina4 initialize:run
docker run -v %cd%:/app -p7145:7145 tina4stack/php composer start  

Composer


composer require tina4stack/tina4php
composer exec tina4 initialize:run
composer start

What's in the box?

How do I learn to work with Tina4?

Down the rabbit hole is a comprehensive tutorial on how to get started with PHP programming leading into the core concepts of Tina4 and how to get a software development environment up and running.


Join our Slack Channel to participate and receive all the latest builds

Who should use Tina4?

* Beginners * Anyone who wants to build a website quickly with templates * React or Angular developers who want a way to create quick APIs in PHP * Old School PHP devs who don't want to learn a frame work but want some structure * Bloggers * Content Creators

Quick Guide To Getting Started



It can sometimes be frustrating to wait for the release. Install the bleeding edge


composer require tina4stack/tina4php:dev-master

Powered by ComboStrap