Skip to content

Laravel Platform application provides a very flexible and extensible way of building your custom application.

License

Notifications You must be signed in to change notification settings

guoyu07/Platform

 
 

Repository files navigation

Laravel Platform application provides a very flexible and extensible way of building your custom application.

Official Documentation

Documentation can be found at Orchid website.

Installation

Orchid based off Laravel Framework, so before you put the Orchid, you must install Laravel.

You can see the installation on youtube

Via Composer

Going your project directory on shell and run this command:

$ composer require orchid/platform

Provider and Facades

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,
];

User

Inherit your model App\User

namespace App;

use Orchid\Core\Models\User as UserOrchid;

class User extends UserOrchid
{

}

Finish

Go to : http://your-application/dashboard

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

Learn more at these links:

Security

If you discover security related issues, please email [email protected] instead of using the issue tracker.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Laravel Platform application provides a very flexible and extensible way of building your custom application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 51.4%
  • HTML 30.0%
  • CSS 17.6%
  • Other 1.0%