Download the PHP package juzaweb/ads-manager without Composer
On this page you can find all versions of the php package juzaweb/ads-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download juzaweb/ads-manager
More information about juzaweb/ads-manager
Files in juzaweb/ads-manager
Package ads-manager
Short Description Juzaweb CMS Admin
License MIT
Homepage https://juzaweb.com
Informations about the package ads-manager
Ads Manager Module
This advertising management module for Juzaweb CMS supports both banner and video ads, with flexible display placement management capabilities.
Features
- Banner Ads Management: Manage banner advertisements with two types:
- Image Banner: Display images with clickable links
- HTML Banner: Custom HTML code support
- Video Ads Management: Manage video advertisements with VAST support
- Position Management: Manage ad positions by theme
- Statistics Tracking: Track views and clicks
- Frontend Integration: Helper functions for displaying ads on frontend
Installation
This module is part of Juzaweb CMS. To install:
Usage
Registering Ad Positions
Register ad positions in your theme or module:
Displaying Ads in Frontend
Using Helper Function
Using Facade
Managing Ads Programmatically
Create Banner Ad
Create Video Ad
Querying Ads
Admin Panel
The module automatically registers menus in the admin panel:
- Ad Management (parent menu)
- Banner Ads: Manage banner advertisements
- Video Ads: Manage video advertisements
Permissions
banner-ads.index: View banner ads listvideo-ads.index: View video ads list
API Endpoints
Admin Routes
GET /admin-cp/banner-ads- List banner adsGET /admin-cp/banner-ads/create- Create banner ad formPOST /admin-cp/banner-ads- Store new banner adGET /admin-cp/banner-ads/{id}/edit- Edit banner ad formPUT /admin-cp/banner-ads/{id}- Update banner adDELETE /admin-cp/banner-ads/{id}- Delete banner ad
Similar routes for video ads at /admin-cp/video-ads
VAST Support
The module supports VAST (Video Ad Serving Template) for serving video ads:
Juzaweb\Modules\AdsManagement\Vast\Document- VAST document builderJuzaweb\Modules\AdsManagement\Vast\Factory- Factory for creating VAST elements- Support for InLine and Wrapper ads
- Linear and Non-linear creatives
Configuration
Publish config file:
Config file location: config/ad-management.php
Translations
The module supports multiple languages including:
- English (en)
- Vietnamese (vi)
- Spanish (es)
- French (fr)
- German (de)
- Czech (cs)
- Portuguese (pt)
- Russian (ru)
Development
Running Tests
Code Style
The module follows PSR-2 coding standards.
License
MIT License
Author
The Anh Dang - Juzaweb CMS
Support
For issues and feature requests, please use the GitHub issue tracker.