Skip to content

Commit 8c314c7

Browse files
committed
Publish framework
0 parents  commit 8c314c7

279 files changed

Lines changed: 40671 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Kiaan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## About
2+
3+
Kiaan is a web application framework for PHP.
4+
5+
Kiaan is easy, flexible and professional.
6+
7+
## Security Vulnerabilities
8+
9+
If you discover a security vulnerability within Kiaan, please send an e-mail to Hassan Kerdash via [kerdashhassan@gmail.com](mailto:kerdashhassan@gmail.com).
10+
11+
## License
12+
13+
The Kiaan framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

composer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "kiaanphp/framework",
3+
"description": "Kiaan PHP framework",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Hassan Kerdash",
9+
"email": "kerdashhassan@gmail.com"
10+
}
11+
],
12+
"minimum-stability": "stable",
13+
"require": {
14+
"ext-mbstring":"*",
15+
"ext-json": "*"
16+
},
17+
"suggest": {
18+
"ext-intl": "Intl extension is useful for validating formatted numbers"
19+
},
20+
"autoload" : {
21+
"psr-4" : {
22+
"Kiaan\\" : "src/"
23+
},
24+
"files" : [
25+
"src/Helpers/helper.php"
26+
]
27+
}
28+
}

src/App.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
3+
/**
4+
* Kiaan framework
5+
*
6+
* @author Hassan Kerdash kerdashhassan@gmail.com
7+
**/
8+
9+
/*
10+
|---------------------------------------------------
11+
| Namespaces
12+
|---------------------------------------------------
13+
*/
14+
namespace Kiaan;
15+
16+
/*
17+
|---------------------------------------------------
18+
| Uses
19+
|---------------------------------------------------
20+
*/
21+
use Kiaan\Facade;
22+
use Kiaan\Application\App as Base;
23+
24+
/*
25+
|---------------------------------------------------
26+
| App
27+
|---------------------------------------------------
28+
*/
29+
class App {
30+
31+
/*
32+
* Facade
33+
*
34+
*/
35+
use Facade;
36+
37+
protected function __facade() {
38+
return \Kiaan\Application\App::class;
39+
}
40+
41+
}

0 commit comments

Comments
 (0)