2017 © Pedro Peláez
 

library l4-core

Core L4 functionality.

image

anlutro/l4-core

Core L4 functionality.

  • Thursday, September 3, 2015
  • by anlutro
  • Repository
  • 2 Watchers
  • 28 Stars
  • 350 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 100 Versions
  • 0 % Grown

The README.md

L4 Core Build Status Latest Version

This is my personal development boilerplate for Laravel 4. It includes user management and authentication controllers, views, language files and more., (*1)

As this is a repository mostly for my personal use, I do not recommend you ever install this into your project as I will never bother to document everything. Instead, draw inspiration from it, pick up tricks here and there from reading source code., (*2)

Also check out the following repositories, which contains classes that this package uses. These are suited to be included in your own projects and are more thoroughly documented., (*3)

  • https://github.com/anlutro/laravel-4-smart-errors
  • https://github.com/anlutro/laravel-controller
  • https://github.com/anlutro/laravel-repository
  • https://github.com/anlutro/laravel-testing
  • https://github.com/anlutro/laravel-validation
  • https://github.com/anlutro/php-menu

Prerequisites

  • Bootstrap 3 stylesheet with the necessary Javascript installed and included
  • Optional: The package anlutro/php-menu installed and its service provider registered
  • Optional: The package anlutro/l4-smart-errors installed and its service provider registered

Installation

composer require anlutro/l4-core - pick the latest minor release tag from github or packagist. For example, 0.16.*, (*4)

Add anlutro\Core\CoreServiceProvider to the list of providers in app/config/app.php., (*5)

Run artisan core:publish config to publish config files. You can do the same with "migration", "lang" and "view" if you want. Delete the published files you don't want to override., (*6)

Remove everything from app/start/global.php except the line that sets up the logger., (*7)

In app/config/auth.php, set the driver to "eloquent-exceptions"., (*8)

In app/start/global.php or a serviceprovider's boot method, you need to add some code., (*9)

// either one of these, depending on if you want a sidebar or not
View::alias('c::layout.main-nosidebar', 'c::layout.main');
View::alias('c::layout.main-sidebar', 'c::layout.main');

// register CSS and JS files to be included
View::composer('c::layout.main-generic', function($view) {
    $view->styles->add(URL::asset('css/app.min.css'));
    $view->headScripts->add(URL::asset('js/modernizr.min.js'));
    $view->bodyScripts->add(URL::asset('js/jquery.min.js'));
    $view->bodyScripts->add(URL::asset('js/bootstrap.min.js'));
    $view->bodyScripts->add(URL::asset('js/app.min.js'));
});

Password reset

If you want the new and improved password reset/reminder functionality, remove the default ReminderServiceProvider from the providers array and replace it with anlutro\Core\Auth\Reminders\ReminderServiceProvider., (*10)

User registration and activation

If you want access to activation, add anlutro\Core\Auth\Activation\ActivationServiceProvider as well., (*11)

Improved form builder

Replace the default Laravel HtmlServiceProvider with anlutro\Core\Html\ServiceProvider in the providers array., (*12)

Contact

Open an issue on GitHub if you have any questions., (*13)

License

The contents of this repository is released under the MIT license., (*14)

The Versions

03/09 2015
03/09 2015
27/08 2015

0.9.x-dev

0.9.9999999.9999999-dev

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

27/08 2015

0.9.11

0.9.11.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

27/07 2015
17/07 2015
17/07 2015
17/07 2015
10/07 2015

dev-feature-return_joinclause

dev-feature-return_joinclause

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

15/05 2015
19/09 2014
19/09 2014
27/08 2014
04/08 2014
30/07 2014
28/07 2014
28/07 2014
28/07 2014
14/07 2014
13/07 2014
11/07 2014
11/07 2014
11/07 2014
11/07 2014
10/07 2014
10/07 2014
10/07 2014
10/07 2014
10/07 2014
09/07 2014
09/07 2014
30/06 2014

4.1.x-dev

4.1.9999999.9999999-dev

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

16/04 2014
26/03 2014
25/03 2014
21/03 2014
29/01 2014

0.9.10

0.9.10.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

29/01 2014

0.9.9

0.9.9.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

28/01 2014

0.9.8

0.9.8.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

27/01 2014

0.9.7

0.9.7.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

24/01 2014

0.9.6

0.9.6.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

24/01 2014

0.9.5

0.9.5.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

24/01 2014

0.9.4

0.9.4.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

24/01 2014

0.9.3

0.9.3.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

22/01 2014

0.9.2

0.9.2.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

22/01 2014

0.9.1

0.9.1.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

22/01 2014

0.9.0

0.9.0.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

20/01 2014

0.8.2

0.8.2.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

16/01 2014

0.8.1

0.8.1.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

16/01 2014

0.8.0

0.8.0.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

14/01 2014

0.7.3

0.7.3.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

14/01 2014

0.7.2

0.7.2.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

14/01 2014

0.7.1

0.7.1.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro

13/01 2014

0.7.0

0.7.0.0

Core L4 functionality.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro