PHPackages                             fbnkcmaster/appskeleton-for-laravel - 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. [CLI &amp; Console](/categories/cli)
4. /
5. fbnkcmaster/appskeleton-for-laravel

ActiveLibrary[CLI &amp; Console](/categories/cli)

fbnkcmaster/appskeleton-for-laravel
===================================

Custom artisan command for Laravel 5 to help speed up you web app development

1.0.0(9y ago)222MITPHPPHP &gt;=5.5.9

Since Jul 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/FBNKCMaster/AppSkeleton-for-Laravel)[ Packagist](https://packagist.org/packages/fbnkcmaster/appskeleton-for-laravel)[ RSS](/packages/fbnkcmaster-appskeleton-for-laravel/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (1)Used By (0)

AppSkeleton-for-Laravel
=======================

[](#appskeleton-for-laravel)

AppSkeleton for Laravel is a custom artisan command that helps you speed up your application development by generating a ready structure (based on a json file) of files and direcories you'll need for your app

Requirements
------------

[](#requirements)

- (Optional) If you need an advanced option to create migrations with schemas, you'll need to install laracasts/generators (by Jeffrey Way). If you use Composer to install this package, it's done automatically and you have to add its service provider in app/Providers/AppServiceProvider.php

Usage
-----

[](#usage)

### Step 1: Install Through Composer

[](#step-1-install-through-composer)

```
$ composer require fbnkcmaster/appskeleton-for-laravel
```

### Step 2: Register the command

[](#step-2-register-the-command)

This is done within the `app/Console/Kernel.php` file, like so:

```
protected $commands = [
	// add the line below to this array
    \FBNKCMaster\AppSkeletonForLaravel\AppSkeletonCommand::class
];
```

- If you download and install it manually then you have to set the path/to/AppSkeleton/AppSkeletonCommand::class to register the command within the `app/Console/Kernel.php` file, like so:

```
protected $commands = [
	// add the line below to this array
    path/to/where/you/put/AppSkeleton/AppSkeletonCommand::class
];
```

- Optional

    You will need to install Jeffrey Way's laracasts/generators for more advanced option with migrations.

    Then add its service provider in app/Providers/AppServiceProvider.php, like so:

```
public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register('Laracasts\Generators\GeneratorsServiceProvider');
    }
}

```

### Step 3: That's all!

[](#step-3-thats-all)

You're ready now. Run `php artisan` from the console, and you'll see the new command `make:appskeleton` in the `make:*` namespace section.

Examples
--------

[](#examples)

### Example of a json file

[](#example-of-a-json-file)

Put the json file whereever you can access it from the artisan command

```
{
    "name": "App Name",
    "routes": [
        {"get": "/:function () {return view('welcome');}"},
        {"get": "home:HomeControler@index"},
        {"get": "users/{user}:UsersController@show"},
        {"post": "post:PostsController@store"},
        {"post": "comment:CommentsController@store"},
        {"resource": "post:PostsController"},
        {"resource": "comment:CommentsController"}
    ],
    "controllers": [
        {"name": "home"},
        {"name": "dashboard"},
        {"name": "users", "resource": false},
        {"name": "posts", "resource": true},
        {"name": "comments", "resource": true}
    ],
    "models": [
        {"name": "user"},
        {"name": "post", "migration": false},
        {"name": "comment", "migration": true}
    ],
    "migrations": [ // Jeffrey Way's laracasts/generators needed to take care of this, otherwise the schema is ignored and it will generate simple migrations files
        {"users_infos": "username:string, email:string:unique"},
        {"posts": "id:integer:unique, title:string"},
        {"comments": "id:integer:unique, post_id:integer:unique, text:string"}
    ],
    "views": ["home", "dashboard", "pages.users", "pages.posts", "pages.comments"],
    "assets": [
        {"sass": ["file1.sass", "file2.sass", "partials/subfile1.sass"]},
        {"js": ["file1.js", "file2.js", "plugins/file1.js", "plugins/file2.js"]}
    ],
    "publics": ["folder1", "folder2", "folder2/subfolder1", "folder2/subfolder2"]
}
```

### Run commands

[](#run-commands)

Generate everything in the json file (where AppSkeleton.json in the root of your Laravel application)

```
$ php artisan make:appskeleton
```

You can specify the path to your json file

```
$ php artisan make:appskeleton path/to/your/appskeleton_file.json
```

Genereate just Controllers and Views

```
$ php artisan make:appskeleton --controllers --views
```

Backup what was generated

```
$ php artisan make:appskeleton [--controllers] [--views] --backup
```

Delete what was generated

```
$ php artisan make:appskeleton [--controllers] [--views] --clear
```

Force delete generated files and directories even the backups

```
$ php artisan make:appskeleton [--controllers] [--views] --clear --f
```

### Available Arguments

[](#available-arguments)

```
path/to/file.json 			set the json file that contains the structure of the app

```

### Available Options

[](#available-options)

```
--routes 					parse routes
--controllers 				parse controllers
--models 					parse models
--migrations 				parse migrations
--views 					parse views
--assets 					parse assets
--publics 					parse publics
--routes 					parse routes
--b, --backup 				make backup of generated files
--c, --clear 				delete generated files
--f, --force 				force delete generated files even backups

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3646d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aafb640ec4d0fcae77a56de1b27df9d001103945543466c5f521d887333d71f2?d=identicon)[FBNKCMaster](/maintainers/FBNKCMaster)

---

Top Contributors

[![FBNKCMaster](https://avatars.githubusercontent.com/u/17050551?v=4)](https://github.com/FBNKCMaster "FBNKCMaster (25 commits)")

---

Tags

laravelgeneratorappskeleton

### Embed Badge

![Health badge](/badges/fbnkcmaster-appskeleton-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/fbnkcmaster-appskeleton-for-laravel/health.svg)](https://phpackages.com/packages/fbnkcmaster-appskeleton-for-laravel)
```

###  Alternatives

[timwassenburg/laravel-service-generator

Generate Laravel services

106255.4k2](/packages/timwassenburg-laravel-service-generator)[timwassenburg/laravel-repository-generator

Generate Laravel repositories

2118.3k1](/packages/timwassenburg-laravel-repository-generator)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

162.0k](/packages/sunaoka-laravel-facade-generator)[timwassenburg/laravel-artisan-extender

A collection of generators for Laravel

121.6k](/packages/timwassenburg-laravel-artisan-extender)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
