ninjaportal/kickstart
Composer 安装命令:
composer create-project ninjaportal/kickstart
包简介
NinjaPortal starter application template.
README 文档
README
NinjaPortal Kickstart
Starter Laravel application template prepared for NinjaPortal.
Use this template to bootstrap a production-ready NinjaPortal application with the Portal package, Filament admin, and the Shadow theme already wired in.
Requirements
- PHP
^8.2 - Composer 2
- A database (MySQL recommended for real projects)
- Node.js + npm (only if you want to build frontend assets)
1. Create The Project
Install the template through Composer:
composer create-project ninjaportal/kickstart your-project-name
cd your-project-name
2. Install Dependencies
If you are working from the repository directly instead of create-project, install the locked dependencies:
composer install
Then install JS dependencies if needed:
npm install
3. Configure Environment
Copy the environment file and generate the application key:
cp .env.example .env php artisan key:generate
Update database credentials in .env, then configure NinjaPortal / Apigee values (already included in .env.example):
APIGEE_PLATFORM=edge APIGEE_ENDPOINT=https://api.enterprise.apigee.com/v1 APIGEE_ORGANIZATION=your-org APIGEE_USERNAME=your-username APIGEE_PASSWORD=your-password APIGEE_MONETIZATION_ENABLED=false APIGEE_MONETIZATION_PLATFORM=edge APIGEE_MONETIZATION_ENDPOINT=https://api.enterprise.apigee.com/v1/mint
if using Apigee X:
APIGEE_DRIVER=apigeex APIGEE_ENDPOINT=https://apigee.googleapis.com/v1 APIGEE_ORGANIZATION=your-org
4. Installations
4.1 Install NinjaPortal
Run the package installer:
php artisan portal:install
What this does:
- publishes NinjaPortal config
- publishes Spatie permission migrations
- runs migrations
- seeds baseline settings + RBAC permissions
- adds
App\Providers\NinjaPortalServiceProviderto your application bootstrap providers
Optional flags:
php artisan portal:install --force-provider-overwrite php artisan portal:install --delete-default-users-migration
We recommend using the --delete-default-users-migration flag if you are installing NinjaPortal on a fresh laravel project,
as it will delete the default users table migration.
4.2 Install Shadow theme
php artisan shadow:install
Shadow theme is shipped with pre-built assets.
4.3 Install Filament Admin
php artisan filament:install
This will install Filament Admin and its dependencies.
5. (Optional) Seed Demo Data
php artisan portal:seed --demo
Useful seed options:
php artisan portal:seed --all php artisan portal:seed --settings --rbac
Seeded Demo Accounts
After running php artisan portal:seed --demo, the following demo accounts are available:
| Type | Name | Password | Notes | |
|---|---|---|---|---|
| Admin | Portal Owner | admin@ninjaportal.test |
password |
Assigned the super_admin role when RBAC is seeded |
| Admin | Support Admin | support.admin@ninjaportal.test |
password |
Assigned the super_admin role when RBAC is seeded |
| User | Jade Summers | jade.summers@ninjaportal.test |
password |
Active user |
| User | Marco Diaz | marco.diaz@ninjaportal.test |
password |
Active user |
| User | Priya Nair | priya.nair@ninjaportal.test |
password |
Pending user |
6. Apigee Authentication Notes
Apigee Edge
Use the username/password env variables shown above.
Apigee X
Set:
APIGEE_PLATFORM=apigeex APIGEE_ENDPOINT=https://apigee.googleapis.com/v1 APIGEE_MONETIZATION_PLATFORM=apigee_x APIGEE_MONETIZATION_ENDPOINT=https://apigee.googleapis.com/v1
Then place a service account key file at:
storage/app/service_account_key.json
LaraApigee uses that file path for Apigee X authentication by default.
7. Run The Application
Backend:
php artisan serve
Assets (optional during local development):
npm run dev
Optional Next Step: API Package
If you want the prebuilt NinjaPortal REST API package as well:
composer require ninjaportal/portal-api
Then publish/configure its settings and generate API docs (Scribe) based on your project needs.
ninjaportal/kickstart 适用场景与选型建议
ninjaportal/kickstart 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「apigee」 「ninjaportal」 「developer-portal」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ninjaportal/kickstart 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ninjaportal/kickstart 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ninjaportal/kickstart 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Client library for connecting to the Apigee Edge API.
To be used for queueing mock API responses for the `apigee/apigee-client-php` library.
REST API Package for Phalcon PHP
Alfabank REST API integration
A Laravel Like Apigee DevPortal
Laravel package for Accurate Online API integration.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-02