Download the PHP package m4tlch/laravel-blog without Composer

On this page you can find all versions of the php package m4tlch/laravel-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-blog

WebDevEtc M4Blog

Easy to install Laravel Package for adding a full blog (with admin backend) to your Laravel app

5 minutes to install! Quick and easy!

Introduction

This is WebDevEtc's M4Blog package. It has everything you need to quickly and easily add a blog to your laravel app.

FOR 5 MINUTE INSTALLATION GUIDE (with video guide), PLEASE VISIT THE INSTALL GUIDE HERE

Install guidePackagist << MAKE SURE YOU FOLLOW THE INSTURCTIONS. They're simple, but must be followed.

Features

What/who this package is for:

What this package is NOT for:

Important notes

1) Anyone who can manage blog posts (defined by the canManageM4BlogPosts() method you add to your User model) can submit any HTML which is echoed out. This is a security issue. If you don't trust the content you should add a custom view and escape the blog content before echoing it, and set use_custom_view_files in the config to false.

2) if use_custom_view_files is enabled in the config (which it is by default), it means that any post with a custom view file set (details in the docs) can include any file within /resources/views/custom_blog_posts, which blade will execute. This package gives no method to edit any file within that directory though.

How to install M4Blog to your laravel app

Please see our M4Blog Laravel Blog Package Documentation/install guide for install instructions. (It is very simple - done via composer/artisan commands, plus adding one method to your \App\User model (canManageM4BlogPosts() which should return true if this user can manage the blog).

How to customise the blog views/templates

This is easy to do, and further detail can be found in our M4Blog Laravel Blog Package Documentation.

After doing the correct vendor:publish, all of the default template files will be found in /resources/views/vendor/m4blog/ and are easy to edit to match your needs.

Routes

It will auto set all required routes (both public facing, and admin backend). There are some config options (such as changing the /blog/ url to something else), which can be done in the m4blog.php file.

Config options

Please see the M4Blog config option documentation here for details.

All config options have comments which describe what they do. Please just refer to the m4blog.php file in your /config/ dir.

Events

You can find all the events that are fired by looking in the /src/Events directory.

Add these (and an Event Listener) to your EventServiceProvider.php file to make use of these events when they fire.

Built in CAPTCHA / anti spam

There is a built in captcha (anti spam comment) system built in, which will be easy for you to replace with your own implementation.

Please see our Captcha docs for more details.

TODO

This is a list of features or things that I want to eventually get round to adding

Recent changes:

1) Added full text search and search views. You have to enable it in the config file (see latest config file) 2) Need more than the 3 default image sizes? Add more in the config/m4blog.php file, add the database column for it and it'll work!

Having problems, something is not working?

Image upload errors?

Try adding this to config/app.php:

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

Version History

Issues, support, bug reports, security issues

Please contact me on the contact from on WebDev Etc or on twitter and I'll get back to you asap.


All versions of laravel-blog with dependencies

PHP Build Version
Package Version
Requires cviebrock/eloquent-sluggable Version 4.5.*|4.6.*
illuminate/database Version ~5.5.0|~5.6.0|~5.7.0
illuminate/support Version ~5.5.0|~5.6.0|~5.7.0
laravelium/feed Version ~2.12.0|~3.0.0
swisnl/laravel-fulltext Version 0.13.0
intervention/image Version 2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package m4tlch/laravel-blog contains the following files

Loading the files please wait ....