digitalserra / laravel-custom
Laravel custom package with pre-installed components
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 3
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- anhskohbo/no-captcha: 2.*
- barryvdh/laravel-debugbar: ^2.0
- barryvdh/laravel-ide-helper: ^2.1
- edvinaskrucas/notification: 5.*
- filp/whoops: ~1.0
- laracasts/flash: ^1.3
- laravel/framework: 5.1.*
- laravelcollective/html: 5.1.*
- laravelcollective/remote: 5.1.*
- prettus/l5-repository: ^2.1
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-15 19:17:08 UTC
README
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