2017 © Pedro Peláez
 

library annotations

Route Annotations for The Laravel Framework.

image

lpcdernoncourt/annotations

Route Annotations for The Laravel Framework.

  • Monday, November 20, 2017
  • by lpcdernoncourt
  • Repository
  • 0 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 40 Forks
  • 0 Open issues
  • 23 Versions
  • 0 % Grown

The README.md

Annotations for The Laravel Framework

To Laravel 5.5, (*1)

Build Status Total Downloads Latest Stable Version Latest Unstable Version License, (*2)

Official documentation for Annotations for The Laravel Framework can be found at the LaravelCollective website., (*3)

Installation

Add Presenter to your composer.json file:, (*4)

"require": {
    "lpcdernoncourt/annotations": "5.5.*"
}

Now, run a composer update on the command line from the root of your project:, (*5)

composer update

Once composer is done, you'll need to create a Service Provider in app/Providers/AnnotationsServiceProvider.php., (*6)

<?php namespace App\Providers;

use Collective\Annotations\AnnotationsServiceProvider as ServiceProvider;

class AnnotationsServiceProvider extends ServiceProvider {

    /**
     * The classes to scan for event annotations.
     *
     * @var array
     */
    protected $scanEvents = [];

    /**
     * The classes to scan for route annotations.
     *
     * @var array
     */
    protected $scanRoutes = [];

    /**
     * The classes to scan for model annotations.
     *
     * @var array
     */
    protected $scanModels = [];

    /**
     * Determines if we will auto-scan in the local environment.
     *
     * @var bool
     */
    protected $scanWhenLocal = false;

    /**
     * Determines whether or not to automatically scan the controllers
     * directory (App\Http\Controllers) for routes
     *
     * @var bool
     */
    protected $scanControllers = false;

    /**
     * Determines whether or not to automatically scan all namespaced
     * classes for event, route, and model annotations.
     *
     * @var bool
     */
    protected $scanEverything = false;

}

Registering the Package

Include the service provider within app/config/app.php. The service povider is needed for the generator artisan command., (*7)

'providers' => [
    // ...
    App\Providers\AnnotationsServiceProvider::class
    // ...
  ];

The Versions

20/11 2017
05/12 2015
18/06 2015
18/06 2015
05/05 2015

v5.0.9

5.0.9.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

23/04 2015

v5.0.8

5.0.8.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

27/03 2015

v5.0.7

5.0.7.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

27/03 2015

v5.0.6

5.0.6.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

27/03 2015

v5.0.5

5.0.5.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

08/03 2015

v5.0.4

5.0.4.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

25/02 2015

v5.0.3

5.0.3.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

25/02 2015

v5.0.2

5.0.2.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

25/02 2015

v5.0.1

5.0.1.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations

04/02 2015

v5.0.0

5.0.0.0

Route Annotations for The Laravel Framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Engebretson

laravel framework annotations