Download the PHP package label305/auja-laravel without Composer

On this page you can find all versions of the php package label305/auja-laravel. 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 auja-laravel

Auja for Laravel

Deprecated

This repo will no longer be maintained and will be deleted in the start of 2017.

About

Build Status Coverage Status Dependency Status Latest Stable Version Total Downloads Latest Unstable Version

Auja is an easy-to-use, easy-to-implement admin interface. It provides an easy and intuitive way for you to view and manipulate your data, so you can focus on more important matters. Auja is designed to be both user-friendly and developer-friendly by providing you with tools to setup your admin interface in a couple of minutes.

The Auja javascript frontend provides the graphical user interface. To determine its content, it relies on a JSON web-service you implement. Auja-PHP in turn, provides an Object Oriented approach to provide these JSON messages from a PHP application. In this repository you will find a Laravel implementation which you can use to setup Auja for your Laravel project.

Auja Screenshot

Related repositories

Installation and Setup

Because Auja uses both a library for the PHP backand and a library for the JavaScript frontend there a few more steps required to install Auja that you may be used to with other libraries.

  1. npm.

  2. Modify the gulpfile.js so all Auja's assets and scripts are placed in the correct folders when running gulp.

  3. Install the Auja javascript files through bower. When installing through bower the gulp command is automaticly called by bower.

  4. Install the Auja Laravel library through composer. The library depends on Auja-PHP which is a API wrapper for communicating with the javascript frontend.

  5. Publish the Auja config file and main view

  6. Add the AdminServiceProvider, AujaFacade and AujaRouteFacade to your app.php config file.

  7. Customize the auja-laravel/config.php file and specify the models you wish to be included in the Admin interface.

  8. Create a app/controllers/Admin/ClubsController.php or app/Http/Controllers/Admin/ClubsController.php, to manage the Clubs in your admin interface. You can do this for all your models. Here is an example:

  9. Now setup the routes for the administration panel.

  10. Tip: add the following lines to your .gitignore:

Setup Laravel to work with Bower and Gulp

  1. Make sure node.js and npm are installed.

  2. Intall bower and gulp.

  3. Make sure you have setup the .bowerrc file for Laravel and gulp. By the way these are the Laravel 5 defaults but will work on other versions as well.

  4. Install the javascript dependencies that are included in Laravel 5 by default. If you work with another version add the package.json file to your projects root.

    And run:

  5. Setup the gulpfile.js in your projects root.

  6. Now you're all setup. Laravel 5 also includes a bower.json file but placing this file is not mandatory for other versions.

Custom Model Configurations

You can provide your own subclasses of ModelConfig to the Auja config file in the models key. This way you can customize icons for example.

  1. Create a new class that extends ModelConfig, for example UserConfig.

  2. Modify the auja-laravel/config.php file to reference this new class.

Custom Auja Support Controller

By default Auja provides a default support controller to handle authentication and providing the main interface manifest. If you want your own AujaSupportController to handle authentication you can implement your own. Create a YourSupportController.php. This file contains information on what kind of information the admin area should contain and how administrators authenticate.

  1. Set route to null in the configucation and create your own route to the controller.

  2. Create the YourSupportController.php file and make sure it implements AujaSupportControllerInterface.

License

Copyright 2014 Label305 B.V.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


All versions of auja-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
label305/auja Version 3.0.0-alpha7
illuminate/support Version 4.2.*
doctrine/dbal Version 2.5.*
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 label305/auja-laravel contains the following files

Loading the files please wait ....