1. Go to this page and download the library: Download inventor96/inertia-mako 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/ */
return [
/**
* The view to use when rendering the full HTML page
* for the initial response to the browser.
*/
'html_template' => 'inertia::default',
/**
* The initial title for the full HTML page.
*/
'title' => 'Loading...',
];
return [
/**
* The path to the manifest file generated by Vite.
* Only needed if you change the default path in Vite,
* otherwise the key should be omitted entirely.
*/
//'manifest' => null,
/**
* The path to the hot module replacement file generated
* by Vite. Only needed if you change the default path in
* Vite, otherwise the key should be omitted entirely.
*/
//'hot_file' => null,
/**
* The base path for the Vite assets. Should match the
* `base` option in your Vite configuration, but could
* also point to a CDN or other asset server, if you are
* serving assets from a different domain.
*/
'base_path' => '/',
];
return ['1.0'];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.