PHP code example of angel / blog

1. Go to this page and download the library: Download angel/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/ */

    

angel / blog example snippets


'Angel\Blog\BlogServiceProvider'

'menu' => array(
	'Pages' => 'pages',
	'Menus' => 'menus',
	'Blog' => 'blog', // <--- Add this line
	'Users' => 'users',
	'Settings' => 'settings'
),

'linkable_models' => array(
	'Page' => 'pages',
	'Blog' => 'blog' // <--- Add this line
)
bash
php artisan migrate --package="angel/blog"  # Run the migrations