enabling packagist
This commit is contained in:
parent
8abe2bee33
commit
00456fa5b3
33
README.md
33
README.md
|
@ -1,3 +1,36 @@
|
||||||
# MetaTech Silex Core Package
|
# MetaTech Silex Core Package
|
||||||
|
|
||||||
Core package for silex2 applications
|
Core package for silex2 applications
|
||||||
|
|
||||||
|
|
||||||
|
### Requirements
|
||||||
|
|
||||||
|
* meta-tech/pws-auth
|
||||||
|
* meta-tech/silex-controller-service
|
||||||
|
* silex/silex (v2)
|
||||||
|
* gecko-packages/gecko-silex-config-service
|
||||||
|
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
|
The package can be installed using [ Composer ](https://getcomposer.org/).
|
||||||
|
```
|
||||||
|
composer require meta-tech/silex-core
|
||||||
|
```
|
||||||
|
|
||||||
|
Or add the package to your `composer.json`.
|
||||||
|
|
||||||
|
```
|
||||||
|
"require": {
|
||||||
|
"meta-tech/silex-core" : "@dev"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
see [ meta-tech\pws-server ](https://github.com/meta-tech/pws-server)
|
||||||
|
|
||||||
|
|
||||||
|
### License
|
||||||
|
|
||||||
|
The project is released under the MIT license, see the LICENSE file.
|
||||||
|
|
|
@ -22,15 +22,5 @@
|
||||||
"silex/silex": "~2.0",
|
"silex/silex": "~2.0",
|
||||||
"gecko-packages/gecko-silex-config-service": "^2.0"
|
"gecko-packages/gecko-silex-config-service": "^2.0"
|
||||||
},
|
},
|
||||||
"repositories": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/meta-tech/pws-auth.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/meta-tech/silex-controller-service.git"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"minimum-stability": "dev"
|
"minimum-stability": "dev"
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ class Authentication
|
||||||
*/
|
*/
|
||||||
public function checkUser($login, $password, $key)
|
public function checkUser($login, $password, $key)
|
||||||
{
|
{
|
||||||
// implements with userProvider on subclasse
|
// implements with userProvider on subclass
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user