2017 © Pedro Peláez
 

project novacms

Framework for PHP 5.5+

image

nova-framework/novacms

Framework for PHP 5.5+

  • Monday, October 9, 2017
  • by daveismyname
  • Repository
  • 4 Watchers
  • 7 Stars
  • 173 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Nova Framework, (*1)

Nova Framework

Total Downloads Dependency Status GitHub license GitHub stars GitHub forks, (*2)

Join the general chat open to all at https://gitter.im/nova-framework/framework, (*3)

What is the Nova Framework?

Nova Framework is a PHP 5.6 MVC system. It's designed to be lightweight and modular, allowing developers to build better and easy to maintain code with PHP., (*4)

Requirements

The CMS requirements are limited., (*5)

The following PHP extensions should be enabled:, (*6)

  • Fileinfo (edit php.ini and uncomment php_fileinfo.dll or use php selector within cpanel if available.)
  • OpenSSL
  • INTL

Note: Although a database is not required, if a database is to be used, the system is designed to work with a MySQL database using PDO., (*7)

Installation

NovaCMS was designed and is strongly recommended to be installed above the document root directory, with it pointing to the webroot folder., (*8)

Additionally, installing in a sub-directory, on a production server, will introduce severe security issues. If there is no choice still place the framework files above the document root and have only index.php and .htacess from the webroot folder in the sub folder and adjust the paths accordingly., (*9)

The framework is located on Packagist., (*10)

You can install the framework from a terminal by using:, (*11)

composer create-project nova-framework/novacms foldername -s dev

The foldername is the desired folder to be created., (*12)

Once downloaded setup the database connection in app/Config/Database.php then import scripts/cms.sql To access the backend go to /admin then login with:, (*13)

username: admin, (*14)

password: admin, (*15)

Contributing

Issue Tracker

You can find outstanding issues on the GitHub Issue Tracker., (*16)

Pull Requests

  • Each pull request should contain only one new feature or improvement.
  • Pull requests should be submitted to the correct version branch ie master

Code Style

All pull requests must use the PSR-2 code style., (*17)

  • Code MUST use the PSR-1 code style.
  • Code MUST use 4 spaces for indenting, not tabs.
  • There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.
  • There MUST be one blank line after the namespace declaration, and there MUST be one blank line after the block of use declarations.
  • Opening braces for classes MUST go on the next line, and closing braces MUST go on the next line after the body.
  • Opening braces for methods MUST go on the next line, and closing braces MUST go on the next line after the body.
  • Visibility MUST be declared on all properties and methods; abstract and final MUST be declared before the visibility; static MUST be declared after the visibility.
  • Control structure keywords MUST have one space after them; method and function calls MUST NOT.
  • Opening braces for control structures MUST go on the same line, and closing braces MUST go on the next line after the body.
  • Opening parentheses for control structures MUST NOT have a space after them, and closing parentheses for control structures MUST NOT have a space before.

License

The Nova Framework is under the MIT License, (*18)

The Versions