Installation


Requirements

  • Composer installed.
  • nodejs and npm installed
  • PDO PHP Extension
  • A local development server (have a look at Valet)
  • Good bases in HTML, CSS and PHP.
  • Familiarity with object-oriented programming and namespacing
  • Familiarity with Foundation, Sass and Gulp.

Download

Download or clone the repository :

                            
git clone https://github.com/simple-mvc/simple.git my-new-project
                            
                        

Go into the folder and start a new Git repository :

                            
cd my-new-project

rm -rf .git && git init
                            
                        

Install dependencies

                            
composer install && npm install
                            
                        

Database configuration

Create a database.

Populate it with the file simple.sql.

Open config.php file and set the username and the password according to your configuration.

                           
'dsn' => 'mysql:host=localhost;dbname=simple',
'login' => 'root',
'password' => 'root',
                            
                        

And you should be good to go.

Let’s learn the basics.