Download the PHP package yhshanto/larapress without Composer

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

LaraPress - Wordpress Plugin Boilerplate in laravel 5.5.* flavour.

Requirements

Installation

After install larapress project open plugin-name.php file and edit following as your need.

Usage

Database

To Use Wordpress Database like Laravel Eloquent Style, First Create A class in plugin directory which extend Illuminate\Database\Eloquent\Model Class.

Example plugin/Post.php

You Can Use It Like Plugin\Post::all() Which return all post from wordpress database.

To learn More about Laravel Eloquent. Go To Doc

Blade View

LaraPress also include Laravel Blade Template Engine To Compile And Render View.

All view file must be store in resources/views folder.

Example: resources/views/welcome.blade.php

You Can Use This View By view( $view, $data = array(), $return = false ) function.

Example: Echo This View

Or To return

To learn More about Laravel Blade Template Engine. Go To Doc

Wordpress Action Hook

Wordpress makes life easier by its hooking functionality. LaraPress brings a more easier and formatted way to working with wordpress action and filter hook.

In Larapress you can create special Hook class that uses for hooking.

All hooks class must be store in plugin/Hooks folder.

A Hook Example: plugin/Hooks/Auto.php

After Creating A New Hook class You Must Add it with $hooks array which located in config/plugin.php

Example: config/plugin.php $hooks Array

The $loader property of all hook class is a object of Plugin\Lpress\Loader Class. Which have two function for hooking. Functions -


All versions of larapress with dependencies

PHP Build Version
Package Version
Requires illuminate/database Version 5.5.*
illuminate/view Version 5.5.*
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 yhshanto/larapress contains the following files

Loading the files please wait ....