All Projects → jadjoubran → Laravel Ng Artisan Generators

jadjoubran / Laravel Ng Artisan Generators

Licence: mit
Laravel artisan AngularJS generators

Projects that are alternatives of or similar to Laravel Ng Artisan Generators

Generator
Laravel 5.3+ Scaffold Generator, Support both bootstrap and Semantic UI
Stars: ✭ 327 (+259.34%)
Mutual labels:  laravel, artisan
Learning Resources
"Technology Gold mine" to collect and share materials/resources
Stars: ✭ 573 (+529.67%)
Mutual labels:  laravel, angularjs
Scout Extended
Scout Extended: The Full Power of Algolia in Laravel
Stars: ✭ 330 (+262.64%)
Mutual labels:  laravel, artisan
Laravel Cronless Schedule
Run the Laravel scheduler without relying on cron
Stars: ✭ 231 (+153.85%)
Mutual labels:  laravel, artisan
Blade Migrations Laravel
An intelligent alternative version of Laravel 5/6 Database Migrations - uses raw-sql syntax, transactions, auto-rollback, UP-DOWN-UP testing
Stars: ✭ 25 (-72.53%)
Mutual labels:  laravel, artisan
Laravel Link Checker
Check all links in a Laravel application
Stars: ✭ 253 (+178.02%)
Mutual labels:  laravel, artisan
Laravel Kit
A desktop Laravel admin panel app
Stars: ✭ 440 (+383.52%)
Mutual labels:  laravel, artisan
Laravel Ecommerce
Laravel open source e-commerce system.
Stars: ✭ 163 (+79.12%)
Mutual labels:  laravel, angularjs
Artisan View
👀 Manage your views in Laravel projects through artisan
Stars: ✭ 708 (+678.02%)
Mutual labels:  laravel, artisan
Laravel Terminal
Runs artisan command in web application
Stars: ✭ 682 (+649.45%)
Mutual labels:  laravel, artisan
Laravel Craftsman
Laravel Craftsman CLI for easily crafting Laravel assets for any project (artisan make on steroids)
Stars: ✭ 227 (+149.45%)
Mutual labels:  laravel, artisan
Laravel Opcache
Laravel Package for OPcache
Stars: ✭ 1,116 (+1126.37%)
Mutual labels:  laravel, artisan
Artisan Gui
Simple but yet powerful library for running almost all artisan commands.
Stars: ✭ 226 (+148.35%)
Mutual labels:  laravel, artisan
Laravel Angular Cms
CMS built on Laravel, AngularJS and Material Design
Stars: ✭ 272 (+198.9%)
Mutual labels:  laravel, angularjs
Laravel Migrate Fresh
An artisan command to build up a database from scratch
Stars: ✭ 179 (+96.7%)
Mutual labels:  laravel, artisan
Starter Laravel Angular
Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5.3 and AngularJS 1.5.8
Stars: ✭ 373 (+309.89%)
Mutual labels:  laravel, angularjs
Artisan Menu
📝 Artisan Menu - Use Artisan via an elegant console GUI
Stars: ✭ 141 (+54.95%)
Mutual labels:  laravel, artisan
Laravel Mailable Test
An artisan command to easily test mailables
Stars: ✭ 143 (+57.14%)
Mutual labels:  laravel, artisan
Laravel Tail
An artisan command to tail your application logs
Stars: ✭ 587 (+545.05%)
Mutual labels:  laravel, artisan
Webshowu
webshowu—laravel开源项目—秀站分类目录源代码
Stars: ✭ 52 (-42.86%)
Mutual labels:  laravel, artisan

Laravel AngularJS Artisan Generators

AngularJS generators for Artisan. Originally created at laravel5-angular-material-starter.

Installation

If you're using the starter project, then it's already pre-installed.

composer require laravelangular/generators

//and then add the provider in config/app.php
LaravelAngular\Generators\LaravelServiceProvider::class,

php artisan vendor:publish

Usage

php artisan ng:page name       #New page inside angular/app/pages/
php artisan ng:component name  #New component inside angular/app/components/
php artisan ng:directive name  #New directive inside angular/directives/
php artisan ng:config name     #New config inside angular/config/
php artisan ng:dialog name     #New custom dialog inside angular/dialogs/
php artisan ng:filter name     #New filter inside angular/filters/
php artisan ng:service name    #New service inside angular/services/

These commands will create new directories and files for AngularJS front-end in new ES6 syntax. If not present, commands will create index files (i.e.: index.components.js) and, if enabled, new created classes will be imported.

Configurations are editable in config\generators.php. See below for details.

Configuration

  • source: name of directories. They make a path to new created files
    • root: name of the directory on where all created files and folders will be put.
    • Other entries indicate directories where files will be put. I.e running php artisan ng:component name will be created three new files for component name with root/components/name/ path. Default is angular/app/components/name/
  • suffix: name and extension appended to file name. I.e.: running php artisan ng:directive name will be created a file named name.directive.js.
    • stylesheet: extension for stylesheets. NOTE: Stylesheets are created for both pages and components
  • tests
    • enable: whether to enable or disable creation of test files
    • source: same as source, but for test files
  • misc.auto_import: enable or disable automatic import in index files.
  • angular_modules: configuration for angular root module and submodules. If index files are created before or manually, these settings will help recognize angular modules for automatic import. If index file is created on first command run, these settings will create angular module for you.
    • root: angular root module.
    • standalone: if a module is defined as standalone (i.e.: angular.module('mymodule', [])) or is part of a root module (angular.module('mymodule')). If set to false, use_prefix, prefix and suffix will be ignored and root module name will be used.
    • prefix and suffix: name of module of the type prefix.suffix; i.e.: app.components.
    • use_prefix: whether to use prefix for module name

Documentation

View Angular Generators documentation

Contributors

Originally created at laravel5-angular-material-starter then moved to a separate package by @m33ch

Notes

  • Do not append the word service, it will be automatically added for you.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].