PHPackages                             adamgoose/laravel-annotations - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. adamgoose/laravel-annotations

Abandoned → [laravelcollective/annotations](/?search=laravelcollective%2Fannotations)Library[Framework](/categories/framework)

adamgoose/laravel-annotations
=============================

Route Annotations for The Laravel Framework.

551.4k2[3 issues](https://github.com/adamgoose/laravel-annotations/issues)PHP

Since Feb 4Pushed 11y ago7 watchersCompare

[ Source](https://github.com/adamgoose/laravel-annotations)[ Packagist](https://packagist.org/packages/adamgoose/laravel-annotations)[ RSS](/packages/adamgoose-laravel-annotations/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

DEPRECATED
==========

[](#deprecated)

In favor of . Please update your composer.json file.

Annotations for The Laravel Framework
-------------------------------------

[](#annotations-for-the-laravel-framework)

[![Build Status](https://camo.githubusercontent.com/c8d781378b2a2158fc54f33f3983b57731d7022025f7f068d7debf9fe49143c6/68747470733a2f2f7472617669732d63692e6f72672f6164616d676f6f73652f6c61726176656c2d616e6e6f746174696f6e732e737667)](https://travis-ci.org/adamgoose/laravel-annotations)[![Total Downloads](https://camo.githubusercontent.com/d504d1cb15f3983c6836009dc372ea523b9691a3dacff22865d24350c41454d2/68747470733a2f2f706f7365722e707567782e6f72672f6164616d676f6f73652f6c61726176656c2d616e6e6f746174696f6e732f646f776e6c6f6164732e737667)](https://packagist.org/packages/adamgoose/laravel-annotations)[![Latest Stable Version](https://camo.githubusercontent.com/52d0ec8ab269244dddcfb4ea6f84a76e1843ece059c6870eec10e7784de9a04e/68747470733a2f2f706f7365722e707567782e6f72672f6164616d676f6f73652f6c61726176656c2d616e6e6f746174696f6e732f762f737461626c652e737667)](https://packagist.org/packages/adamgoose/laravel-annotations)[![Latest Unstable Version](https://camo.githubusercontent.com/8a8e5139c302ca8048812fbb597571fead6d8f01d29d56e23fc15db12fba0a0f/68747470733a2f2f706f7365722e707567782e6f72672f6164616d676f6f73652f6c61726176656c2d616e6e6f746174696f6e732f762f756e737461626c652e737667)](https://packagist.org/packages/adamgoose/laravel-annotations)[![License](https://camo.githubusercontent.com/8ee700f990adbb946090073db7104b033252adc9721c65c6bcbe4635c417fccb/68747470733a2f2f706f7365722e707567782e6f72672f6164616d676f6f73652f6c61726176656c2d616e6e6f746174696f6e732f6c6963656e73652e737667)](https://packagist.org/packages/adamgoose/laravel-annotations)

> During its early stages of development, Laravel 5.0 was gearing up to support Route and Event annotations. With much [controversy](http://www.laravelpodcast.com/episodes/6257-episode-18-the-war-over-php-annotations) and [discussion](https://laracasts.com/discuss/channels/general-discussion/route-annotation-in-laravel-5) on the matter, @taylorotwell decided to remove Annotation support from the core in favor of extracting Laravel Annotation Support to a third-party package. The result of this decision resulted in this package being maintained by a huge fan of Laravel Annotations.

Installation
------------

[](#installation)

N.B. If you have changed the top-level namespace to something like 'MyCompany', then you would use the new namespace instead of 'App'.

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `adamgoose/laravel-annotations`.

```
"require": {
    "adamgoose/laravel-annotations": "~5.0"
}

```

Next, update Composer from the Terminal:

```
composer update

```

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

```
