Build Status Total Downloads Latest Stable Version License

About Laravel



https://github.com/apal21/PHP-Laravel-5.4-custom-blog-CMS

laravel new custome-blog-CMS

php artisan make:auth

php artisan make:controller BlogController --resource
php artisan make:controller CategoryController --resource
php artisan make:controller CommentsController --resource
php artisan make:controller PostController --resource
php artisan make:controller TagController --resource
php artisan make:controller pagesController --resource

php artisan make:migration create_posts_table --create posts
php artisan make:migration add_slug_to_posts --create posts
php artisan make:migration add_category_id_to_table --create posts
php artisan make:migration create_categories_table --create categories
php artisan make:migration create_tags_table --create tags
php artisan make:migration create_post_tag_table --create post_tag
php artisan make:migration create_comments_table --create comments
php artisan make:migration add_image_col_to_posts --create posts

php artisan make:model Category
php artisan make:model Comment
php artisan make:model Post
php artisan make:model Tag

composer require "laravelcollective/html":"^5.3.0"
Collective\Html\HtmlServiceProvider::class,
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,

composer require mews/purifier
Mews\Purifier\PurifierServiceProvider::class,
'Purifier' => Mews\Purifier\Facades\Purifier::class,


Intervention\Image\ImageServiceProvider::class
'Image' => Intervention\Image\Facades\Image::class



composer update

"php": ">=5.6.4",
"guzzlehttp/guzzle": "^6.2",
"intervention/image": "^2.3",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0",
"laravelcollective/html": "^5.4.0",
"mews/purifier": "^2.0"


===========================================================================

composer require "laravelcollective/html":"^5.3.0"
composer require mews/purifier
composer require intervention/image

Collective\Html\HtmlServiceProvider::class,
Mews\Purifier\PurifierServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,

'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'Purifier' => Mews\Purifier\Facades\Purifier::class,
'Image' => Intervention\Image\Facades\Image::class,