Skip to content

Commit 75388f3

Browse files
committed
29 Jan 2024
1) Library updates - JWT, WebAuthn, WebPush 2) New NFC login module 3) Small UI updates to user login/account pages. 4) LIB-NFCIN - Will now check valid user before creating hash.
1 parent 9ab67dd commit 75388f3

File tree

133 files changed

+1291
-718
lines changed

Some content is hidden

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

133 files changed

+1291
-718
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
Core Boxx is a PHP framework built with the concept of simplicity and modularity. Install and load only what you need, not bloated with unused features.
33
<br><br>
44

5+
## :white_check_mark: "OUT OF THE BOX" FEATURES
6+
1) Pretty URL and routing.
7+
2) API endpoints with CORS support.
8+
3) Installable Progressive Web App.
9+
4) JSON Web Token sessions.
10+
5) Bootstrap HTML template.
11+
<br><br>
12+
513
## :camera: SCREENSHOTS
614
<p float="left">
715
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-1.png">
@@ -11,11 +19,6 @@ Core Boxx is a PHP framework built with the concept of simplicity and modularity
1119
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-5.png">
1220
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-6.png">
1321
</p>
14-
<br>
15-
16-
## :floppy_disk: INSTALLATION
17-
- Copy the contents of `core/` into your HTTP folder.
18-
- Access `http://your-site.com/` in the browser and walk through the installer.
1922
<br><br>
2023

2124
## :ballot_box_with_check: REQUIREMENTS
@@ -26,6 +29,11 @@ Core Boxx is a PHP framework built with the concept of simplicity and modularity
2629
5) At least PHP 8.0
2730
<br><br>
2831

32+
## :floppy_disk: INSTALLATION
33+
1) Manually download or git clone into your `http` folder.
34+
2) Access `http://your-site.com/` in the browser and walk through the installer.
35+
<br><br>
36+
2937
## :electric_plug: MODULES
3038
The rest of the folders are optional modules. To install the modules, check out their respective `README.md` files.
3139

@@ -46,16 +54,9 @@ The rest of the folders are optional modules. To install the modules, check out
4654
* `web push` Send push notifications.
4755
<br><br>
4856

49-
## :white_check_mark: "OUT OF THE BOX" FEATURES
50-
1) Pretty URL and routing.
51-
2) API endpoints with CORS support.
52-
3) Installable Progressive Web App.
53-
4) JSON Web Token sessions.
54-
5) Bootstrap HTML template.
55-
<br><br>
56-
5757
## :star: SUPPORT
58-
Like this project? Just give it a star. That will indirectly help grow my blog a little bit. :wink:
58+
1) Just give this project a star. That will indirectly drive more traffic a little bit. :wink:
59+
2) [Sponsor this project](https://github.com/sponsors/code-boxx). Even a small one time amount helps.
5960
<br><br>
6061

6162
## :bulb: DOCUMENTATION & CREDITS
@@ -83,4 +84,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8384
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8485
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
8586
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
86-
SOFTWARE.
87+
SOFTWARE.

core/assets/core-boxx-1.png

-24.6 KB
Loading

core/assets/core-boxx-2.png

-22.4 KB
Loading

core/assets/core-boxx-3.png

-909 Bytes
Loading

core/assets/core-boxx-4.png

29.9 KB
Loading

core/assets/head-core-boxx.webp

-5.69 KB
Binary file not shown.

core/lib/JWT/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
require_once __DIR__ . '/composer/autoload_real.php';
2424

25-
return ComposerAutoloaderInit4227a9262042b7b77c23e4da01de8cd1::getLoader();
25+
return ComposerAutoloaderInitc4b25d4c67ba5f31d25bdba015db7cda::getLoader();

core/lib/JWT/composer/autoload_real.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit4227a9262042b7b77c23e4da01de8cd1
5+
class ComposerAutoloaderInitc4b25d4c67ba5f31d25bdba015db7cda
66
{
77
private static $loader;
88

@@ -24,12 +24,12 @@ public static function getLoader()
2424

2525
require __DIR__ . '/platform_check.php';
2626

27-
spl_autoload_register(array('ComposerAutoloaderInit4227a9262042b7b77c23e4da01de8cd1', 'loadClassLoader'), true, true);
27+
spl_autoload_register(array('ComposerAutoloaderInitc4b25d4c67ba5f31d25bdba015db7cda', 'loadClassLoader'), true, true);
2828
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29-
spl_autoload_unregister(array('ComposerAutoloaderInit4227a9262042b7b77c23e4da01de8cd1', 'loadClassLoader'));
29+
spl_autoload_unregister(array('ComposerAutoloaderInitc4b25d4c67ba5f31d25bdba015db7cda', 'loadClassLoader'));
3030

3131
require __DIR__ . '/autoload_static.php';
32-
call_user_func(\Composer\Autoload\ComposerStaticInit4227a9262042b7b77c23e4da01de8cd1::getInitializer($loader));
32+
call_user_func(\Composer\Autoload\ComposerStaticInitc4b25d4c67ba5f31d25bdba015db7cda::getInitializer($loader));
3333

3434
$loader->register(true);
3535

core/lib/JWT/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit4227a9262042b7b77c23e4da01de8cd1
7+
class ComposerStaticInitc4b25d4c67ba5f31d25bdba015db7cda
88
{
99
public static $prefixLengthsPsr4 = array (
1010
'F' =>
@@ -27,9 +27,9 @@ class ComposerStaticInit4227a9262042b7b77c23e4da01de8cd1
2727
public static function getInitializer(ClassLoader $loader)
2828
{
2929
return \Closure::bind(function () use ($loader) {
30-
$loader->prefixLengthsPsr4 = ComposerStaticInit4227a9262042b7b77c23e4da01de8cd1::$prefixLengthsPsr4;
31-
$loader->prefixDirsPsr4 = ComposerStaticInit4227a9262042b7b77c23e4da01de8cd1::$prefixDirsPsr4;
32-
$loader->classMap = ComposerStaticInit4227a9262042b7b77c23e4da01de8cd1::$classMap;
30+
$loader->prefixLengthsPsr4 = ComposerStaticInitc4b25d4c67ba5f31d25bdba015db7cda::$prefixLengthsPsr4;
31+
$loader->prefixDirsPsr4 = ComposerStaticInitc4b25d4c67ba5f31d25bdba015db7cda::$prefixDirsPsr4;
32+
$loader->classMap = ComposerStaticInitc4b25d4c67ba5f31d25bdba015db7cda::$classMap;
3333

3434
}, null, ClassLoader::class);
3535
}

core/pages/PAGE-home.php

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
require PATH_PAGES . "TEMPLATE-top.php"; ?>
44
<!-- (A) HEADER -->
55
<h1 class="mb-0">CORE BOXX</h1>
6-
<div class="text-secondary mb-4">open source modular php framework</div>
7-
<img class="img-fluid d-block mx-auto mb-4" style="max-height:450px;" src="<?=HOST_ASSETS?>head-core-boxx.webp">
6+
<div class="text-secondary mb-4"><small>
7+
open source modular php framework
8+
</small></div>
89

9-
<!-- (B) HOW TO USE -->
10+
<!-- (B) QUICKSTART -->
1011
<h5 class="text-danger mb-2">
11-
<i class="ico-sm icon-power"></i> HOW TO USE CORE BOXX
12+
<i class="ico-sm icon-power"></i> QUICKSTART
1213
</h5>
1314
<div class="bg-white border p-4 mb-4">
14-
<div class="fw-bold mb-2">BASICS</div>
15-
<ul class="mb-4">
15+
<ul class="mb-0">
1616
<li><a href="https://code-boxx.com/core-boxx-php-framework/#sec-tut" target="_blank">
1717
Very Fast Tutorial
1818
</a></li>
@@ -31,10 +31,18 @@
3131
PHP Variables
3232
</a>
3333
</li>
34+
<li><a href="<?=HOST_BASE?>demo/clean">
35+
Delete all demo files, give me a clean installation.
36+
</a></li>
3437
</ul>
38+
</div>
3539

36-
<div class="fw-bold mb-2">DIVE DEEPER</div>
37-
<ul class="mb-4">
40+
<!-- (C) MORE @TODO -->
41+
<h5 class="text-danger mb-2">
42+
<i class="ico-sm icon-search"></i> DIVE DEEPER
43+
</h5>
44+
<div class="bg-white border p-4 mb-4">
45+
<ul class="mb-0">
3846
<li><a href="https://code-boxx.com/core-boxx-core-library-reference/" target="_blank">
3947
Core Concepts
4048
</a></li>
@@ -48,32 +56,28 @@
4856
JWT Sessions
4957
</a></li>
5058
</ul>
51-
52-
<div class="fw-bold mb-2">NAH, I AM GOOD.</div>
53-
<ul class="mb-0">
54-
<li><a href="<?=HOST_BASE?>demo/clean">
55-
Delete all demo files, give me a clean installation.
56-
</a></li>
57-
</ul>
5859
</div>
5960

60-
<!-- (C) SUPPORT -->
61+
<!-- (D) SUPPORT -->
6162
<h5 class="text-danger mb-2">
6263
<i class="ico-sm icon-heart"></i> SUPPORT
6364
</h5>
65+
<div class="text-secondary mb-2"><small>
66+
* Help keep Core Boxx alive, even if it is just a little bit.
67+
</small></div>
6468
<div class="bg-white border p-4 mb-4">
6569
<a class="my-1 btn btn-danger d-flex-inline" href="https://www.paypal.com/paypalme/wstoh/5" target="_blank">
6670
<i class="ico-sm icon-mug"></i> Buy me a coffee
6771
</a>
68-
<a class="my-1 btn btn-danger d-flex-inline" href="https://payhip.com/codeboxx" target="_blank">
69-
<i class="ico-sm icon-cart"></i> Code Boxx Store
70-
</a>
7172
<a class="my-1 btn btn-danger d-flex-inline" href="https://github.com/sponsors/code-boxx" target="_blank">
7273
<i class="ico-sm icon-heart"></i> GitHub Sponsor
7374
</a>
75+
<a class="my-1 btn btn-danger d-flex-inline" href="https://payhip.com/codeboxx" target="_blank">
76+
<i class="ico-sm icon-cart"></i> Code Boxx Store
77+
</a>
7478
</div>
7579

76-
<!-- (D) ALL OTHER LINKS -->
80+
<!-- (E) ALL OTHER LINKS -->
7781
<h5 class="text-danger mb-2">
7882
<i class="ico-sm icon-sphere"></i> ALL THE LINKS
7983
</h5>
@@ -84,7 +88,7 @@
8488
FAQ
8589
</a></li>
8690
<li><a href="https://github.com/code-boxx/Core-Boxx-PHP-Framework/issues/new/choose" target="_blank">
87-
Report a bug
91+
Report a bug / Feature Request
8892
</a></li>
8993
</ul>
9094

@@ -93,19 +97,16 @@
9397
<li><a href="https://code-boxx.com/" target="_blank">Code Boxx</a></li>
9498
<li><a href="https://www.youtube.com/c/CodeBoxx" target="_blank">YouTube</a></li>
9599
<li><a href="https://www.pinterest.com/codeboxx/" target="_blank">Pinterest</a></li>
96-
<li><a href="https://rumble.com/c/c-5298498" target="_blank">Rumble</a></li>
100+
<li><a href="https://www.facebook.com/real.code.boxx/" target="_blank">Facebook</a></li>
97101
<li><a href="https://github.com/code-boxx/" target="_blank">GitHub</a></li>
98102
<li><a href="https://codepen.io/code-boxx" target="_blank">CodePen</a></li>
99-
<li><a href="https://dev.to/codeboxx" target="_blank">DEV</a></li>
100-
<li><a href="https://facebook.com/real.code.boxx" target="_blank">Facebook</a></li>
101103
</ul>
102104

103-
<div class="fw-bold mb-2">CREDITS (BUILT WITH)</div>
105+
<div class="fw-bold mb-2">CREDITS / BUILT WITH</div>
104106
<ul class="mb-0">
105107
<li><a href="https://getbootstrap.com/" target="_blank">Bootstrap</a></li>
106108
<li><a href="https://icomoon.io/" target="_blank">IcoMoon</a></li>
107109
<li><a href="https://github.com/firebase/php-jwt" target="_blank">PHP JWT</a></li>
108110
</ul>
109111
</div>
110-
111-
<?php require PATH_PAGES . "TEMPLATE-bottom.php"; ?>
112+
<?php require PATH_PAGES . "TEMPLATE-bottom.php"; ?>

0 commit comments

Comments
 (0)