PHP code example of luis-developer-08 / yui-installer
1. Go to this page and download the library: Download luis-developer-08/yui-installer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
luis-developer-08 / yui-installer example snippets
namespace App\Http\Controllers\Orion;
use Orion\Http\Controllers\Controller;
use App\Models\Post;
class PostController extends Controller
{
protected $model = Post::class;
}