HTML Frontend Framework Design for backend OptimizedHTML PHPWine written in PHP (Hypertext Preprocessor)
MIT License
Bot releases are hidden (Show)
Fixed namespace Doctrine : doctrine to Doctrine
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v2.2.1...v2.2.2
Published by nielsoffice 11 months ago
fixed accordion dynamic prefix v2.2.1
$wine = new WineAccordion([
prefix => 'pro_', // it could be anything now must have _
accordion => $contents,
// icon => [
// 'position' => 'left', // right or Left you can also top and bottom via css flex : direction
// 'default' => '+', // default
// 'clicked' => 'X', // after clicked icon
// ],
hooks =>[
MyClass::class
]
]);
Published by nielsoffice 11 months ago
require_once __DIR__ . '/vendor/autoload.php';
use PHPWinePopUp\WinePopUp;
new \PHPWineOptimizedHtml\OptimizedHtml();
$popup = new WinePopUp([
prefix => 'wine_',
popup => [
// 'months' => [1,2,3,4,5,6,7,8,9,10,11,12], // [1, 2] means january and february
// 'days' => [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31], // [13, 14] // 31 days base on calendar only in 13 and 14 of the month
// 'every' => 6, // Every 6AM 8 Total of hrs from 1 to 24 means every 8AM
// 'event' => 'reload',
'event' => [
'click' => 'elem_id'
],
'close_id' => 'my_id', // class for close icon
],
hooks => [
\Testing\HookA::class // Main contents of Popup
]
]);
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v2.1.0...v2.2.0
Published by nielsoffice 11 months ago
$acc = new WineTab([
prefix => 'wine_',
icon => [
'position' => 'left', // right or top_center (top to title [centered]) or bottom_center (bottom to title [centered])
'default' => '+', // default
],
tab => [
'Guitar' => 'Instrument',
'PHP' => 'Web Development',
'Laravel' => 'Web App',
'WordPress' => 'Blog and ecommerce',
],
hooks => [
\Pro\HookB::class
]
]);
print $acc->tab();
$acc = new WineAccordion([
prefix => 'wine_',
icon => [
'position' => 'right', // right or top_center (top to title [centered]) or bottom_center (bottom to title [centered])
'default' => '+', // default
'clicked' => 'X', // after clicked
],
accordion => [
'Guitar' => 'Instrument',
'PHP' => 'Web Development',
'Laravel' => 'Web App',
'WordPress' => 'Blog and ecommerce',
],
hooks => [
\Pro\HookA::class
]
]);
print $acc->accordion();
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v2.0...v2.1.0
Published by nielsoffice 11 months ago
/* required version *v2.0 */
composer require phpwine/optimizedhtml v2.0
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v2...v2.0
Published by nielsoffice 11 months ago
Published by nielsoffice 11 months ago
fixed callable and those attributes for doctrine
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v2...v2-pre
Published by nielsoffice 11 months ago
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.5.0...v2
Published by nielsoffice 12 months ago
@since v1.4.0OptimizedHtml
$this->wine::child => [
/* ['div', $this->wine::value=>[ $this->wine->value((new Branding),'component_top_logo_header')]], this still works anyway */
['div', $this->wine::value=>[ $this->wine->value(MenuList::class,'component_top_right_menu', $this->links ) ]]
]
]);
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.9...v1.5.0
Published by nielsoffice 12 months ago
// QuickStart
https://github.com/PHPWine/documents/raw/main/Demo/QuickStart_v3.zip
New v1.4.0
Object to string class
// Main app
$this->wine::child => [
/* ['div', $this->wine::value=>[ $this->wine->value((new Branding),'component_top_logo_header')]], this works anyway */
['div', $this->wine::value=>[ $this->wine->value(MenuList::class,'component_top_right_menu', $this->links ) ]]
]
]);
Published by nielsoffice 12 months ago
https://github.com/PHPWine/documents/raw/main/Demo/QuickStart_v2.zip
later(); no object required, function version of value
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.8...v1.3.9
Published by nielsoffice 12 months ago
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.7...v1.3.8
Published by nielsoffice 12 months ago
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.6...v1.3.7
Published by nielsoffice 12 months ago
QuickStart
https://github.com/PHPWine/documents/raw/main/Demo/QuickStart_v2.zip
// installation
require dirname(__FILE__) . DIRECTORY_SEPARATOR .'./vendor/autoload.php';
$new = new \PHPWineOptimizedHtml\OptimizedHtml;
// New in PHPWine 1.3.5
print wine(__,[
child=> [
[__, value => [ please => function() {
$dd = [];
$dd[] = [__, value => "123"];
return $dd;
}]]
]
]);
function call_back() { return "Hello World"; }
print wine(null,[ /** default <section></section> **/
child=> [
[__, value => [ wine(__, 'call_back') ]],
[__, value => ["132132123213"]]
]
]);
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.5...v1.3.6
Published by nielsoffice 12 months ago
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.1...v1.3.2
Published by nielsoffice 12 months ago
OptimizedHtml v1.3.1
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.3.0...v1.3.1
Published by nielsoffice 12 months ago
Production released
Published by nielsoffice 12 months ago
feel FREE and enjoy!
Full Changelog: https://github.com/PHPWine/PHPWine/compare/v1.4.0.0...v1.2.9