Download the PHP package ceniver/laravel-blog without Composer

On this page you can find all versions of the php package ceniver/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

Ceniver Laravel Blog

API-driven multi-language blog package for Laravel with full SEO support.

Master Panel (BlogPanel) uzerinden makale, kategori ve SEO yonetimi yapilir. Bu paket, slave (alt) sitelere kurulur ve master panelden gelen verileri otomatik olarak isler.

Kurulum

Wizard sizden su bilgileri isteyecektir:

Kurulum otomatik olarak:

Manuel Kurulum


HeadBuilder - Otomatik SEO Head Olusturucu

Blog sayfalari (liste, kategori, makale) otomatik olarak SEO meta tag'lari olusturur. Ancak kendi ozel sayfalariniz (ana sayfa, hakkimizda, iletisim vb.) icin de ayni sistemi kullanabilirsiniz.

Nasil Calisir?

  1. Master Panel uzerinden her sayfa tipi icin SEO sablonlari tanimlanir
  2. HeadBuilder servisi bu sablonlari okur ve degiskenleri doldurur
  3. Sonuc olarak <head> icine yazilacak HTML uretir (title, meta, OG, Twitter, Schema.org, GA4 vb.)

Sayfa Tiplerini Tanimlama

config/blog.php dosyasinda pages dizisine yeni sayfa tipleri ekleyin:

Bu sayfa tipleri master panelde gorunur ve her biri icin ayri SEO sablonu tanimlanabilir.

Not: page_type benzersiz bir anahtar olmalidir. variables dizisindeki degiskenler, master paneldeki sablon alanlarinda {site_name}, {product_name} gibi yer tutucu olarak kullanilir.


Controller'da Kullanim

HeadBuilder singleton olarak kayitlidir. Dependency injection ile kullanabilirsiniz:

Blade Layout'ta Kullanim


Detayli Ornekler

1. Ana Sayfa (Homepage)

2. Urun Detay Sayfasi

3. Override ile Kullanim

Controller'da master paneldeki sablonu override edebilirsiniz:

4. Hreflang ile Coklu Dil


HeadBuilder::render() Parametreleri

$vars - Sablon Degiskenleri

Master paneldeki SEO sablonlarinda kullanilan degiskenler:

Degisken Aciklama
site_name Site adi
locale Aktif dil
title Sayfa/makale basligi
excerpt Kisa aciklama
category Kategori adi
ozel Config'de tanimladiginiz herhangi bir degisken

$overrides - Override Secenekleri

Anahtar Tip Aciklama
title ?string Meta title (null ise sablon kullanilir)
description ?string Meta description
keywords ?string Meta keywords
author ?string Meta author
canonical ?string Canonical URL
robots ?string Robots meta (ornek: 'noindex, follow')
og_title ?string Open Graph title
og_description ?string Open Graph description
og_image ?string Open Graph image URL
og_type ?string OG type (website, article, product)
og_locale ?string OG locale
twitter_title ?string Twitter card title
twitter_description ?string Twitter card description
twitter_image ?string Twitter card image
hreflang array Dil alternatifleri ['tr' => 'url', 'en' => 'url']
schema_json ?string JSON-LD Schema.org (JSON string)
extra ?string Ekstra raw HTML

HeadBuilder Ciktisi

render() metodu su HTML etiketlerini uretir:


Oncelik Sirasi

HeadBuilder deger cozumlerken su oncelik sirasini kullanir:

Ornegin:


View'lari Ozellestirme

Blog view'larini projenize kopyalamak icin:

Bu komut view dosyalarini resources/views/vendor/blog/ altina kopyalar.


API Endpoint'leri

Paket su API endpoint'lerini otomatik olarak kaydeder:

Method URL Aciklama
GET /api/articles Makale listesi
POST /api/articles Makale olustur/guncelle
DELETE /api/articles/{id} Makale sil
GET /api/categories Kategori listesi
POST /api/categories Kategori olustur/guncelle
DELETE /api/categories/{id} Kategori sil
GET /api/health-status Baglanti durumu
GET /api/pages Sayfa tipi listesi
POST /api/page-seo Sayfa SEO guncelle
POST /api/seo-config Genel SEO ayarlari
POST /api/site-config Site yapilandirmasi
POST /api/redirects Yonlendirmeler
POST /api/sitemap/generate Sitemap olustur

Tum API endpoint'leri BLOG_MASTER_API_KEY ile korunur.

Web Route'lari

URL Aciklama
/{locale}/blog Blog ana sayfa
/{locale}/blog/{slug} Makale detay
/{locale}/blog/kategori/{slug} Kategori sayfasi
/blog/setup Kurulum sayfasi
/feed.xml RSS Feed
/robots.txt Robots.txt
/llms.txt LLM Discovery
/llms-full.txt LLM Full Content

Lisans

MIT License. Detaylar icin LICENSE dosyasina bakin.


All versions of laravel-blog with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/routing Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/queue Version ^11.0|^12.0
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 ceniver/laravel-blog contains the following files

Loading the files please wait ...