gp247 / front
Frontend foundation & CMS package for GP247
Requires
- gp247/core: ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 3.0.2
- 3.0.1
- 3.0
- 2.2
- 2.1.1
- 2.1
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0
- 1.2
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- 1.0-beta
This package is auto-updated.
Last update: 2026-09-13 08:48:00 UTC
README
_____ _____ ___ _ _ _____
/ ____| __ \ |__ \| || | |___ |
| | __| |__) | ) | || |_ / /
| | |_ | ___/ / /|__ _| / /
| |__| | | / /_ | | / /
\_____|_| |____| |_| /_/
🌐 Language: 🇬🇧 English (current) · 🇻🇳 Tiếng Việt
Frontend foundation & CMS package for GP247
composer require gp247/front
Introduction
GP247/Front is the foundation package for GP247's entire frontend tier — not a mere presentation/theme layer. It provides both the public-facing storefront and a content management system (CMS), and serves as the shared infrastructure that other frontend packages (such as gp247/shop) build on. It is a required component of a full GP247 site, playing the role for the frontend tier that gp247/core plays for the admin tier.
Key features:
- Page content management (Page / CMS)
- Flexible template system + active-template view resolution
- Extensible plugin system
- Navigation, menu, link & banner management
- Integrated contact & subscription forms
- Shared frontend infrastructure (base Livewire components, layout, routes) for other packages to plug into
Installation
-
Install package
composer require gp247/front -
Configure routing and exceptions for GP247, open
bootstrap/app.php:
-
Comment out the web routes line:
//GP247 comment //web: __DIR__.'/../routes/web.php',
-
Register the service provider in
bootstrap/providers.php:return [ // ... existing providers GP247\Front\FrontServiceProvider::class, ];
-
Run the installation command:
php artisan gp247:front-install
Key Features
Page Management
- Create and manage static pages
- SEO support for each page
- Access control
Interface
- Flexible Template System
- Customizable layouts for each section
- Responsive design
Admin interface customization:
php artisan vendor:publish --tag=gp247:front-admin
Views will be stored at: resources/views/vendor/gp247-front-admin
Update the default template (GP247Front) views:
php artisan vendor:publish --tag=gp247:front-view
Views will be stored at: app/GP247/Templates/GP247Front
Publish the default template's public assets (css/js/images):
php artisan vendor:publish --tag=gp247:front-public
Assets will be stored at: public/GP247/Templates/GP247Front
Extensions
- Plugin support
- Custom module integration
- API for feature development
Overriding controllers
Step 1: Copy the controller files you want to override from
vendor/gp247/front/src/Controllers(orsrc/Api/Controllers) toapp/GP247/Front/Controllers(orapp/GP247/Front/Api/Controllers)
Step 2: Change the namespace from
GP247\Front\Controllers(orGP247\Front\Api\Controllers) toApp\GP247\Front\Controllers(orApp\GP247\Front\Api\Controllers) — just prependApp, keep the rest as-is.
Documentation
For detailed documentation, visit documentation
License
The GP247/Front is open-sourced software licensed under the MIT license.