mmeshkatian / ariel
best way to create your applications scaffold in easiest way
This package is auto-updated.
Last update: 2024-11-22 21:24:05 UTC
README
Ariel
A simple & light-weight laravel package to manage your webApplications.
Requirements
- PHP >= 7.0.0
- Laravel >= 5.4.0
Installation
Install the package through Composer.
Run the Composer require command from the Terminal:
composer require mmeshkatian/ariel
If you're using Laravel > 5.5, this is all there is to do.
Should you still be on version 5.4 of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open your config/app.php
file.
Add a new line to the providers
array:
Mmeshkatian\Ariel\ArielServiceProvider::class
And optionally add a new line to the aliases
array:
'Ariel' => Mmeshkatian\Ariel\Facade::class,
Now you're ready to start using the Ariel in your application.
Persian Simple Usage : Virgool.io.
English Simple Usage : medium.com.
Overview
Look at one of the following topics to learn more about Ariel
Configuration
run these commands to publish assets and config:
php artisan vendor:publish --provider="Mmeshkatian\Ariel\ArielServiceProvider"
ControllerBuilder
create your controller by artisan command
php artisan make:controller TestArielController
open TestArielController placed in App/Http/Controllers then change the controller like below :
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Mmeshkatian\Ariel\BaseController; class TestArielController extends BaseController
your controller should extends from Mmeshkatian\Ariel\BaseController . ariel use configure method to initialize so create configure method in your controller .
public function configure() { }
new Documents are on the way ..!
Made With ❤️