wl bootstrap
1.0.0
WordPress 플러그인은 모든 WordPress 프로젝트에서 기능, 메소드, Laravel 라이브러리를 사용하는 데 도움이됩니다.
define('LARAVEL_PATH', '/srv/www/laravel-example-project'); // Make sure this is pointed to same server
Laravel 프로젝트에서 모든 코드를 사용하고 동일한/하위 도메인에서 더 적은 노력으로 단일 사인을 구축 할 수 있습니다.
<?php
// Helper
$ array = array_add ([ ' name ' => ' Desk ' ], ' price ' , 100 );
// Session
session ([ ' chairs ' => 7 , ' instruments ' => 3 ]);
// Authentication
Auth:: check ();
// Query Builder
$ users = DB :: table ( ' users ' )-> get ();
// Eloquent
$ flights = App Flight:: where ( ' active ' , 1 )
-> orderBy ( ' name ' , ' desc ' )
-> take ( 10 )
-> get ();WL-Bootstrap을 개선하는 데 도움이되는 모든 기부금은 환영합니다.
MIT
저작권 (C) 2017- 프레젠트, Golr