PHP Classes

File: WPG

Recommend this page to a friend!
  Packages of Cleber Mendes   PHP WordPress Plugin Generator   WPG   Download  
File: WPG
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP WordPress Plugin Generator
Generate a WordPress plugin from developer answers
Author: By
Last change: Improved error exception treatments; Improved performance; Changes to run on PHP 8; created annotations; Check for installed composer instead of download composer.phar; run Bower to install components instead of having them in the Zip file; Improved extension file validation; Improved MVC structure, now the model has mapper, service and entity; Improved Composer and Bower settings;
Date: 8 months ago
Size: 323 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

require_once __DIR__ . '/lib/vendor/autoload.php';
require_once
__DIR__ . '/WordpressPluginGenerator.php';

use
Symfony\Component\Console\Application;

$app = new Application();
$app->add(new WordpressPluginGenerator());
try {
   
$app->run();
} catch (
Exception $e) {
    echo
$e->getMessage();
}