Download the PHP package lazyexe/openads without Composer

On this page you can find all versions of the php package lazyexe/openads. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openads

OpenAds ID

Lightweight & extensible OpenAds for Laravel, suitable for internal ads, marketplaces, CMS, or monetization platforms. All metrics (CTR, relevance, landing score) and click/view costs are automatically calculated based on ad performance.


✨ Key Features


đŸ“Ļ Installation

Or Manual / Local Development

Publish config & migrations:


🚀 Usage

Routes

HomeController

AdsClickController

index.blade


🔧 API Reference

Method Description Return
Ads::search(string $query) Retrieve ads by keyword query, automatically logs impressions & charges views AdCollection
AdCollection->all() Get all ads array of AdDTO
AdCollection->limit(int $n) Get top n ads by score AdCollection
Ads::logClick(int $adId) Log click & charge campaign according to bid string | null (landing URL)

âš™ī¸ Configuration

config/ads.php

💡 Notes


đŸ—„ī¸ Database Structure

Main Tables

Table Purpose
ads_campaigns Store campaigns & budgets
ads_ad_groups Group keywords & ads
ads_ads Ad unit (text / image / video)
ads_keywords Keyword targeting
ads_assets Ad assets (image / video)
ads_impressions Ad impression log
ads_clicks Ad click log

Campaign

Field Description
name Campaign name
daily_budget Daily budget
status active / paused
start_date Campaign start date
end_date Campaign end date
start_time Start time (nullable = runs 24 hours)
end_time End time (nullable = runs 24 hours)
target_locations JSON: target countries/cities, null = all locations
target_devices JSON: target devices (android/ios/desktop), null = all devices

Ad Group

Field Description
campaign_id Related campaign
name Ad group name
default_bid Default bid
status active / paused

Ads

Field Description
ad_group_id Related ad group
title Ad title
url Landing page URL
bid Bid price
ctr Click-through rate
relevance Relevance score
landing_score Landing score
status active / paused

â„šī¸ Ads can be text-only or include image / video assets.

Keywords

Field Description
ad_group_id Related ad group
keyword Target keyword
match_type exact / phrase / broad
negative Exclude keyword

Assets (Image / Video)

Field Description
ad_id Related ad
type image / video
source URL or local path
is_primary Primary asset

Source can be:


All versions of openads with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lazyexe/openads contains the following files

Loading the files please wait ...