forked from benedmunds/CodeIgniter-Ion-Auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
36 lines (36 loc) · 1.29 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "benedmunds/codeigniter-ion-auth",
"description": "Simple and Lightweight Auth System for CodeIgniter",
"type": "library",
"license": "MIT",
"homepage": "http://benedmunds.com/ion_auth",
"authors": [
{
"name": "Ben EDMUNDS"
}
],
"require": {
"php": ">=5.6"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:benedmunds/CodeIgniter-Ion-Auth.git"
}
],
"scripts": {
"install-ion-auth": [
"[ -f application/config/ion_auth.php ] || cp -p vendor/benedmunds/codeigniter-ion-auth/config/ion_auth.php application/config/",
"[ -f application/controllers/Auth.php ] || cp -p vendor/benedmunds/codeigniter-ion-auth/controllers/Auth.php application/controllers/",
"cp -p vendor/benedmunds/codeigniter-ion-auth/libraries/Ion_auth.php application/libraries/",
"cp -p vendor/benedmunds/codeigniter-ion-auth/models/Ion_auth_model.php application/models/",
"[ -d application/views/auth ] || cp -pr vendor/benedmunds/codeigniter-ion-auth/views/* application/views/"
],
"post-install-cmd": [
"@install-ion-auth"
],
"post-update-cmd": [
"@install-ion-auth"
]
}
}