Download the PHP package bedita/manager without Composer
On this page you can find all versions of the php package bedita/manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bedita/manager
More information about bedita/manager
Files in bedita/manager
Package manager
Short Description BEdita Manager - official admin webapp for BEdita4 API
License LGPL-3.0-or-later
Homepage https://www.bedita.com
Informations about the package manager
BEdita Manager
Backend Manager for BEdita API.
Prerequisites
Install
- Create project via
composer
This will create a new manager folder and install composer dependencies.
If you are using a .zip or .tar.gz release file you just need to unpack it and then run composer install. Run same command if you do a git clone on this repo.
-
Build JS/CSS bundles with
yarnfrommanagerfolder - Configure BEdita API base URL and API KEY in
config/.envlike:
To test the webapp you can simply run builtin webserver from manager folder like this
And then point your browser to http://localhost:8765/
For any other use than a simple test we recommend to configure your preferred web server like Nginx/Apache and point to webroot/ as vhost document root.
Configuration
You can further configure your BEdita Manager instance in config/app_local.php with environment and project specific settings.
Have look at the main Manager configuration wiki page on how to customize your Manager instance.
Module access by role
In Administration > Roles Modules accesses, choose Write, Read, or
Hidden for each module, then save the role. The first save creates the
application's AccessControl configuration if it does not exist. Without this
configuration, no additional Manager module restrictions apply; API permissions
still apply.
Only non-admin roles allowed to access the Manager application are listed.
If no roles are eligible, use the Roles and Endpoint permissions links
to create a role or grant it write permission on the auth endpoint for this
Manager application. Admin users are not restricted by module access control.
Saving a role updates only that role's settings; selecting Write for all
modules removes its previous restrictions.
Use Remove module access configuration to delete the role's entry from
AccessControl entirely. Confirmation is required; the role itself, API
permissions, and other roles' settings are unchanged. The role remains listed
and can be configured again.
JS Development with webpack
Using .env
It's easy to configure config/.env to match your web server and proxy requirements, see below.
(default proxy: localhost:8080, default server: localhost:3000)
To start develop mode run
Production build with Bundle Report
ESlint
- Run ESlint via
yarn, to check linting on js files
Run unit tests
To setup tests locally simply copy tests/.env.example to tests/.env and set env vars accordingly.
To launch tests:
To run those tests you may want to use a Docker image as BEdita4 API endpoint. For instance if you can pull a Docker image via or
Then you may run the image with
You can then set env vars accordingly like this:
and you're ready to go
Licensing
BEdita is released under LGPL, Lesser General Public License v3.
All versions of manager with dependencies
bedita/i18n Version ^6.0.0
bedita/web-tools Version ^6.0.0
cakephp/authentication Version ^3.0.3
cakephp/cakephp Version ^5.3
cakephp/plugin-installer Version ^1.3
josegonzalez/dotenv Version ^4.0
league/flysystem Version ^3.16
league/oauth2-github Version ^3.0
league/oauth2-google Version ^4.0
mobiledetect/mobiledetectlib Version ^2.8
phpoffice/phpspreadsheet Version ^5.7
thenetworg/oauth2-azure Version ^2.2
wikimedia/composer-merge-plugin Version ^2.0.1
