BARAKA is a Web Application Framework for PHP Beginners. Everything is -action & view separated in BARAKA. So, It’s good to learn how to work with frameworks.
When you extract BARAKA in your web directory you’ll have a test project directly. You can modify that project for your own purposes. Or, you can create your own projects and modules with them.
First, open your terminal and change the directory to your BARAKA folder and run these commands one by one:
- php baraka.php create-project project_name
- php baraka.php create-module project_name module_name
- php baraka.php clear-cache
You can use cp instead of create-project, cm instead of create-module and cc instead of clear-cache. Don’t forget to install php-cli library before running these commands. Otherwise, you can’t run terminal commands.