Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hissy authored Feb 23, 2020
1 parent 0f6840b commit d3645d1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,41 @@ $ ./public/concrete/bin/concrete5 c5:package-install concrete5_debugbar

### Install the debug bar to the site that managed *without* using composer

First, download package files

```bash
$ cd ./packages
$ git clone [email protected]:concrete5cojp/concrete5_debugbar.git
$ cd concrete5_debugbar
```

Then update composer.json as

```json
{
"name": "concrete5cojp/concrete5_debugbar",
"description": "A package to integrate PHP Debug Bar with concrete5 CMS.",
"type": "concrete5-package",
"license": "MIT",
"minimum-stability": "stable",
"require": {
"maximebf/debugbar": ">=1.0.0"
},
"replace": {
"psr/log": "*",
"symfony/polyfill-mbstring": "*"
},
"autoload": {
"psr-4": {
"Concrete5Debugbar\\": "src/Concrete5Debugbar/"
}
}
}
```

Finally you can install the package

```bash
$ composer install
$ cd ../../
$ ./concrete/bin/concrete5 c5:package-install concrete5_debugbar
Expand Down

0 comments on commit d3645d1

Please sign in to comment.