gp247 / front
Process front for gp247
Requires
- gp247/core: ~2.0
This package is auto-updated.
Last update: 2026-07-12 01:36:41 UTC
README
Front-end package for GP247
composer require gp247/front
Introduction
GP247/Front is a comprehensive CMS (Content Management System) package for businesses, providing features:
- Page Content Management
- Flexible Template System
- Extensible Plugin System
- Navigation & Link Management
- Integrated Contact & Subscription Forms
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.