Laravel Platform application provides a very flexible and extensible way of building your custom application.
Documentation can be found at Orchid website.
Orchid based off Laravel Framework, so before you put the Orchid, you must install Laravel.
You can see the installation on youtube
Going your project directory on shell and run this command:
$ composer require orchid/platform
Add to config/app.php
:
Service provider to the 'providers' array:
'providers' => [
// Laravel Framework Service Providers...
//...
// Package Service Providers
Orchid\Providers\FoundationServiceProvider::class,
// ...
// Application Service Providers
// ...
];
Facades aliases to the 'aliases' array:
'aliases' => [
// ...
'Alert' => Orchid\Alert\Facades\Alert::class,
'Dashboard' => Orchid\Facades\Dashboard::class,
'Setting' => Orchid\Settings\Facades\Setting::class,
'Active' => Watson\Active\Facades\Active::class,
];
Inherit your model App\User
namespace App;
use Orchid\Core\Models\User as UserOrchid;
class User extends UserOrchid
{
}
The graphical installation does not work if the server is started using the artisan serve
command, if you want to use a local server, please go to the public directory and run
php -S localhost:8000
Learn more at these links:
If you discover security related issues, please email [email protected] instead of using the issue tracker.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
The MIT License (MIT). Please see License File for more information.