Download the PHP package aratta-studios/aratta-laravel-boilerplate without Composer

On this page you can find all versions of the php package aratta-studios/aratta-laravel-boilerplate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package aratta-laravel-boilerplate

Aratta Laravel Boilerplate

+CedarMapHelper for handling cedar map apis

+FirebaseHelper for handling firebase apis

+JalaliDateHelper, NumbersHelper for handling persian date and numbers

+SmsPanelHelper for handling sms panel apis

+UploadHelper for handling file and image uploads

+ResponseHelper, InputHelper for easier api handling using a better pattern

+ControllerGenerator to generate controllers with our pattern

+Vue Generators to generate vue pages / stores / components with our pattern

+Setup vue, vuex, vue router, vuetify and other vue essential packages by default

+Done some other customizes for easier use of Helpers

+New example for Model/Controller/Vue files

+Jwt ready (maybe needed a few configs from this link: https://jwt-auth.readthedocs.io/en/develop/ )

+Data/Domain/Ui Based folder structure and boilerplate for vue

Installer Setup

Setup this installer to create your projects a little painless

Setup

Create project using our installer:

Or using by composer:

then you can set db configs, set migrations and so on ...

Generating Controller

This command will generate a controller in app/http/controller/api/ folder

Generating Vue Page and Store

This command will generate a vue page in resources/js/ui/pages/ folder

And generates a related vuex store in resources/js/store/ folder

With the same name then adds the created store module in the store/index.js

Generating Vue Components

This command will generate a component in resources/js/ui/components/ folder

Run

Example Routes

default example route for vue:

http://localhost:8000/

default example routes for api:

http://localhost:8000/api/v1/example/create-example-user

Body:

http://localhost:8000/api/v1/example/edit-example-profile

Body:

http://localhost:8000/api/v1/example/get-example

Body:

http://localhost:8000/api/v1/example/get-examples-list

Body:

InputHelper

This helper checks for valid input from user

-First parameter is just Request that you receive from controller function.

-Second parameter is an array of request parameters that you want to check.

-Last parameter is a callback function with Response parameter this function will be called when checks are passed.

Import:

Usage:

If you don't need to check any fields:

ResponseHelper

This helper helps you to provide an integrated json response for all apis

-First parameter is error message, if you don't have any errors you can set null value for it.

-Second parameter is Http Response code.

-Last parameter is data that you want send to user. it can be an array or object or even a string.

Import:

Usage:

Sample Output:

CedarMapHelper

Import:

Usage:

FirebaseHelper

Import:

Usage:

SmsPanelHelper

Import:

Usage:


All versions of aratta-laravel-boilerplate with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
fideloper/proxy Version ^4.0
laravel/framework Version 5.8.*
intervention/image Version ^2.4
laravel/tinker Version ^1.0
tymon/jwt-auth Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aratta-studios/aratta-laravel-boilerplate contains the following files

Loading the files please wait ....