Browse Source

Add UUID command option docs

gh-pages
Nafies Luthfi 5 years ago
parent
commit
77d1c8c0b9
  1. 4
      docs/available-commands/index.html
  2. 2
      docs/index.xml
  3. 2
      index.json
  4. 2
      index.xml

4
docs/available-commands/index.html

@ -96,7 +96,9 @@ docs<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0
</span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>$ php artisan make:crud-simple ModelName --bs3 </span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>$ php artisan make:crud-simple ModelName --bs3
</code></pre></td></tr></table></div></div><h2 id=api-crud-feature-with-tests>API CRUD feature with tests</h2><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre class=chroma><code><span class=lnt>1 </code></pre></td></tr></table></div></div><h2 id=api-crud-feature-with-tests>API CRUD feature with tests</h2><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>$ php artisan make:crud-api ModelName </span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>$ php artisan make:crud-api ModelName
</code></pre></td></tr></table></div></div></article></div><div class=grow></div><nav class=pagination-single><a href=https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/ title="How to use" class=pagination-single__left><div class=pagination-single__icon><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path fill="currentcolor" d="M19 11H7.83l4.88-4.88c.39-.39.39-1.03.0-1.42s-1.02-.39-1.41.0l-6.59 6.59c-.39.39-.39 1.02.0 1.41l6.59 6.59c.39.39 1.02.39 1.41.0s.39-1.02.0-1.41L7.83 13H19c.55.0 1-.45 1-1s-.45-1-1-1z"/></svg></div><div class=pagination-single__right-title>How to use</div></a><div class=grow></div><a href=https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/ title="Model Attribute/Column" class=pagination-single__right><div class=pagination-single__left-title>Model Attribute/Column</div><div class=pagination-single__icon><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path fill="currentcolor" d="M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03.0 1.42.39.39 1.02.39 1.41.0l6.59-6.59c.39-.39.39-1.02.0-1.41l-6.58-6.6c-.39-.39-1.02-.39-1.41.0s-.39 1.02.0 1.41L16.17 11H5c-.55.0-1 .45-1 1s.45 1 1 1z"/></svg></div></a></nav></article><section id=list-side class=r data-dir=ltr><div class=toc><h6 class=toc__label>What's on this Page</h6><div class=toc__body><nav id=TableOfContents><ul><li><a href=#bootstrap-4-views>Bootstrap 4 Views</a><ul><li><a href=#full-crud-feature-with-tests>Full CRUD feature with tests</a></li><li><a href=#simple-crud-feature-with-tests>Simple CRUD feature with tests</a></li></ul></li><li><a href=#bootstrap-3-views>Bootstrap 3 views</a><ul><li><a href=#full-crud-feature-with-tests-1>Full CRUD feature with tests</a></li><li><a href=#simple-crud-feature-with-tests-1>Simple CRUD feature with tests</a></li></ul></li><li><a href=#api-crud-feature-with-tests>API CRUD feature with tests</a></li></ul></nav></div></div></section></div></div><script>'use strict';function wrap(el,wrapper){el.parentNode.insertBefore(wrapper,el);wrapper.appendChild(el);}
</code></pre></td></tr></table></div></div><h2 id=crud-feature-with-uuid-primary-key>CRUD feature with UUID primary key</h2><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>$ php artisan make:crud ModelName --uuid
</code></pre></td></tr></table></div></div></article></div><div class=grow></div><nav class=pagination-single><a href=https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/ title="How to use" class=pagination-single__left><div class=pagination-single__icon><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path fill="currentcolor" d="M19 11H7.83l4.88-4.88c.39-.39.39-1.03.0-1.42s-1.02-.39-1.41.0l-6.59 6.59c-.39.39-.39 1.02.0 1.41l6.59 6.59c.39.39 1.02.39 1.41.0s.39-1.02.0-1.41L7.83 13H19c.55.0 1-.45 1-1s-.45-1-1-1z"/></svg></div><div class=pagination-single__right-title>How to use</div></a><div class=grow></div><a href=https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/ title="Model Attribute/Column" class=pagination-single__right><div class=pagination-single__left-title>Model Attribute/Column</div><div class=pagination-single__icon><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path fill="currentcolor" d="M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03.0 1.42.39.39 1.02.39 1.41.0l6.59-6.59c.39-.39.39-1.02.0-1.41l-6.58-6.6c-.39-.39-1.02-.39-1.41.0s-.39 1.02.0 1.41L16.17 11H5c-.55.0-1 .45-1 1s.45 1 1 1z"/></svg></div></a></nav></article><section id=list-side class=r data-dir=ltr><div class=toc><h6 class=toc__label>What's on this Page</h6><div class=toc__body><nav id=TableOfContents><ul><li><a href=#bootstrap-4-views>Bootstrap 4 Views</a><ul><li><a href=#full-crud-feature-with-tests>Full CRUD feature with tests</a></li><li><a href=#simple-crud-feature-with-tests>Simple CRUD feature with tests</a></li></ul></li><li><a href=#bootstrap-3-views>Bootstrap 3 views</a><ul><li><a href=#full-crud-feature-with-tests-1>Full CRUD feature with tests</a></li><li><a href=#simple-crud-feature-with-tests-1>Simple CRUD feature with tests</a></li></ul></li><li><a href=#api-crud-feature-with-tests>API CRUD feature with tests</a></li><li><a href=#crud-feature-with-uuid-primary-key>CRUD feature with UUID primary key</a></li></ul></nav></div></div></section></div></div><script>'use strict';function wrap(el,wrapper){el.parentNode.insertBefore(wrapper,el);wrapper.appendChild(el);}
(function(){var singleContentsElem=document.querySelector('.single__contents');singleContentsElem?singleContentsElem.querySelectorAll('pre > code').forEach(function(elem){var dataLang=elem.getAttribute('data-lang');var dataLangWrapper=document.createElement('div');var code=null;var codeTitle=null;if(dataLang&&dataLang.includes(':')){code=dataLang.split(':')[0];codeTitle=dataLang.split(':')[1];dataLangWrapper.className='language-'+code;dataLangWrapper.setAttribute('data-lang',codeTitle);elem.className='language-'+code;elem.setAttribute('data-lang',codeTitle);elem.setAttribute('id',codeTitle);} (function(){var singleContentsElem=document.querySelector('.single__contents');singleContentsElem?singleContentsElem.querySelectorAll('pre > code').forEach(function(elem){var dataLang=elem.getAttribute('data-lang');var dataLangWrapper=document.createElement('div');var code=null;var codeTitle=null;if(dataLang&&dataLang.includes(':')){code=dataLang.split(':')[0];codeTitle=dataLang.split(':')[1];dataLangWrapper.className='language-'+code;dataLangWrapper.setAttribute('data-lang',codeTitle);elem.className='language-'+code;elem.setAttribute('data-lang',codeTitle);elem.setAttribute('id',codeTitle);}
if(!dataLang||codeTitle){wrap(elem.parentNode,dataLangWrapper);}}):null;})();var dollarCodeElem=document.querySelectorAll('div.language-\\$');var gtCodeElem=document.querySelectorAll('div.language-\\>');dollarCodeElem?dollarCodeElem.forEach(function(elem){var lnts=elem.parentNode.parentNode?elem.parentNode.parentNode.querySelectorAll('.lnt'):null;lnts?lnts.forEach(function(lnt){lnt.innerHTML='$<br/>';}):null;}):null;gtCodeElem?gtCodeElem.forEach(function(elem){var lnts=elem.parentNode.parentNode?elem.parentNode.parentNode.querySelectorAll('.lnt'):null;lnts?lnts.forEach(function(lnt){lnt.innerHTML='><br/>';}):null;}):null;</script><script defer src=/SimpleCrudGenerator/js/helper/getParents.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/closest.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/prev.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/prop.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/fadeinout.min.js></script><script>document.addEventListener('DOMContentLoaded',function(){'use strict';var tables=document.querySelectorAll('.single__contents > table');for(let i=0;i<tables.length;i++){var table=tables[i];var wrapper=document.createElement('div');wrapper.className='table-wrapper';table.parentElement.replaceChild(wrapper,table);wrapper.appendChild(table);} if(!dataLang||codeTitle){wrap(elem.parentNode,dataLangWrapper);}}):null;})();var dollarCodeElem=document.querySelectorAll('div.language-\\$');var gtCodeElem=document.querySelectorAll('div.language-\\>');dollarCodeElem?dollarCodeElem.forEach(function(elem){var lnts=elem.parentNode.parentNode?elem.parentNode.parentNode.querySelectorAll('.lnt'):null;lnts?lnts.forEach(function(lnt){lnt.innerHTML='$<br/>';}):null;}):null;gtCodeElem?gtCodeElem.forEach(function(elem){var lnts=elem.parentNode.parentNode?elem.parentNode.parentNode.querySelectorAll('.lnt'):null;lnts?lnts.forEach(function(lnt){lnt.innerHTML='><br/>';}):null;}):null;</script><script defer src=/SimpleCrudGenerator/js/helper/getParents.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/closest.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/prev.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/prop.min.js></script><script defer src=/SimpleCrudGenerator/js/helper/fadeinout.min.js></script><script>document.addEventListener('DOMContentLoaded',function(){'use strict';var tables=document.querySelectorAll('.single__contents > table');for(let i=0;i<tables.length;i++){var table=tables[i];var wrapper=document.createElement('div');wrapper.className='table-wrapper';table.parentElement.replaceChild(wrapper,table);wrapper.appendChild(table);}
var lib=JSON.parse("null");if(lib&&lib.includes('mermaid')){var themeVariant=localStorage.getItem('theme')||'light';if(themeVariant==="dark"){mermaid.initialize({theme:'dark'});}else{mermaid.initialize({theme:'default'});} var lib=JSON.parse("null");if(lib&&lib.includes('mermaid')){var themeVariant=localStorage.getItem('theme')||'light';if(themeVariant==="dark"){mermaid.initialize({theme:'dark'});}else{mermaid.initialize({theme:'default'});}

2
docs/index.xml

@ -3,7 +3,7 @@ With this package installed on local environment, we can use (e.g.) php artisan
App\Models\Vehicle.php eloquent model xxx_create_vehicles_table.php migration file VehicleController.php index.blade.php and forms.</description></item><item><title>How to install</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</guid><description>How to install For Laravel 8.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^2.0 For Laravel 5.6 to 7.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^1.0 For Laravel 5.5 To use this package on laravel 5.5, we need to add the package (with browserkit) within require-dev in composer.json file, like so : App\Models\Vehicle.php eloquent model xxx_create_vehicles_table.php migration file VehicleController.php index.blade.php and forms.</description></item><item><title>How to install</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</guid><description>How to install For Laravel 8.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^2.0 For Laravel 5.6 to 7.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^1.0 For Laravel 5.5 To use this package on laravel 5.5, we need to add the package (with browserkit) within require-dev in composer.json file, like so :
1 2 3 4 5 # Install required package for laravel/browser-kit-testing $ composer require symfony/css-selector:^3.</description></item><item><title>How to use</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</guid><description>How to use Just type in terminal $ php artisan make:crud ModelName command, it will create simple Laravel CRUD files of given model name completed with tests. 1 2 3 4 5 # Install required package for laravel/browser-kit-testing $ composer require symfony/css-selector:^3.</description></item><item><title>How to use</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</guid><description>How to use Just type in terminal $ php artisan make:crud ModelName command, it will create simple Laravel CRUD files of given model name completed with tests.
For example we want to create CRUD for &amp;lsquo;App\Models\Vehicle&amp;rsquo; model. For example we want to create CRUD for &amp;lsquo;App\Models\Vehicle&amp;rsquo; model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $ php artisan make:crud-simple Vehicle Vehicle resource route generated on routes/web.php. Vehicle model generated. Vehicle table migration generated.</description></item><item><title>Available Commands</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</guid><description>Available Commands Bootstrap 4 Views Full CRUD feature with tests 1 $ php artisan make:crud ModelName Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName Bootstrap 3 views Full CRUD feature with tests 1 $ php artisan make:crud ModelName --bs3 Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName --bs3 API CRUD feature with tests 1 $ php artisan make:crud-api ModelName</description></item><item><title>Model Attribute/Column</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</guid><description>Model Attribute/Column The Model and table will only have 2 pre-definded attributes or columns : title and description on each generated model and database table. You can continue working on other column on the table.</description></item><item><title>Views</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</guid><description>Views Bootstrap 4 Views The generated view files use Bootstrap 4 by default (for Laravel 5.6 and later).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $ php artisan make:crud-simple Vehicle Vehicle resource route generated on routes/web.php. Vehicle model generated. Vehicle table migration generated.</description></item><item><title>Available Commands</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</guid><description>Available Commands Bootstrap 4 Views Full CRUD feature with tests 1 $ php artisan make:crud ModelName Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName Bootstrap 3 views Full CRUD feature with tests 1 $ php artisan make:crud ModelName --bs3 Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName --bs3 API CRUD feature with tests 1 $ php artisan make:crud-api ModelName CRUD feature with UUID primary key 1 $ php artisan make:crud ModelName --uuid</description></item><item><title>Model Attribute/Column</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</guid><description>Model Attribute/Column The Model and table will only have 2 pre-definded attributes or columns : title and description on each generated model and database table. You can continue working on other column on the table.</description></item><item><title>Views</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</guid><description>Views Bootstrap 4 Views The generated view files use Bootstrap 4 by default (for Laravel 5.6 and later).
Bootstrap 3 Views We can also generates views that use Bootstrap 3 with --bs3 command option, eg for Laravel version 5.5. Bootstrap 3 Views We can also generates views that use Bootstrap 3 with --bs3 command option, eg for Laravel version 5.5.
The Default Layout View You need a resources/views/layouts/app.blade.php view file, simply create one with php artisan make:auth command. You can change this configuration via the config/simple-crud.php file.</description></item><item><title>For API</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</guid><description>For API If we want to generate API Controller with feature tests, we use following command : The Default Layout View You need a resources/views/layouts/app.blade.php view file, simply create one with php artisan make:auth command. You can change this configuration via the config/simple-crud.php file.</description></item><item><title>For API</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</guid><description>For API If we want to generate API Controller with feature tests, we use following command :
1 $ php artisan make:crud-api Vehicle By default, we use Laravel Token Based Authentication, so we need to update our user model. 1 $ php artisan make:crud-api Vehicle By default, we use Laravel Token Based Authentication, so we need to update our user model.

2
index.json
File diff suppressed because it is too large
View File

2
index.xml

@ -3,7 +3,7 @@ With this package installed on local environment, we can use (e.g.) php artisan
App\Models\Vehicle.php eloquent model xxx_create_vehicles_table.php migration file VehicleController.php index.blade.php and forms.</description></item><item><title>How to install</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</guid><description>How to install For Laravel 8.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^2.0 For Laravel 5.6 to 7.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^1.0 For Laravel 5.5 To use this package on laravel 5.5, we need to add the package (with browserkit) within require-dev in composer.json file, like so : App\Models\Vehicle.php eloquent model xxx_create_vehicles_table.php migration file VehicleController.php index.blade.php and forms.</description></item><item><title>How to install</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-install/</guid><description>How to install For Laravel 8.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^2.0 For Laravel 5.6 to 7.x 1 2 # Get the package $ composer require luthfi/simple-crud-generator:^1.0 For Laravel 5.5 To use this package on laravel 5.5, we need to add the package (with browserkit) within require-dev in composer.json file, like so :
1 2 3 4 5 # Install required package for laravel/browser-kit-testing $ composer require symfony/css-selector:^3.</description></item><item><title>How to use</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</guid><description>How to use Just type in terminal $ php artisan make:crud ModelName command, it will create simple Laravel CRUD files of given model name completed with tests. 1 2 3 4 5 # Install required package for laravel/browser-kit-testing $ composer require symfony/css-selector:^3.</description></item><item><title>How to use</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/how-to-use/</guid><description>How to use Just type in terminal $ php artisan make:crud ModelName command, it will create simple Laravel CRUD files of given model name completed with tests.
For example we want to create CRUD for &amp;lsquo;App\Models\Vehicle&amp;rsquo; model. For example we want to create CRUD for &amp;lsquo;App\Models\Vehicle&amp;rsquo; model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $ php artisan make:crud-simple Vehicle Vehicle resource route generated on routes/web.php. Vehicle model generated. Vehicle table migration generated.</description></item><item><title>Available Commands</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</guid><description>Available Commands Bootstrap 4 Views Full CRUD feature with tests 1 $ php artisan make:crud ModelName Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName Bootstrap 3 views Full CRUD feature with tests 1 $ php artisan make:crud ModelName --bs3 Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName --bs3 API CRUD feature with tests 1 $ php artisan make:crud-api ModelName</description></item><item><title>Model Attribute/Column</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</guid><description>Model Attribute/Column The Model and table will only have 2 pre-definded attributes or columns : title and description on each generated model and database table. You can continue working on other column on the table.</description></item><item><title>Views</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</guid><description>Views Bootstrap 4 Views The generated view files use Bootstrap 4 by default (for Laravel 5.6 and later).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $ php artisan make:crud-simple Vehicle Vehicle resource route generated on routes/web.php. Vehicle model generated. Vehicle table migration generated.</description></item><item><title>Available Commands</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/available-commands/</guid><description>Available Commands Bootstrap 4 Views Full CRUD feature with tests 1 $ php artisan make:crud ModelName Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName Bootstrap 3 views Full CRUD feature with tests 1 $ php artisan make:crud ModelName --bs3 Simple CRUD feature with tests 1 $ php artisan make:crud-simple ModelName --bs3 API CRUD feature with tests 1 $ php artisan make:crud-api ModelName CRUD feature with UUID primary key 1 $ php artisan make:crud ModelName --uuid</description></item><item><title>Model Attribute/Column</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/model-attributes/</guid><description>Model Attribute/Column The Model and table will only have 2 pre-definded attributes or columns : title and description on each generated model and database table. You can continue working on other column on the table.</description></item><item><title>Views</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/views/</guid><description>Views Bootstrap 4 Views The generated view files use Bootstrap 4 by default (for Laravel 5.6 and later).
Bootstrap 3 Views We can also generates views that use Bootstrap 3 with --bs3 command option, eg for Laravel version 5.5. Bootstrap 3 Views We can also generates views that use Bootstrap 3 with --bs3 command option, eg for Laravel version 5.5.
The Default Layout View You need a resources/views/layouts/app.blade.php view file, simply create one with php artisan make:auth command. You can change this configuration via the config/simple-crud.php file.</description></item><item><title>For API</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</guid><description>For API If we want to generate API Controller with feature tests, we use following command : The Default Layout View You need a resources/views/layouts/app.blade.php view file, simply create one with php artisan make:auth command. You can change this configuration via the config/simple-crud.php file.</description></item><item><title>For API</title><link>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</link><pubDate>Sat, 30 Jan 2021 21:00:00 +0800</pubDate><guid>https://nafiesl.github.io/SimpleCrudGenerator/docs/for-api/</guid><description>For API If we want to generate API Controller with feature tests, we use following command :
1 $ php artisan make:crud-api Vehicle By default, we use Laravel Token Based Authentication, so we need to update our user model. 1 $ php artisan make:crud-api Vehicle By default, we use Laravel Token Based Authentication, so we need to update our user model.

Loading…
Cancel
Save