You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
_Blueprint_ is an open-source tool for **rapidly generating multiple** Laravel components from a **single, human readable** definition.
10
10
11
-
Watch a quick [demo of Blueprint](https://www.youtube.com/watch?v=A_gUCwni_6c) in action and continue reading this document to get started.
11
+
Watch a quick [demo of Blueprint](https://www.youtube.com/watch?v=A_gUCwni_6c) in action and continue reading to get started.
12
12
13
13
## Requirements
14
14
Blueprint requires a Laravel application running version 6.0 or higher.
@@ -72,8 +72,12 @@ From these simple 20 lines of YAML, Blueprint will generate all of the following
72
72
- An _event_ class for `NewPost` complete with a `post` property set through the _constructor_.
73
73
- A _Blade template_ of `post/index.blade.php` rendered by `PostController@index`.
74
74
75
-
_**Note:** This example assumes features within a default Laravel application such as the `User` model and `app.blade.php
76
-
layout. Otherwise, the generated test may have failures._
75
+
_**Note:** This example assumes features within a default Laravel application such as the `User` model and `app.blade.php` layout. Otherwise, the generated test may have failures._
77
76
78
77
## Documentation
79
78
Browse the [Blueprint Docs](https://blueprint.laravelshift.com/) for full details on [defining models](https://blueprint.laravelshift.com/docs/defining-models/), [defining controllers](https://blueprint.laravelshift.com/docs/defining-controllers/), [advanced configuration](https://blueprint.laravelshift.com/docs/advanced-configuration/), and [extending Blueprint](https://blueprint.laravelshift.com/docs/extending-blueprint/).
79
+
80
+
## Support Policy
81
+
Starting with version 2, Blueprint only generates code for the latest stable version of Laravel (currently Laravel 8). If you need to support older versions of Laravel, you may use version 1 or upgrade your application ([try using Shift](https://laravelshift.com)).
82
+
83
+
Blueprint still follows [semantic versioning](https://semver.org/). However, it does so with respect to its grammar. Any changes to the grammar will increase its major version number. Otherwise, minor version number increases will contain new features. This includes generating code for future versions of Laravel.
Version 2.x was a superficial major release to reflect Blueprint's new [Support Policy](https://github.com/laravel-shift/blueprint#support-policy). There were no changes to the underlying grammar. A few configuration options and methods were changed. Additional notes are below. You may view the full set of changes in [#496](https://github.com/laravel-shift/blueprint/pull/496).
5
+
6
+
### Configuration changes
7
+
The following configuration options were changed to reflect new conventions in Laravel 8.
8
+
9
+
-`models_namespace` default value is now `Models`.
10
+
-`generate_fqcn_route` was removed. Blueprint now generates all routes using fully qualified class names and tuples.
11
+
12
+
### Removed methods
13
+
The following static methods on the `Blueprint` class were changed:
14
+
15
+
-`supportsReturnTypeHits` was renamed to `useReturnTypeHints`.
0 commit comments