PHP code example of seiger / sarticles

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

    

seiger / sarticles example snippets


@php($articles = sArticles::all(10))

@foreach($articles as $article)
    <a href="{{ $article->link }}">{{ $article->pagetitle }}</a>
@endforeach
console
php artisan package:installevo-ui --force
php artisan vendor:publish --provider="Seiger\\sArticles\\sArticlesServiceProvider" --tag=sarticles
php artisan migrate
console
php artisan extras extras "sArticles"
text
core/custom/config/seiger/settings/sArticles.php
text
core/custom/config/app/aliases/sArticles.php
text
views/vendor/sarticles/render/richtext.blade.php
views/vendor/sarticles/render/quote.blade.php
console
php artisan sarticles:rerender --dry-run
php artisan sarticles:rerender --articles=123-10000 --chunk=200