🧠Install

to install this package you use this command
composer require tomatophp/tomato-adminUse Install Command
you can use the install command to build your admin panel
NOTE
before installing if you are not using MacOS please change the Yarn path of config on the console-helper package after publishing the config file
php artisan tomato-admin:installAfter Tomato installs everything run your npm
yarn
yarn buildAllow Spatie Media Library inside your app
if you want to use media features inside your app you need to complete setup of Spatie Media Library, it's easy just publish the migration and migrate it.
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider"now run your migration
php artisan migratenow it's time to allow modules on your app by just adding this line to composer.json
"autoload": {
"psr-4": {
...
"Modules\\" : "Modules/"
}
},Create New User
you can create a new user to access the dashboard by using this command
php artisan tomato:userLast updated
Was this helpful?