Skip to content

The Naventum simple PHP Framework

License

Notifications You must be signed in to change notification settings

naventum/naventum

Repository files navigation

Naventum

The Naventum simple PHP Framework

StyleCI CodeQL CI Tests Total Downloads Latest Stable Version License

Installation

The best way to use this boilerplate is using Composer.

composer create-project naventum/naventum app-name

Run local server

Run the server using default php.

php -S localhost:8000 -t public

Authentication

Naventum default authentication.

composer require naventum/naventum-auth

Register the naventum auth provider Naventum\NaventumAuth\Illuminate\Foundation\Support\NaventumauthServiceProvider at config/app.php

...
'providers' => [
        /*
         * Naventum Framework Service Providers...
         */
        Naventum\Framework\Illuminate\Debug\DebugServiceProvider::class,
        Naventum\Framework\Illuminate\Foundation\Support\Providers\AuthServiceProvider::class,
        App\Providers\RouteServiceProvider::class,
        App\Providers\AppServiceProvider::class,

        Naventum\NaventumAuth\Illuminate\Foundation\Support\NaventumauthServiceProvider::class,
        ...
]

For configuring features, create a php file config/naventum-auth.php, fill

<?php

return [
    'features' => [
        'login' => env('NAVENTUM_AUTH_LOGIN', true),
        'register' => env('NAVENTUM_AUTH_REGISTER', true),
    ]
];

Login : http://localhost:8000/auth/login

Register : http://localhost:8000/auth/register

An example of a simple application using Naventum, click here.

Security Vulnerabilities

If you discover a security vulnerability within Naventum, please send an e-mail to Naventum Email via mail.naventum@gmail.com. All security vulnerabilities will be promptly addressed.

License

The Naventum framework is open-sourced software licensed under the MIT license.