Download the PHP package benaaacademy/platform without Composer

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

BenaaacademyPlatform

A modular multilingual CMS built with Laravel 5 introduce a full-featured modular multilingual CMS built on top of the Laravel framework.

Minimum System Requirements:

To be able to run Benaaacademycms you have to meet the following requirements:

Installing BenaaacademyCms:

It's very easy, you can choose one of three installation methods:

First, you must have a laravel 5 project you can install Benaaacademy/platform package

composer require Benaaacademy/platform

Then add service provider in app config

Benaaacademy\Platform\ServiceProvider::class

Then Run this artisan command to install

php artisan Benaaacademy:install

Enjoy :)


You can now login /backend with your username and password asked during the install command. After you've logged in you'll be able to access the administration panel on the /backend URI.

Also you can change admin url prefix from admin config:

Custom plugin model validation:

Routes file:

"
       class="form-control input-lg" />
</div>

Almost done, just save it using user.saving action.

<?php

Action::listen("user.saving", function ($user) {

    // Adding gender field to model attributes before saving it.
    $user->gender = Request::get("gender");

    // some validation rules if wanted
    $user->rules(
        ["gender" => "required"],
        ["gender.required" => "Gender field is required"], // optional
        ["gender" => "Gender"]  // optional
    );

});

Actions API:

<?php

// Authentication
Action::listen("auth.login", function($user){});
Action::listen("auth.logout", function($user){});
Action::listen("auth.forget", function($user){});
Action::listen("auth.reset", function($user){});

// Users
Action::listen("user.saving", function($user){});
Action::listen("user.saved", function($user){});
Action::listen("user.deleting", function($user){});
Action::listen("user.deleted", function($user){});
Action::listen("user.form.featured", function($user){});
Action::listen("user.form.sidebar", function($user){});

// Roles
Action::listen("role.saving", function($role){});
Action::listen("role.saving", function($role){});
Action::listen("role.deleting", function($role){});
Action::listen("role.deleted", function($role){});
Action::listen("role.form.featured", function($role){});
Action::listen("role.form.sidebar", function($role){});

// Pages
Action::listen("page.saving", function($page){});
Action::listen("page.saving", function($page){});
Action::listen("page.deleting", function($page){});
Action::listen("page.deleted", function($page){});
Action::listen("page.form.featured", function($page){});
Action::listen("page.form.sidebar", function($page){});

// Posts
Action::listen("post.saving", function($post){});
Action::listen("post.saving", function($post){});
Action::listen("post.deleting", function($post){});
Action::listen("post.deleted", function($post){});
Action::listen("post.form.featured", function($post){});
Action::listen("post.form.sidebar", function($post){});

// Tags
Action::listen("tag.saving", function($tag){});
Action::listen("tag.saving", function($tag){});
Action::listen("tag.deleting", function($tag){});
Action::listen("tag.deleted", function($tag){});
Action::listen("tag.form.featured", function($tag){});
Action::listen("tag.form.sidebar", function($tag){});

// Categories
Action::listen("category.saving", function($category){});
Action::listen("category.saving", function($category){});
Action::listen("category.deleting", function($category){});
Action::listen("category.deleted", function($category){});
Action::listen("category.form.featured", function($category){});
Action::listen("category.form.sidebar", function($category){});

// Dashboard
Action::listen("dashboard.featured", function(){});
Action::listen("dashboard.right", function(){});
Action::listen("dashboard.middle", function(){});
Action::listen("dashboard.left", function(){});

Creating items in sidebar menu:

<?php

Navigation::menu("sidebar", function ($menu) {

    $menu->item('products', trans("products::products.name"), URL::to(ADMIN . '/products'))

    ->icon("fa-product-hunt")   // optional

    ->order(1);             // optional
});

Creating schedule tasks:

<?php

Schedule::run(function($schedule){

    $schedule->call(function(){

        // Executing some db queries

        sleep(7);

    })->cron('* * * * *')->name("task_name")->withoutOverlapping();

});

Adding links to sitemap:

<?php

Sitemap::set("sitemap", function($sitemap){

    $sitemap->url(url("/"))

    ->date(time())      // optional

    ->priority("0.9")   // optional

    ->freq("hourly")    // optional
});

This url will be appended in main sitemap sitemap.xml in public/sitemaps directory.

Commands:

There are some commands to help you to giva a fast work with plugins

plugin:list          List all plugins
plugin:make          make a plugin (--plain & --resources)
plugin:migration     Create a plugin migration file
plugin:migrate       Migrate plugin migration files
plugin:migrate:up    Make plugin migrations up
plugin:migrate:down  Make plugin migrations down
plugin:publish       Publishing plugin public and config files
plugin:install       Install a plugin
plugin:uninstall     Uninstall a plugin
plugin:update        reinstall a plugin

And more..

Dont forget to send a feedback..


All versions of platform with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-gd Version *
ext-curl Version *
ext-bcmath Version *
laravel/framework Version *
barryvdh/laravel-debugbar Version ^3.9
doctrine/dbal Version ^3.8
laravel/helpers Version ^1.7
benaaacademy/auth Version ^1.0.10
benaaacademy/roles Version ^1.0.10
benaaacademy/users Version ^1.0.10
benaaacademy/options Version ^1.0.10
benaaacademy/media Version ^1.0.10
benaaacademy/dashboard Version ^1.0.10
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 benaaacademy/platform contains the following files

Loading the files please wait ....