naventum
v1.6.8
naventum簡單 PHP 框架
使用此樣板的最佳方法是使用 Composer。
composer create-project naventum / naventum app-name
使用預設的 php 運行伺服器。
php -S localhost:8000 -t public
naventum預設身份驗證。
composer require naventum / naventum -auth
在config/app.php
註冊naventum auth 提供者naventum naventum AuthIlluminateFoundationSupport naventum authServiceProvider
. . .
' 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 naventum Auth Illuminate Foundation Support naventum authServiceProvider::class,
...
]
為了配置功能,建立一個 php 檔案config/ naventum -auth.php
,填寫
<?php
return [
' features ' => [
' login ' => env ( ' naventum _AUTH_LOGIN ' , true ),
' register ' => env ( ' naventum _AUTH_REGISTER ' , true ),
]
];
登入:http://localhost:8000/auth/login
報名:http://localhost:8000/auth/register
使用naventum的簡單應用程式範例,請按一下此處。
如果您發現naventum內有安全漏洞,請透過電子郵件向naventum Email 發送電子郵件。 naventum @gmail.com。所有安全漏洞都將及時解決。
naventum框架是根據 MIT 授權授權的開源軟體。