Download the PHP package vanguardkras/laravel-simple-articles without Composer

On this page you can find all versions of the php package vanguardkras/laravel-simple-articles. 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-simple-articles

Laravel Simple Articles

Description

Laravel Simple Articles allows you to easily install an extension for your Laravel App for managing articles. This extension is easily configurable for your needs.

For editing articles the extension uses Summernote bootstrap extension:

summernote.org

Installation

1. Download the extension via composer:
2. In order to make pictures available, create laravel symbolic link to storage

in console:

3. Add database table:

Usage

Articles are now available on: your.domain/articles

Articles admin panel is available on: your.domain/admin_articles

Configuration

You obviously would like to configure views and some extensions feature. In this sections, will be explained how to do this.

Edit views and translations

Views

To edit view files, publish the extension views:

Now you can edit them in resources/views/vendor/articles

Articles per page

To edit the number of articles per page publish the extension config:

And modify parameter.

Translations

To edit translation files, publish the extension translations:

Now you can edit them in resources/lang/vendor/articles

User policy

In default behaviour any user is able to manage article. Of course, it is not appropriate for any production environment.

To change this behaviour you need to create in any class a static method that accept one optional parameter of an App\User instance and returns a boolean value like so:

In this method describe your logic for allowed users.

Then publish the config file:

And edit 'check_method' parameter in config/articles.php

Before @ should be your class full name, and after @, its static method.

Note for russian users

If you want to make summernote html editor interface work in Russian, publish its JS translation:


All versions of laravel-simple-articles with dependencies

PHP Build Version
Package Version
No informations.
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 vanguardkras/laravel-simple-articles contains the following files

Loading the files please wait ....