numaxlab/testa
Composer 安装命令:
composer require numaxlab/testa
包简介
A Laravel package extending LunarPHP for content-driven bookshop storefronts using Geslib as their management system.
README 文档
README
Testa is a Galician term used in printing and binding referring to the top edge of a book.
It is also a comprehensive Laravel package that extends the Lunar e-commerce platform. Testa offers an opinionated, feature-rich solution specifically designed for building advanced, content-driven online stores for bookshops.
This package is tailored for bookshops that utilize Geslib as their primary management system. It relies on the numaxlab/lunar-geslib package for the core Geslib integration and complements it by providing a ready-to-use storefront implementation.
Furthermore, Testa expands Lunar's capabilities by integrating a full-featured educational platform, a membership system, news and events management, and other key tools.
Testa was designed in a collaboration between Traficantes de Sueños, Katakrak and NUMAX.
Features
- Content Management: Create and manage static pages, promotional banners, and image slides.
- Education Platform:
- Manage courses, modules, and topics.
- Dedicated "Course" product type in Lunar.
- Media Library:
- Upload and manage Audio, Video, and Document files.
- Control media visibility (e.g., public, members-only).
- Membership System:
- Define membership tiers and plans.
- Manage subscriptions and member-exclusive benefits.
- News & Events:
- Publish articles.
- Create and manage events with types and venues.
- Editorial Area: Manage reviews and special "editorial" collections.
- Donation System: Includes a pre-configured, flexible "Donation" product type.
- Lunar & Filament Integration:
- Extends core Lunar models like
ProductandCustomer. - Extends the Filament admin panel for
ProductandCustomerresources.
- Extends core Lunar models like
- Provides a rich set of Livewire and Blade components for the storefront.
Requirements
- PHP ^8.4
- Laravel 12
- LunarPHP
- Lunar Geslib
Installation
Note: Testa is currently in beta. To install a beta release, set
minimum-stabilitytobeta(ordevwithprefer-stable: true) in your host app'scomposer.json.
After following the official Laravel installation instructions to create a new project, you can install this package via Composer:
composer require numaxlab/testa:^1.0@beta
The package service provider will be auto-discovered by Laravel.
-
Add the Filament Plugins to the Lunar Panel in the register method of your
AppServiceProviderLunarPanel::panel(function ($panel) { return $panel ->plugins([ GeslibPlugin::make(), TestaPlugin::make(), ShippingPlugin::make(), SpatieLaravelTranslatablePlugin::make() ->defaultLocales(['es', 'en']), // Setup the languages you want to use ]); })->register();
-
Run the Installer Commands
This is a crucial step. The installer commands will set up required Lunar attributes, collection groups, tags, and seed initial data needed for the package to function correctly.
php artisan lunar:geslib:install php artisan lunar:testa:install
Configuration
First check the lunar-geslib documentation and review
the installation and configuration steps. As noted there, a queue configuration is important for being able to import
Geslib data.
The configuration file for this package will be available at config/testa.php. Review all items and adjust the values
to fit your specific setup.
Testing
The package uses Pest for testing. You can run the tests using the following command:
composer test
Or
./vendor/bin/pest
Contributing
Please see CONTRIBUTING.md for details.
License
The MIT License (MIT). Please see License File for more information.
Authors
- Adrián Pardellas Blunier (adrian@numax.org)
- X. Carlos Hidalgo (carlos@numax.org)
numaxlab/testa 适用场景与选型建议
numaxlab/testa 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 80 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 numaxlab/testa 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 numaxlab/testa 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 80
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-05