mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 01:16:09 +00:00
better manual installation instructions
This commit is contained in:
parent
d05ca176e6
commit
9f955259fa
1 changed files with 6 additions and 2 deletions
|
@ -38,9 +38,13 @@ You are now ready to use NeatCharts.
|
|||
|
||||
### Install NeatCharts manually
|
||||
|
||||
Just download the NeatCharts class and require it in your application file.
|
||||
Just download the folder `NeatCharts` (in `src`) and place it alongside your php file. Add the following at the top of your PHP file:
|
||||
|
||||
`require 'NeatCharts.php';`
|
||||
```php
|
||||
spl_autoload_extensions(".php");
|
||||
spl_autoload_register();
|
||||
```
|
||||
This will automatically require the correct files when they are referenced, since the namespace and class names match the folder structure.
|
||||
|
||||
## Usage
|
||||
```php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue