797 results
Sorted by relevance
Setup / FAQs
Which versions of PHP will Aero run on?
Aero requires PHP Version
7.2 and upwards.
Setup / FAQs
How do I configure the PHP memory limit?
Due to the number of fields that are sometimes present in the admin, it may be necessary to adjust the PHP
max_input_vars value.
The default of
1,000 fields can be too small when managing a product that contains hundereds of variants. This limit is quickly ...
Admin / General
How do I set the page title for the admin?
By default the page title for every admin page is generated from the route name. If you would like to manually set the page title you can set a title specifically for your route or you can return an
adminPageTitle variable to your view (this includes extendin...
Admin
General
Admin
Reports
Admin / Reports
How do I create a report?
To create a report, make a class that extends
\Aero\Admin\Reports\Report.
For example, let's make a basic stock report.
First, let's make the report class, this defines the base query for our report:
class StockReport extends \Aero\Admin\Reports\Report
{
...
SEO
Robots Txt
Settings
General
Events
General
Admin / Reports
How do I add a column to an existing report?
You can use the
addColumn() method(s) to add a column to an existing report:
\Aero\Admin\Reports\Implementations\SalesReport::extend(function (\Aero\Admin\Reports\Implementations\SalesReport $report, \Closure $next) {
// Add it as the first column
$re...
Admin / Reports
How do I add a filter to an existing report?
You can use the
addFilter() method to add a filter to an existing report:
\Aero\Admin\Reports\Implementations\SalesReport::extend(function (\Aero\Admin\Reports\Implementations\SalesReport $report, \Closure $next) {
$report->addFilter(\Aerocargo\Acme\Filte...
Admin / Reports
How do I add a lens to an existing report?
You can use the
addLens() method to add a lens to an existing report:
\Aero\Admin\Reports\Implementations\SalesReport::extend(function (\Aero\Admin\Reports\Implementations\SalesReport $report, \Closure $next) {
$report->addLens(\Aerocargo\Acme\Lenses\Tota...
Admin
Vue
Admin / Vue
How do I use Vue in the admin?
When in an admin Blade view file you can use any Vue directive (such as
v-for,
v-if,
v-on:click etc).
It is recommended to use the
v-on:click syntax instead of
@click syntax to minimise any potential conflicts between Blade & Vue.
Dev Mode
Putting Vue int...
Admin / Vue
How do I put Vue in dev mode?
You can put the Admin Vue into dev mode by putting this code snippet in your Blade view:
@push('scripts')
<script>
window.AeroAdmin.vue.use({
install(Vue) {
Vue.config.devtools = true;
},
});
</script>
@...
Admin / Vue
How do I add a custom Vue component to the admin?
You need to add the
assetLinks function to your modules service provider so that your modules assets are publicly linkable. An example module service provider can be found here:
https://github.com/aerocargo/admin-example-vue/blob/master/src/ServiceProvider.p...
Admin
Permissions
Admin / Permissions
How do I register new permissions?
You can add new permissions by using
\Aero\Admin\Permissions:
// Add a single permission
\Aero\Admin\Permissions::add('acme.view');
// Add multiple permissions
\Aero\Admin\Permissions::add([
'acme.view',
'acme.add',
'acme.edit',
'acme.delete...