PHP code example of wooletthedevsout / product-admin
1. Go to this page and download the library: Download wooletthedevsout/product-admin library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wooletthedevsout / product-admin example snippets
use Wooletthedevsout\Product\Admin\{Tabs, Panels};
// Once the tab is created, we need to inject the panels dependency, using the method getPanel()
$tabs->getPanel();
// Also, a title can be added if you want so
$tabs->addTitle('The title');
$forms = [
[
'text',
'user_message',
'Cool Label',
'Description for the tooltip with question mark.'
],
[
'text',
'capacity',
'Another Label',
'Description for the tooltip with question mark.'
],
[
'checkbox',
'confirm',
'Confirmation',
'Description for the tooltip with question mark.'
],
[
'select',
'choices',
'Select Title',
'Description for the tooltip with question mark.',
[
'Choice 1',
'Choice 2',
'Choice 3'
]
],
[
'radio',
'choices',
'Select Title',
[
'Choice 1',
'Choice 2'
]
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.