Download the PHP package dropinblog/laravel-rendered without Composer

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

DropInBlog Laravel Rendered Package

This package allows you to easily integrate DropInBlog's rendered content into your Laravel application. It fetches pre-rendered HTML from DropInBlog's API and seamlessly integrates it into your Laravel views.

Requirements

Installation

  1. Install the package via composer:

  2. Publish the configuration file:

  3. Add your DropInBlog credentials to your .env file:

Configuration

The package publishes a configuration file at config/dropinblog.php with the following options:

Upgrading from 1.1.x

The credential is now api_key / DROPINBLOG_API_KEY. Existing installs keep working without changes — the old api_token config key and DROPINBLOG_API_TOKEN variable are still read.

If you rename the variable in your .env, republish the config so it picks up the new key:

Usage

The package automatically registers routes for your blog at /blog (configurable via the path option). These include:

Blade Directives

The package provides several Blade directives to help integrate DropInBlog content:

IMPORTANT: Add the @dropInBlogHead directive to your layout's <head> section. This will add title, description, styles and more meta tags inside your <head>.

Avoiding Duplicate Head Elements

The @dropInBlogHead directive adds meta tags title, description, styles and more. Most likely you will already be setting some of these tags in your <head>. You can use directives to prevent any duplicates.

For proper implementation:

  1. Always place the @dropInBlogHead directive in your layout's <head> section
  2. Use the @isDropInBlog and @notDropInBlog directives to conditionally include or exclude your own head elements

Example layout:

This ensures that on blog pages, the title and meta tags come from DropInBlog, while on non-blog pages, your own title and meta tags are used.

Customizing Views

If you want to customize the blog views, you can publish them:

The views will be published to resources/views/vendor/dropinblog/.

How It Works

This package fetches pre-rendered HTML from DropInBlog's API and displays it within your Laravel application. The rendered content includes:

The package handles all routing and view rendering for you, making it easy to integrate a fully-featured blog into your Laravel application without managing blog content in your database.

License

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


All versions of laravel-rendered with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3|^8.4
laravel/framework Version ^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.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 dropinblog/laravel-rendered contains the following files

Loading the files please wait ...