2017 © Pedro Peláez
 

library alert

An easy way of flashing messages in Laravel Application

image

digitlimit/alert

An easy way of flashing messages in Laravel Application

  • Monday, June 19, 2017
  • by digitlimit
  • Repository
  • 1 Watchers
  • 4 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Version 2.0, (*1)

Alert is Laravel package for displaying different types of messages in Laravel application views. It's designed to make flashing messages in Laravel Applications a breeze, with a lot of easy to use and fluent methods., (*2)

Quick Start

  1. Install Alert with composer:
composer require digitlimit/alert
  1. Somewhere in the blade template
<x-alert-normal />

Example:, (*3)

@extends('layouts.default')

@section('content')


@include('form.profile')
@include('partials.footer') @endsection

NB: At the moment the alert components are built with Twitter Bootstrap 5, and can be customized to use other CSS classes. Need to ensure bootstrap is included on the page., (*4)

  1. Somewhere in the application
<?php

namespace App\Http\Controllers;

use Alert;

class DashboardController extends Controller
{
    public function index()
    {
        Alert::message('Welcome! Please complete your profile')
            ->info()
            ->flash();

        return view('home');
    }
}
  1. Result

image, (*5)

Documentation

Learn how to get started with Alert and then dive deeper into other and advanced topics:, (*6)

Complete documentation, (*7)

Change log

Coming soon, (*8)

Code of conduct

We will behave ourselves if you behave yourselves. For more details see our CODE_OF_CONDUCT.md., (*9)

Contributing

Please read through our contributing guidelines. Included are directions for opening issues., (*10)

Versioning

Alert will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:, (*11)

<major>.<minor>.<patch>, (*12)

For more information on SemVer, please visit https://semver.org., (*13)

  • Any release may update the design, look-and-feel, or branding of an existing icon
  • We will never intentionally release a patch version update that breaks backward compatibility
  • A minor release may include backward-incompatible changes but we will write clear upgrading instructions in UPGRADING.md
  • A minor or patch release will never remove icons
  • Bug fixes will be addressed as patch releases unless they include backward incompatibility then they will be minor releases

License

Alert Free is free, open source, and GPL friendly. You can use it for commercial projects, open source projects, or really almost whatever you want., (*14)

  • Code — MIT License
    • In the Alert Free download, the MIT license applies all PHP files.

We've kept attribution comments terse, so we ask that you do not actively work to remove them from files, especially code. They're a great way for folks to learn about Alert., (*15)

The Versions

19/06 2017

dev-master

9999999-dev

An easy way of flashing messages in Laravel Application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mbah Emeka

laravel messages views flash witherrors

14/06 2017

v1.0

1.0.0.0

An easy way of flashing messages in Laravel Application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mbah Emeka

laravel messages views flash witherrors

16/04 2015

1.1

1.1.0.0

An easy way of flashing messages in Laravel Application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mbah Emeka

laravel messages views flash witherrors

05/03 2015

v1.5

1.5.0.0

An easy way of flashing messages in Laravel Application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mbah Emeka

laravel messages views flash witherrors