Starter Project
Simple starter project using Nette Framework.
PHP 7.1
PHP 8.0
# Requirements
- PHP 7.1 and later
# Installation
Install this project:
$ composer create-project bytebase/starter-project starter-project
Go to the directory:
$ cd starter-project
And make directories temp
and log
writable. For Linux, macOS or any other Unix based system:
$ chmod -R a+rw temp log
# Development
For development, you can start built-in PHP server in the root directory of your project:
$ php -S localhost:80 -t www
And then you can visit http://localhost
in your browser to see welcome page:
# File Tree
starter-project
├── app
│ ├── Model
│ │ └── Router
│ │ └── RouterFactory.php
│ ├── Module
│ │ ├── Front
│ │ │ ├── @templates
│ │ │ │ ├── @layouts
│ │ │ │ │ └── layout.latte
│ │ │ │ ├── Error
│ │ │ │ │ └── 500.phtml
│ │ │ │ ├── Error4xx
│ │ │ │ │ └── default.latte
│ │ │ │ └── Homepage
│ │ │ │ └── default.latte
│ │ │ ├── Error
│ │ │ │ └── ErrorPresenter.php
│ │ │ ├── Error4xx
│ │ │ │ ├── Error4xxPresenter.php
│ │ │ │ └── Error4xxTemplate.php
│ │ │ ├── Homepage
│ │ │ │ └── HomepagePresenter.php
│ │ │ └── BaseFrontPresenter.php
│ │ └── BaseTemplate.php
│ └── Bootstrap.php
├── bin
├── config
│ ├── app
│ │ ├── extensions.neon
│ │ ├── services.neon
│ │ └── session.neon
│ ├── extensions
│ ├── params
│ │ ├── local.neon
│ │ └── production.neon
│ └── config.neon
├── log
├── temp
├── www
│ ├── .htaccess
│ ├── favicon.ico
│ ├── index.php
│ └── robots.txt
├── .gitignore
├── .htaccess
└── composer.json