Download the PHP package zachleigh/larafolio without Composer

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


Turn a Laravel app into a portfolio site in minutes


Latest Stable Version Licence Build Status SensioLabsInsight Quality Score StyleCI

This project is still under construction. Come back soon!

Contents

API

Larafolio\Models\Project.php

static allVisible($group = true, $order = true)
static allHidden($group = true, $order = true)
static allGrouped($order = true)
static allOrdered()
static hasBlockNamed($blockName)
static hasImageNamed($imageName)
static hasLinkNamed($linkName)
blocks()
links()
images()
hasBlocks()
block($name)
blockText($name, $formatted = true)
getProjectBlock()
getProjectBlockText($formatted = true)
hasImages()
image($name)
imageUrl($name, $size = 'medium')
imageCaption($name)
getProjectImage()
getProjectImageUrl($size = 'small')
hasLinks()
link($name)
linkUrl($name)

Larafolio\Models\Image

thumbnail()
small()
medium()
full()
imageRoute($templateName)
fileName()

Developing

Getting Started

Clone this repo:
Install php dependencies:
Install javascript dependencies:

Or, if you like pain and suffering:

Set up database connections

Currently, database credentials are in two places (yeah, this sucks...):

Before submitting a pull request, please change codeception.yml back to its original values:

Artisan

There is an artisan file in the Larafolio directory that points to the laravel instance in vendor. This gives you access to all of the artisan commands you would normally use.

Publish the resources from the service provider:
Run migrations

Workflow

Serve the project:
Login and access project

Login logic is contained in the /login route in the underlying Laravel instance. To login and access the project, simply hit the /login route. A user will be logged in and you will be redirected to /manager. Hitting the login route also reruns the migrations and seeds it.

Build resources:

CSS and JS will be built and moved into the vendor laravel instance automatically.

Watch for changes and build automatically:
Create test data

Or simply hit the /login route.

Testing

This project contains both phpunit tests and Codeception tests.

Run all tests:

Run phpunit tests:

Run Codeception tests:


All versions of larafolio with dependencies

PHP Build Version
Package Version
Requires intervention/imagecache Version ^2.3
vlucas/phpdotenv Version ^2.4
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 zachleigh/larafolio contains the following files

Loading the files please wait ....