[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8565":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":27,"discoverSource":28},8565,"blueprint","laravel-shift\u002Fblueprint","laravel-shift","A code generation tool for Laravel developers.","",null,"PHP",3108,295,52,12,0,2,6,61.01,"MIT License",false,"master",[],"2026-06-12 04:00:40","\u003Cp align=\"right\">\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flaravel-shift\u002Fblueprint\u002Factions\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Flaravel-shift\u002Fblueprint\u002Fworkflows\u002FBuild\u002Fbadge.svg\" alt=\"Build Status\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fpackagist.org\u002Fpackages\u002Flaravel-shift\u002Fblueprint\">\u003Cimg src=\"https:\u002F\u002Fposer.pugx.org\u002Flaravel-shift\u002Fblueprint\u002Fv\u002Fstable.svg\" alt=\"Latest Stable Version\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbadges\u002Fposer\u002Fblob\u002Fmaster\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fposer.pugx.org\u002Flaravel-shift\u002Fblueprint\u002Flicense.svg\" alt=\"License\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n![Blueprint](blueprint-logo.png)\n\n_Blueprint_ is an open-source tool for **rapidly generating multiple** Laravel components from a **single, human readable** definition.\n\nWatch a quick [demo of Blueprint](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=A_gUCwni_6c) in action or continue reading to get started.\n\n\n## Requirements\nBlueprint requires a Laravel application running a supported version of Laravel. Currently that is Laravel 11 or higher.\n\n\n## Installation\nYou may install Blueprint via Composer using the following command:\n\n```sh\ncomposer require -W --dev laravel-shift\u002Fblueprint\n```\n\nBlueprint will automatically register itself using [package discovery](https:\u002F\u002Flaravel.com\u002Fdocs\u002Fpackages#package-discovery).\n\nIf you wish to run the tests generated by Blueprint, you should also install the [Additional Assertions](https:\u002F\u002Fgithub.com\u002Fjasonmccreary\u002Flaravel-test-assertions) package:\n\n```sh\ncomposer require --dev jasonmccreary\u002Flaravel-test-assertions\n```\n\n\n## Basic Usage\nBlueprint comes with a set of artisan commands. The one you'll use to generate the Laravel components is the `blueprint:build` command:\n\n```sh\nphp artisan blueprint:build\n```\n\nThe _draft_ file contains a [definition of the components](https:\u002F\u002Fblueprint.laravelshift.com\u002Fdocs\u002Fgenerating-components\u002F) to generate. Let's review the following example draft file which generates some _blog_ components:\n\n```yaml\nmodels:\n  Post:\n    title: string:400\n    content: longtext\n    published_at: nullable timestamp\n    author_id: id:user\n\ncontrollers:\n  Post:\n    index:\n      query: all\n      render: post.index with:posts\n\n    store:\n      validate: title, content, author_id\n      save: post\n      send: ReviewPost to:post.author.email with:post\n      dispatch: SyncMedia with:post\n      fire: NewPost with:post\n      flash: post.title\n      redirect: posts.index\n```\n\nFrom these 20 lines of YAML, Blueprint will generate all of the following Laravel components:\n\n- A _model_ class for `Post` complete with `fillable`, `casts`, and `dates` properties, as well as relationships methods.\n- A _migration_ to create the `posts` table.\n- A [_factory_](https:\u002F\u002Flaravel.com\u002Fdocs\u002Fdatabase-testing) intelligently setting columns with fake data.\n- A _controller_ class for `PostController` with `index` and `store` actions complete with code generated for each [statement](https:\u002F\u002Fblueprint.laravelshift.com\u002Fdocs\u002Fcontroller-statements\u002F).\n- _Routes_ for the `PostController` actions.\n- A [_form request_](https:\u002F\u002Flaravel.com\u002Fdocs\u002Fvalidation#form-request-validation) of `StorePostRequest` validating `title` and `content` based on the `Post` model definition.\n- A _mailable_ class for `ReviewPost` complete with a `post` property set through the _constructor_.\n- A _job_ class for `SyncMedia` complete with a `post` property set through the _constructor_.\n- An _event_ class for `NewPost` complete with a `post` property set through the _constructor_.\n- A _Blade template_ of `post\u002Findex.blade.php` rendered by `PostController@index`.\n- An [HTTP Test](https:\u002F\u002Flaravel.com\u002Fdocs\u002Fhttp-tests) for the `PostController`.\n- A unit test for the `StorePostRequest` form request.\n\n_**Note:** This example assumes features within a default Laravel application such as the `User` model and `app.blade.php` layout. Otherwise, the generated tests may have failures._\n\n\n## Documentation\nBrowse the [Blueprint Docs](https:\u002F\u002Fblueprint.laravelshift.com\u002F) for full details on [defining models](https:\u002F\u002Fblueprint.laravelshift.com\u002Fdocs\u002Fdefining-models\u002F), [defining controllers](https:\u002F\u002Fblueprint.laravelshift.com\u002Fdocs\u002Fdefining-controllers\u002F), [advanced configuration](https:\u002F\u002Fblueprint.laravelshift.com\u002Fdocs\u002Fadvanced-configuration\u002F), and [extending Blueprint](https:\u002F\u002Fblueprint.laravelshift.com\u002Fdocs\u002Fextending-blueprint\u002F).\n\n\n## Support Policy\nStarting with version 2, Blueprint only generates code for supported versions of Laravel (currently Laravel 11 or higher). If you need to support older versions of Laravel, you may constrain Blueprint to an older version or upgrade your application ([try using Shift](https:\u002F\u002Flaravelshift.com)).\n\nBlueprint still follows [semantic versioning](https:\u002F\u002Fsemver.org\u002F). 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.\n","Blueprint 是一个面向 Laravel 开发者的代码生成工具。它允许开发者通过单一、易读的定义文件快速生成多个 Laravel 组件，包括模型、迁移、工厂、控制器和路由等。其核心功能是基于 YAML 格式的配置文件自动生成高质量的 Laravel 代码，极大地提高了开发效率。Blueprint 支持 Laravel 11 及以上版本的应用程序，并且可以通过 Composer 方便地安装。此工具非常适合于需要快速搭建或扩展 Laravel 应用场景，尤其是当项目中存在大量重复性高的基础组件时，使用 Blueprint 能够显著减少手动编写代码的工作量。","2026-06-11 03:18:37","top_language"]