Digital-Serra / laravel-custom by mauri870

Laravel custom package with pre-installed components
27
5
4
Package Data
Maintainer Username: mauri870
Package Create Date: 2015-10-15
Package Last Update: 2016-06-07
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:06:38
Package Statistics
Total Downloads: 27
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 5
Total Watchers: 4
Total Forks: 3
Total Open Issues: 0

Laravel Custom App

Build Status

Latest Stable Version

Diferences

This package is a standard laravel 5.1.* installation, but with some additional content and pre-configured

Additional Content

  • Whoops
  • Heroku deploy ready, create your app, add heroku-buildpack-multi and push to heroku
  • Laravel Collective
  • Prettus L5 Repository
  • IDE Helper Files for Facades, Models and PhpStorm autocompletation
  • Laravel Collective Remote
  • Artisan Command for git pull on remote server
  • Debugbar
  • Bower pre-configured with Jquery, Bootstrap, Font-Awesome and Sweetalert
  • Login and register views and routes pre-configured
  • Reset password system
  • pt-BR language

Installation

composer create-project digitalserra/laravel-custom project-name "~1.0"
  • Install the prerequisites

    npm install
    
    bower install
    
    gulp
    
    php artisan migrate
    

    Get template options and layouts at NEON Dashboard Theme

Docker

This skeleton comes with docker containers preconfigured. See docker-compose.yml for adding or removing containers. A number of build-in commands is available:

php artisan docker:up | down | restart - Start, drop or restart the docker containers specified on docker-compose.yml

Caddy

Caddy is a web server like apache or nginx, but with support for HTTP/2 and HTTPS by default. HTTP/2 is a new version of HTTP that makes your website load faster. HTTP/2 is enabled by default when the connection is served over HTTPS. A Caddyfile is present on this project, working for laravel. Feel free to modify then.

Please refer to caddy documentation or github repository for more information. For using caddy as a service, like on nginx for example, see here

Commands

The following commands is available for usage:

php artisan docker:up | down | restart - Start, drop or restart the docker containers specified on docker-compose.yml

php artisan ssh:run {command} | pull {--folder=public_html | --branch=master} - Execute ssh operations

Notifications

Set new persistent notifications with:

Notify::set('title','type','message')

Type must be one of: info, success, error or warning You can automatically set a session message passing true as the fourth argument:

Notify::set('title','type','message',true)

This will create a session notification based on: edvinaskrucas/notification You can get the number of new notifications created on the latest request using Notify::getNotificationCount()

Testing

This skeleton comes with multiple unit tests

phpunit

License

The Laravel framework and this package is open-sourced software licensed under the MIT license