skullyframework / skully-admin
Admin for Skully Framework.
Installs: 794
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 2
Open Issues: 0
Language:JavaScript
Type:package
Requires
- php: >=5.4
- skullyframework/skully: 0.1.*
- symfony/console: 2.5.2
Requires (Dev)
- mikey179/vfsstream: v1.2.0
- phpunit/dbunit: >=1.2
- phpunit/phpunit: 3.7.28
- phpunit/phpunit-selenium: >=1.2
This package is not auto-updated.
Last update: 2024-11-09 16:37:42 UTC
README
Admin scaffold to use with Skully Framework
Installation
Include this into your composer:
"require": {
"skullyframework/admin": "0.1.*"
}
Then update your composer.
And then, basically look at vendor/skullyframework/skully-project/Tests/app/ and just follow the structure of that test app within your application.
Don't Forget
In your App\Application class, add the following:
use SkullyAdmin\AdminTrait;
...
class Application extends \Skully\Application {
use AdminTrait;
protected function setupTheme() {
parent::setupTheme();
$this->addAdminTemplateDir();
}
...
}
Copy vendor/skullyframework/skully-project/Tests/app/public/default/resources/images/admin to public/default/resources/images/admin. Copy vendor/skullyframework/skully-project/Tests/app/public/default/resources/js/admin to public/default/resources/js/admin. Copy vendor/skullyframework/skully-project/Tests/app/public/default/resources/js/plugins to public/default/resources/js/plugins.
Example
There is a sample application ready in Tests/TestApp/app. To set this up:
- Clone this repository into your web server
git clone https://github.com/skullyframework/admin
. - Create a database named
skully_admin
andskully_admin_test
. - Browse to the test app
cd Tests/app
. - Run db migration
./console skully:schema db:migration
. - Browse to your app =======