2017 © Pedro Peláez
 

project larafolio

A portfolio management system for Laravel.

image

zachleigh/larafolio

A portfolio management system for Laravel.

  • Thursday, February 16, 2017
  • by zachleigh
  • Repository
  • 2 Watchers
  • 5 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 12 Open issues
  • 13 Versions
  • 0 % Grown

The README.md


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()
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')
link($name)
linkUrl($name)

Larafolio\Models\Image

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

Developing

Getting Started

Clone this repo:
git clone https://github.com/zachleigh/larafolio.git
Install php dependencies:
composer install
Install javascript dependencies:
yarn

Or, if you like pain and suffering:, (*1)

npm install
Set up database connections

Currently, database credentials are in two places (yeah, this sucks...): - /vendor/laravel/laravel/.env.testing - codeception.yml, (*2)

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

dsn: 'mysql:host=127.0.0.1;dbname=larafolio'
user: 'root'
password: 'password'
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., (*4)

Publish the resources from the service provider:
php artisan vendor:publish --provider="Larafolio\LarafolioServiceProvider" --force
Run migrations
php artisan migrate

Workflow

Serve the project:
php artisan serve
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., (*5)

Build resources:
gulp

CSS and JS will be built and moved into the vendor laravel instance automatically., (*6)

Watch for changes and build automatically:

```` gulp watch, (*7)


###### Create test data

php artisan migrate:refresh --seed, (*8)

Or simply hit the /login route.

#### Testing
This project contains both phpunit tests and Codeception tests.    

Run all tests:

composer test, (*9)


Run phpunit tests:

phpunit, (*10)


Run Codeception tests:

codecept run acceptance ```, (*11)

The Versions

16/02 2017
30/01 2017

dev-master

9999999-dev

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

30/01 2017

v0.9.11

0.9.11.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

28/01 2017

v0.9.10

0.9.10.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

24/01 2017

v0.9.9

0.9.9.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

04/01 2017

v0.9.08

0.9.08.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

27/12 2016

v0.9.07

0.9.07.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

21/12 2016

v0.9.06

0.9.06.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

09/12 2016

v0.9.05

0.9.05.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

04/12 2016

v0.9.04

0.9.04.0

A portfolio management system for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

laravel cms portfolio

24/11 2016

v0.9.02

0.9.02.0

A portfolio management system for laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh

22/11 2016

v0.9.01

0.9.01.0

A portfolio management system for laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Zach Leigh