This is the core package for Eburon.Media's Content Management Application.
First install a fresh laravel application
$ laravel new ApplicationNameMake the necessary changes to the User Migration and move the User modal to the Models Directory. Reference the User to the new location in the Config => Auth.php
$ cd ApplicationName
$ composer require laravel/ui
$ php artisan ui bootstrap --authAdd repository path to composer.json file
"repositories": {
"eburonmedia/ecma-core": {
"type": "vcs",
"url": "https://github.com/eburonmedia/EcmaCore"
}
}
Install the latest version core package
$ composer require eburonmedia/ecma-coreLoad the migrations
$ php artisan migrateVendor publish the config file and the assets
$ php artisan vendor:publishAdd the user trait to the user model and import the class and add the required id properties
use EcmaUsersTrait;
protected $keyType = 'string';
public $incrementing = false;
For using the maintenance mode you will have to add the included middleware to your routes
ecma.maintenance
Please see the changelog for more information on what has changed recently.