PHP code example of archey347 / uf_blog
1. Go to this page and download the library: Download archey347/uf_blog 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/ */
archey347 / uf_blog example snippets
// ...
use UserFrosting\Sprinkle\Blog\Blog;
// ...
class MyApp implements
SprinkleRecipe,
BakeryRecipe
{
// ...
public function getSprinkles(): array
{
return [
Core::class,
Account::class,
Admin::class,
AdminLTE::class,
Blog::class,
// ...
];
}
// ...
}
php bakery assets:build
bash
php bakery migrate
php bakery seed