- The Anatomy of Cmfive
- Core Modules
- Cmfive Tests
- Install Codeception
- Selenium Setup
- WebDriver Setup
- Enable Tests
- Running Tests
- Writing Tests
- Cloud Provider Integration
The report module allows users to write custom MYSQL reports that can be saved and run when needed.
- Before you learn how to use reports you’ll need to make sure your config is setup correctly. Add the following entries into the config.php file in the root directory of your Cmfive project.
Config::set("report.database", [ "hostname" => "DB_HOSTNAME", "username" => "DB_USERNAME", "password" => "DB_PASSWORD", "database" => "DB_NAME", "driver" => "mysql" ]);
- Replace DB_HOSTNAME, DB_USERNAME, DB_PASSWORD and DB_NAME with their respective values.
- To clear your config cache to apply your changes.