Nette: Standard Web Project


Keywords
nette, nette-application, nette-framework, php, skeleton-application
Licenses
MIT/BSD-3-Clause/GPL-2.0/GPL-3.0

Documentation

Nette Web Project

Welcome to the Nette Web Project! This is a basic skeleton application built using Nette, ideal for kick-starting your new web projects.

Nette is a renowned PHP web development framework, celebrated for its user-friendliness, robust security, and outstanding performance. It's among the safest choices for PHP frameworks out there.

If Nette helps you, consider supporting it by making a donation. Thank you for your generosity!

Requirements

This Web Project is compatible with Nette 3.2 and requires PHP 8.1.

Installation

To install the Web Project, Composer is the recommended tool. If you're new to Composer, follow these instructions. Then, run:

composer create-project nette/web-project path/to/install
cd path/to/install

Ensure the temp/ and log/ directories are writable.

Web Server Setup

To quickly dive in, use PHP's built-in server:

php -S localhost:8000 -t www

Then, open http://localhost:8000 in your browser to view the welcome page.

For Apache or Nginx users, configure a virtual host pointing to your project's www/ directory.

Important Note: Ensure app/, config/, log/, and temp/ directories are not web-accessible. Refer to security warning for more details.

Minimal Skeleton

For demonstrating issues or similar tasks, rather than starting a new project, use this minimal skeleton.