Lamotivo works with Laravel 5.4+ or Laravel 6.
Lamotivo supports reasonably recent versions of the following browsers:
Once you have purchased a Lamotivo license, you may install Lamotivo as a typical package via our private Satis repository.
Installing Lamotivo will require you to authenticate with the Lamotivo website. Save your Lamotivo API token to a Composer auth.json
file:
{
"http-basic": {
"lamotivo.com": {
"username": "Alias",
"password": "Token"
}
}
}
To get started, add the Lamotivo repository to your application's composer.json
file:
"repositories": [
{
"type": "composer",
"url": "https://lamotivo.com"
}
],
Next, you may require the Lamotivo:
composer require anyspin/lamotivo
Finally, publish a configuration file and run the lm:install
Artisan command:
php artisan vendor:publish --tag=lm-config
php artisan lm:install
This will install Lamotivo's dashboard and bootstrap it within your application.
The default App\Lm\User
resource references the App\User
model. If you place your models in a namespace, you should adjust this value within the resource:
public static $model = 'App\Models\User';
To publish Lamotivo theme assets, run themes:link
Artisan command:
php artisan themes:link
Next, you may navigate to your application's /lm
path in your browser and you should be greeted with the Lamotivo dashboard.
If no user exists in your database, you may create one via the lm:user
Artisan command:
php artisan lm:user
This will prompt you for user details and will create a user according to the auth.providers.lm.model
option of your lm.php
configuration file.
To update your Lamotivo installation, you may update Lamotivo using composer update
, just like any other Composer package.
After updating or cloning your project from Git repository, you may need to publish Lamotivo theme, like this:
php artisan themes:link
php artisan view:clear
Lamotivo's license does not allow the public distribution of its source code. So, you may not build an application using Lamotivo and distribute that application public via open source repository hosting platforms or any other code distribution platform.
You may not distribute the Lamotivo source code in any way.