Skip to content

Commit 6ad2deb

Browse files
committed
Update
- Licensing
1 parent 5cb130d commit 6ad2deb

10 files changed

Lines changed: 45 additions & 58 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 FloatPHP
3+
Copyright (c) 2024 FloatPHP
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# FloatPHP (CLI)
22

3-
<img src="https://www.floatphp.com/assets/img/floatphp.png" width="100" alt="Micro PHP framework">
3+
<img src="https://floatphp.com/assets/img/floatphp.png" width="100" alt="Micro PHP framework">
44

55
FloatPHP **CLI Components**.
6+
This components used to setup CLI application.
67

78
## ⚡ Installing:
89

bin/floatphp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : CLI Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.
@@ -16,7 +15,7 @@ declare(strict_types=1);
1615

1716
namespace App;
1817

19-
if (php_sapi_name() !== 'cli') exit;
18+
if (php_sapi_name() !== 'cli') exit();
2019

2120
require( __DIR__ . '/App/App.php');
2221
new App();

composer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
{
22
"name": "floatphp/cli",
3-
"version" : "1.0.2",
3+
"version" : "1.1.0",
44
"type": "library",
55
"description": "FloatPHP CLI Components",
66
"keywords": ["floatphp","micro-framework","framework","PSR","ORM","jakiboy"],
7-
"homepage": "https://www.floatphp.com/",
7+
"homepage": "https://floatphp.com",
88
"license": "MIT",
99
"authors": [
1010
{
1111
"name": "Jihad Sinnaour",
1212
"email": "mail@jihadsinnaour.com",
1313
"role": "Founder"
14-
},
15-
{
16-
"name": "Softgine",
17-
"email": "e-mailing@soft-gine.com",
18-
"role": "Developer"
1914
}
2015
],
2116
"require": {
22-
"php": ">=7.4"
17+
"php": ">=7.4",
18+
"floatphp/classes": "^1.1.0",
19+
"floatphp/helpers": "^1.1.0",
20+
"floatphp/interfaces": "^1.1.0",
21+
"floatphp/exceptions": "^1.1.0"
2322
},
2423
"autoload": {
2524
"psr-4" : {

src/App.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : CLI Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.
@@ -19,8 +18,7 @@
1918
class App
2019
{
2120
/**
22-
* @param void
23-
* @return void
21+
* Setup CLI App.
2422
*/
2523
public function __construct()
2624
{

src/BuiltIn.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : CLI Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.
@@ -24,7 +23,6 @@ class BuiltIn
2423
{
2524
/**
2625
* @access public
27-
* @param void
2826
* @return string
2927
*/
3028
public function help()

src/Console.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : CLI Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.
@@ -27,7 +26,6 @@ class Console extends BuiltIn
2726
protected $registry = [];
2827

2928
/**
30-
* @param void
3129
* @return void
3230
*/
3331
public function __construct()
@@ -37,7 +35,6 @@ public function __construct()
3735

3836
/**
3937
* @access public
40-
* @param void
4138
* @return object
4239
*/
4340
public function getOutput()
@@ -59,7 +56,7 @@ public function registerCommand($command, $callable)
5956
/**
6057
* @access public
6158
* @param string $command
62-
* @return bool
59+
* @return mixed
6360
*/
6461
public function getCommand($command)
6562
{

src/Output.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : CLI Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.
@@ -30,7 +29,6 @@ public function out($message)
3029

3130
/**
3231
* @access public
33-
* @param void
3432
* @return string
3533
*/
3634
public function newline()

src/bin/controller

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
4-
* @package : FloatPHP Skeleton App
5-
* @subpackage : Skeleton Controllers
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
3+
* @author : Jakiboy
4+
* @package : FloatPHP
5+
* @subpackage : Skeleton Component
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.
@@ -22,7 +21,6 @@ class {name}Controller extends {parent}Controller
2221
* {routeName} : {method} {route}
2322
*
2423
* @access public
25-
* @param void
2624
* @return void
2725
*/
2826
public function {action}({params})

src/bin/model

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
4-
* @package : FloatPHP Skeleton App
5-
* @subpackage : Skeleton Models
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
3+
* @author : Jakiboy
4+
* @package : FloatPHP
5+
* @subpackage : Skeleton Component
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.

0 commit comments

Comments
 (0)