Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cuchulain/nette-startup

Nette + Doctrine2 project scaffolding
https://github.com/cuchulain/nette-startup

doctrine2 nette nette-doctrine2 nette-startup php

Last synced: 3 days ago
JSON representation

Nette + Doctrine2 project scaffolding

Awesome Lists containing this project

README

        

Nette + Doctrine2 StartUp
=============

This is a simple pre-packaged and pre-configured application using the [Nette](https://nette.org)
with Doctrine2 support that you can use as the starting point for your new applications.

[Nette](https://nette.org) is a popular tool for PHP web development.
It is designed to be the most usable and friendliest as possible. It focuses
on security and performance and is definitely one of the safest PHP frameworks.

[Doctrine 2](http://www.doctrine-project.org/) is a Object Relational Mapper (ORM)
and the Database Abstraction Layer (DBAL).

Installation
------------

Clone this repository to new directory and from this created directory
install dependencies with Composer.

If you don't have Composer yet,
download it following [the instructions](https://doc.nette.org/composer). Then use command:

cd path/to/install
composer install

Make directories `temp/` and `log/` writable.

Web Server Setup
----------------

The simplest way to get started is to start the built-in PHP server in the root directory of your project:

php -S localhost:8000 -t www

Then visit `http://localhost:8000` in your browser to see the welcome page.

For Apache or Nginx, setup a virtual host to point to the `www/` directory of the project and you
should be ready to go.

It is CRITICAL that whole `app/`, `log/` and `temp/` directories are not accessible directly
via a web browser. See [security warning](https://nette.org/security-warning).

Requirements
------------

PHP 5.6 or higher. To check whether server configuration meets the minimum requirements for
Nette Framework browse to the directory `/checker` in your project root (i.e. `http://localhost:8000/checker`).

Adminer
-------

[Adminer](https://www.adminer.org/) is full-featured database management tool written in PHP and it is part of this Sandbox.
To use it, browse to the subdirectory `/adminer` in your project root (i.e. `http://localhost:8000/adminer`).

License
-------
- Nette: New BSD License or GPL 2.0 or 3.0
- Doctrine 2: CC BY-NC-SA 3.0 (Creative Commons Legal Code, Attribution-NonCommercial-ShareAlike 3.0 Unported)
- Adminer: Apache License 2.0 or GPL 2