{"id":36983631,"url":"https://github.com/ferdinandfrank/laravel-file-generator","last_synced_at":"2026-01-13T22:58:11.738Z","repository":{"id":56982091,"uuid":"82382704","full_name":"ferdinandfrank/laravel-file-generator","owner":"ferdinandfrank","description":"An easy extension of the Artisan make commands to modify the command's stubs and to generate fully implemented php files.","archived":true,"fork":false,"pushed_at":"2020-04-29T08:43:10.000Z","size":40,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-27T15:53:47.069Z","etag":null,"topics":["artisan","command","file","generator","laravel","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ferdinandfrank.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-18T11:42:15.000Z","updated_at":"2023-01-28T14:47:49.000Z","dependencies_parsed_at":"2022-08-21T12:20:12.295Z","dependency_job_id":null,"html_url":"https://github.com/ferdinandfrank/laravel-file-generator","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ferdinandfrank/laravel-file-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdinandfrank%2Flaravel-file-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdinandfrank%2Flaravel-file-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdinandfrank%2Flaravel-file-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdinandfrank%2Flaravel-file-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferdinandfrank","download_url":"https://codeload.github.com/ferdinandfrank/laravel-file-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdinandfrank%2Flaravel-file-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artisan","command","file","generator","laravel","php"],"created_at":"2026-01-13T22:58:11.184Z","updated_at":"2026-01-13T22:58:11.727Z","avatar_url":"https://github.com/ferdinandfrank.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel File Generator\n[![Packagist Version](https://img.shields.io/packagist/v/ferdinandfrank/laravel-file-generator.svg)](https://packagist.org/packages/ferdinandfrank/laravel-file-generator)\n[![Packagist](https://img.shields.io/packagist/dt/ferdinandfrank/laravel-file-generator.svg)](https://github.com/ferdinandfrank/laravel-file-generator)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n\u003e :warning: This repository has been archived since the functionality of the package is now natively supported by Laravel 7. [See the Laravel 7 changelog for details](https://laravel.com/docs/7.x/releases#laravel-7).\n\nThis package is an easy extension of the Artisan make commands provided by your Laravel application to have the ability to modify the command's stubs \nto your personal needs and to generate fully implemented php classes (controller, requests, policies, etc.) for a specified model.\n\n## Requirements\n- [PHP](https://php.net) \u003e=7.0.0\n- An existing \u003e= [Laravel 5.5](https://laravel.com/docs/master/installation) project (For Laravel 5.4 see version 1.0)\n\nFor the latest command options as described in the Wiki of this package use the latest Laravel version.\n\n## Installation\n\n1. To get started, install the package via the Composer package manager:\n\n    ```bash\n    composer require ferdinandfrank/laravel-file-generator --dev\n    ```\n2. Replace the entry ` Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider::class` within your providers array in `config/app.php`:\n \n     ```php\n     'providers' =\u003e [\n        ...\n        // Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider::class,\n        FerdinandFrank\\LaravelFileGenerator\\Providers\\ConsoleSupportServiceProvider::class,\n        ...\n     ]\n     ```\n   \n3. The package should be auto-discovered by Laravel. For manual registration, add the following entry to your providers array in `config/app.php`:\n    \n    ```php\n    'providers' =\u003e [\n       ...\n       ...\n       FerdinandFrank\\LaravelFileGenerator\\Providers\\FileGeneratorServiceProvider::class\n    ]\n    ```\n\nThat's it!\n    \n## Usage\nYou can use the Artisan make commands provided by your Laravel application as always. This package is just an extension to provide more options and the flexibility to specify your own stub files.\nFor example, just execute the following command to create a new controller class with the name `UserController` but with your custom specified stub file (if one exist):\n\n    php artisan make:controller UserController\n    \nFor more details as well as a list of all available commands have a look at the [wiki of this package](https://github.com/ferdinandfrank/laravel-file-generator/wiki).    \n    \n### Publishing stub files    \nTo have the full benefits of this package you can execute the following command to publish all the stub\nfiles which are used to create the php files when executing an Artisan make command.\n\n    php artisan vendor:publish --tag=stubs\n    \nBy default the stub files will be copied to the `resources\\stubs` folder of your application. As soon as you call\nan Artisan make command after you executed this publishing command the stub files for generating\na new php file will be used as the template from this folder. To modify the path to your stubs file have a look\non the next section 'Configuration'.\n\n### Configuration\nYou have the possibility to modify the path to your stub files as well as other configuration options.\nTherefore you need to publish the configuration file of this package by the following command.\n\n    php artisan vendor:publish --tag=config\n    \nThis command will generate the file `laravel-file-generator.php` within your config folder of your Laravel application.\n\n## Commands\nYou can see all details and documentation about the available make commands on the [wiki of this package](https://github.com/ferdinandfrank/laravel-file-generator/wiki). \n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdinandfrank%2Flaravel-file-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferdinandfrank%2Flaravel-file-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdinandfrank%2Flaravel-file-generator/lists"}