Download and Install
Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
Link : https://getcomposer.org/download/
Create a Drupal 8 module is a good idea, but develop as Drupal is BEST.
The famous tools PhpCS and PhpCBF allow you to check and correct (some) drupal coding standards and best practice errors.
1. A web server (Apache or another web server)
2. Database (Mysql, MariaDB or SQLite)
Drupal 8 embedded with a plugin system. In drupal 8, Plugin is a group of PHP classes used for a defined specific usage. You can use any registered plugins, add new plugins and also create your own plugin type.
SimpleTest (Testing) allow to test your drupal systems in a safe way. It's also allow you to check functionaleties, result ... of your module.
First of all you must active Testing module on your envirenement.
drush en simpletest -y
For the examples, here we use the module simple_analytics as example.
Module name : simple_analytics
Configuration object: simple_analytics.settings
Settings and mapping files structure.
Drupal 8 embedded with a configuration system which allow users to store variables in the database and usable in site wide as variables in drupal 7. Intend of use variable_set variable_get variable_del, in drupal 8 use Configuration API.