facebook-php-business-sdk – Accelerate Meta ad campaigns with PHP
From the repo · “PHP SDK for Meta Marketing API”
Uses Facebook's Marketing API to manage your marketing campaigns via a PHP interface.
"A founder, Emma, uses this skill to update her Shopify order management system whenever a Facebook ad lead becomes a customer, allowing her to better track sales."
- •When you need to automate ad campaigns and ad management on Meta platforms
- •When you want to integrate Meta marketing capabilities into your existing PHP application or website
- •When you need to retrieve insights and analytics on your Meta ad performance programmatically
$sdk->createAd('AD_NAME', 'ADSET_ID', 'AD CREATIVE ID', 'AD_TARGETING');Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/facebook-php-business-sdk && curl -fsSL https://workflowstacks.com/api/skills/facebook-php-business-sdk/claude-skill -o ~/.claude/skills/facebook-php-business-sdk/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Facebook-php-business-sdk – Accelerate Meta ad campaigns with PHP is a very large PHP project (~142k lines across 3062 code files, plus 89 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit a month ago, Other license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2bin/docsmith.phpWhere the program starts running
- 3composer.jsonDependencies and the commands it exposes
- 4src/FacebookAds/AnonymousSession.phpInside src/ — the main logic begins here
- 5examples/AdAccountAdCreativesEdge.phpA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/facebook-php-business-sdk && curl -fsSL https://workflowstacks.com/api/skills/facebook-php-business-sdk/claude-skill -o ~/.claude/skills/facebook-php-business-sdk/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/facebook-php-business-sdk?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Abandoned Cart Win-Back
Draft a personalized, non-pushy win-back email for every abandoned cart — referencing the exact product left behind. You approve before sending.
Outcome guideAutomated marketing performance reports
The workflow reads your performance metrics and writes the narrative for you — this week at a glance, what moved and why, what’s next — then sends it on schedule.
Free n8n templateICP Fit Checker
Score every lead against your ideal customer profile (1-5) with a reason — so you spend outreach time only on prospects who’ll actually buy.
Rank Tracker
A weekly email of where you actually rank on Google.
Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).
Related skills
More marketing tools founders pair with this one.