Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naventum/naventum

The Naventum simple PHP Framework
https://github.com/naventum/naventum

composer open-source open-source-project php php-frameworks php-library php-micro-framework php-microframework

Last synced: 3 months ago
JSON representation

The Naventum simple PHP Framework

Awesome Lists containing this project

README

        

## 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](https://getcomposer.org/).

```bash
composer create-project naventum/naventum app-name
```
#### Run local server
Run the server using default php.
```bash
php -S localhost:8000 -t public
```

#### Authentication
Naventum default authentication.
```bash
composer require naventum/naventum-auth
```
Register the naventum auth provider
```Naventum\NaventumAuth\Illuminate\Foundation\Support\NaventumauthServiceProvider``` at ```config/app.php```
```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
[
'login' => env('NAVENTUM_AUTH_LOGIN', true),
'register' => env('NAVENTUM_AUTH_REGISTER', true),
]
];
```
Login : [http://localhost:8000/auth/login](http://localhost:8000/auth/login)

Register : [http://localhost:8000/auth/register](http://localhost:8000/auth/register)

An example of a simple application using Naventum, [click here](https://github.com/ryodevz/naventum-example).

### Security Vulnerabilities
If you discover a security vulnerability within Naventum, please send an e-mail to Naventum Email via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.

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