Uccello is a Laravel Package for providing a way to make easily complete web applications. For the moment, this package can be integrated easily only on a fresh installation.
Via Composer
$ composer require uccello/uccelloIf you are using Laravel 5.5 or above skip this step, but if aren't then add this code on config/app.php, on providers
'providers' => [
...
Lord\Laroute\LarouteServiceProvider::class,
Uccello\Core\Providers\AppServiceProvider::class,
Uccello\Core\Providers\RouteServiceProvider::class,
...
],
...
'aliases' => [
...
'Uccello' => Uccello\Core\Facades\Uccello::class,
],And then run,
$ php artisan make:uccelloThis command will extract needed views for auth, and errors.
Open app/Http/Kernel.php file and add the following code:
protected $routeMiddleware = [
...
'uccello.permissions' => \Uccello\Core\Http\Middleware\CheckPermissions::class,
];Uccello uses laroute to port the routes over to JavaScript. It is important to launch this command every times you modify the routes.
$ php artisan laroute:generateIt will generate the file public/js/laroute.js used by Uccello.
Configure .env file then run this command to migrate the database
$ php artisan migrateAdd this code in routes/web.php
Route::get('/', function() {
$domain = uccello()->useMultiDomains() ? uccello()->getLastOrDefaultDomain()->slug : null;
$route = ucroute('uccello.home', $domain);
return redirect($route);
});
...If you don't want to use multi domains, add this code in .env
...
UCCELLO_MULTI_DOMAINS=false
Important : Don't forget to launch the command php artisan laroute:generate each times you change the value of UCCELLO_MULTI_DOMAINS.
Go to your homepage. You must be redirected to the login page. You can easily sign in with the following credentials:
Login: admin@uccello.io
Password: admin
$ composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email jonathan@uccellolabs.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.