PHP Classes

How to Add Blog to a Laravel Application with a PHP Blog Service Using the Package Easy Blog: Provide a blog as a Laravel service

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-06-28 (16 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
easy-blog 1.0MIT/X Consortium ...7Libraries, Blogs, PHP 7
Description 

Author

This package can provide a blog as a Laravel service.

It provides a Laravel package service that can work as blog service.

Currently, the blog service can:

- List all posts in a blog

Picture of Omar Andrés Barbosa Ortiz
  Performance   Level  
Name: Omar Andrés Barbosa ... <contact>
Classes: 5 packages by
Country: Colombia Colombia
Innovation award
Innovation award
Nominee: 4x

Instructions

Please read this document to learn how to add a blog to a Laravel PHP application.

Documentation

This is my package easy-blog

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

<img src="https://github-ads.s3.eu-central-1.amazonaws.com/easy-blog.jpg?t=1" width="419px" />

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require barbosa89/easy-blog

You can publish and run the migrations with:

php artisan vendor:publish --tag="easy-blog-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="easy-blog-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="easy-blog-views"

Usage

$easyBlog = new Barbosa\EasyBlog();
echo $easyBlog->echoPhrase('Hello, Barbosa!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


  Files folder image Files (33)  
File Role Description
Files folder image.github (2 files, 2 directories)
Files folder imageconfig (1 file)
Files folder imagedatabase (2 directories)
Files folder imageresources (1 directory)
Files folder imageroutes (1 file)
Files folder imagesrc (2 files, 4 directories)
Files folder imagetests (3 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phpstan.neon.dist Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (33)  /  .github  
File Role Description
Files folder imageISSUE_TEMPLATE (2 files)
Files folder imageworkflows (5 files)
  Accessible without login Plain text file dependabot.yml Data Auxiliary data
  Accessible without login Plain text file FUNDING.yml Data Auxiliary data

  Files folder image Files (33)  /  .github  /  ISSUE_TEMPLATE  
File Role Description
  Accessible without login Plain text file bug.yml Data Auxiliary data
  Accessible without login Plain text file config.yml Data Auxiliary data

  Files folder image Files (33)  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file dependabot-auto-merge.yml Data Auxiliary data
  Accessible without login Plain text file fix-php-code-style-issues.yml Data Auxiliary data
  Accessible without login Plain text file phpstan.yml Data Auxiliary data
  Accessible without login Plain text file run-tests.yml Data Auxiliary data
  Accessible without login Plain text file update-changelog.yml Data Auxiliary data

  Files folder image Files (33)  /  config  
File Role Description
  Accessible without login Plain text file easy-blog.php Aux. Configuration script

  Files folder image Files (33)  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imagemigrations (1 file)

  Files folder image Files (33)  /  database  /  factories  
File Role Description
  Plain text file PostFactory.php Class Class source

  Files folder image Files (33)  /  database  /  migrations  
File Role Description
  Plain text file create_posts_table.php Class Class source

  Files folder image Files (33)  /  resources  
File Role Description
Files folder imageviews (1 directory)

  Files folder image Files (33)  /  resources  /  views  
File Role Description
Files folder imageposts (1 file)

  Files folder image Files (33)  /  resources  /  views  /  posts  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Configuration script

  Files folder image Files (33)  /  routes  
File Role Description
  Plain text file web.php Class Class source

  Files folder image Files (33)  /  src  
File Role Description
Files folder imageCommands (1 file)
Files folder imageFacades (1 file)
Files folder imageHttp (1 directory)
Files folder imageModels (1 file)
  Plain text file EasyBlog.php Class Class source
  Plain text file EasyBlogServiceProvider.php Class Class source

  Files folder image Files (33)  /  src  /  Commands  
File Role Description
  Plain text file EasyBlogCommand.php Class Class source

  Files folder image Files (33)  /  src  /  Facades  
File Role Description
  Plain text file EasyBlog.php Class Class source

  Files folder image Files (33)  /  src  /  Http  
File Role Description
Files folder imageControllers (1 file)

  Files folder image Files (33)  /  src  /  Http  /  Controllers  
File Role Description
  Plain text file PostController.php Class Class source

  Files folder image Files (33)  /  src  /  Models  
File Role Description
  Plain text file Post.php Class Class source

  Files folder image Files (33)  /  tests  
File Role Description
Files folder imageModels (2 files)
Files folder imagePosts (1 file)
  Accessible without login Plain text file ArchTest.php Example Example script
  Plain text file Pest.php Class Class source
  Plain text file TestCase.php Class Class source

  Files folder image Files (33)  /  tests  /  Models  
File Role Description
  Plain text file User.php Class Class source
  Plain text file UserFactory.php Class Class source

  Files folder image Files (33)  /  tests  /  Posts  
File Role Description
  Accessible without login Plain text file PostIndexTest.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0