Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Commit 5b6b1cd

Browse files
committed
Updated the read me to include installation instructions via Composer.
1 parent 3084aaa commit 5b6b1cd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Readme.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,20 @@ The default look, and some of the additional functionality, was heavily inspired
1515

1616
## Installing
1717

18-
Forensics is intended to be installed as a [Spark](http://getsparks.org). Please see their site for more information.
18+
Forensics is intended to be used as a [Spark](http://getsparks.org). However, it is best installed using [Composer](http://getcomposer.org/).
19+
20+
Create a `composer.json` file in your application's root (alongside the application and spark folders). Add the following text in the new file:
21+
22+
{
23+
"require": {
24+
"lonnieezell/codeigniter-forensics": "dev-master"
25+
}
26+
}
27+
28+
In your application, you will first need to load the newly installed spark, then enable the profiler like normal.
29+
30+
$this->load->spark('codeigniter-forensics');
31+
$this->output->enable_profiler(true);
1932

2033
## Forensics Logging
2134

0 commit comments

Comments
 (0)