{"id":15293852,"url":"https://github.com/shabaz-ejaz/laravel-cms","last_synced_at":"2026-01-05T06:50:46.690Z","repository":{"id":57048580,"uuid":"146863513","full_name":"shabaz-ejaz/laravel-cms","owner":"shabaz-ejaz","description":"A Laravel 5 CMS with CRUD scaffolding and API","archived":false,"fork":false,"pushed_at":"2018-10-10T16:38:12.000Z","size":1208,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T20:19:02.995Z","etag":null,"topics":["cms","cms-framework","content-management-system","laravel","laravel-5-package","laravel-api","laravel-api-boilerplate","laravel-boilerplate","laravel5","portal"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shabaz-ejaz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-31T08:23:39.000Z","updated_at":"2023-11-30T14:43:11.000Z","dependencies_parsed_at":"2022-08-23T17:50:32.349Z","dependency_job_id":null,"html_url":"https://github.com/shabaz-ejaz/laravel-cms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shabaz-ejaz%2Flaravel-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shabaz-ejaz%2Flaravel-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shabaz-ejaz%2Flaravel-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shabaz-ejaz%2Flaravel-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shabaz-ejaz","download_url":"https://codeload.github.com/shabaz-ejaz/laravel-cms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294774,"owners_count":20591909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","cms-framework","content-management-system","laravel","laravel-5-package","laravel-api","laravel-api-boilerplate","laravel-boilerplate","laravel5","portal"],"created_at":"2024-09-30T16:53:29.057Z","updated_at":"2026-01-05T06:50:46.662Z","avatar_url":"https://github.com/shabaz-ejaz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](http://www.knocktechbd.com/images/technology/laravel.png)\n\n# Laravel Grafite\n\nThis is a pre-packaged [Laravel](https://laravel.com/) 5.6.* project which uses [Grafite CMS](https://github.com/GrafiteInc/CMS)\n\n### What does this project include? ###\n\n* [Laravel Framework 5.6.*](https://laravel.com/)\n* [Grafite CMS](https://github.com/GrafiteInc/CMS)\n* [Grafite Builder for CRUD Scaffolding](https://github.com/GrafiteInc/Builder) \n* [GraphQL](https://github.com/Folkloreatelier/laravel-graphql)\n* [Datatables](https://github.com/yajra/laravel-datatables)\n* [Laravel-Excel](https://github.com/Maatwebsite/Laravel-Excel)\n* [Laravel Media Library](https://github.com/spatie/laravel-medialibrary)\n* [Laravel Passport API Authentication](https://laravel.com/docs/5.6/passport)\n* [Laravel Cashier for Stripe Billing](https://laravel.com/docs/5.6/billing)\n\n\n\n## Requirements\n\n- [Node](https://nodejs.org) 4.* or better\n- PHP 7.1.3 or better\n\n\n## Installation\n\nStart by installing dependencies:\n\n```sh\ncomposer install\n```\n\n\n```sh\nnpm install\n```\n\n\nPublish the assets:\n\n```sh\nphp artisan vendor:publish\n```\n\nGenerate an app key:\n\n```sh\nphp artisan key:generate\n```\n\nCreate a symbolic link from the public disk directory (this is required for images stored in public):\n```sh \nphp artisan storage:link\n```\n\n\n## Database\nConfigure a database:\nOpen the ```.env``` file in the root of the project and configure a database connection.\nIf the ```.env``` file does not exist then clone the ```.env.example``` file and rename it to ```.env```.\n\nRun migrations:\n```sh\nphp artisan migrate\n```\n\nSeed the database:\n```sh\nphp artisan db:seed\n```\n\nSet up Laravel Passport for api authentication:\n```sh\nphp artisan passport:install\n```\n\nThere should be a default admin account for you with the following credentials:\n\n* **Username**: admin@example.org or admin@example.com\n* **Password**: admin\n\n\n## Running\n\nOnce dependencies are installed, run with:\n\n```sh\nphp artisan serve\n```\nThis will open up a Laravel development server at localhost:8000\n\nIf you want to open multiple Laravel dev servers you can specify the port like this:\n\n```sh \nphp artisan serve --port=6060\n```\n\n## Admin Access\nLogin to Admin Panel by visiting: localhost:8000/login or if you've got a vhost set up then www.yoursite.com/login\n\n\n\n## CRUD Builder\nTo use the CRUD builder you need to run the following command:\n```sh\nphp artisan crudmaker:new Post --api --ui=bootstrap --migration --schema=\"id:increments,name:string,author:string\" --relationships=\"belongsToMany|\\App\\Models\\Tag|tags\"\n```\nYou can use the following options for the above command:\n```sh\nphp artisan crudmaker:new ModelName\n{--api} # if you want to generate REST api routes, controllers and middleware\n{--ui=bootstrap|semantic} # css style\n{--serviceOnly} # if you only want service classes generated\n{--withFacade} # fuck knows\n{--withoutViews}  # don't generate view files\n{--migration} # generate a migration script\n{--schema} # specify the schema data i.e. db columns\n{--relationships} # generate relationships\n```\nYou can view the full documentation for this [here](https://docs.grafite.ca/others/crud/)  \n\n\n## Using GraphQL\n\nUse [this article](http://www.qcode.in/build-api-for-twitter-like-app-using-graphql-in-laravel/) as a guide for setting up and using GraphQL as an API service\n\n## Cache\n\nLaravel configuration and app settings are cached in memory by default. You would near to clear the cache if you have made changes to the config files, expecially the ```.env``` file. To clear the cache you can run the following commands:\n\n**Clear config cache:** \n```php artisan config:clear```\n\n**Clear general cache:** \n```php artisan cache:clear```\n\n**Clear config cache and generate new cache file:**\n``` php artisan config:cache ```\n\nIf you are using ```php artisan serve``` to run your application then you'll need to restart it if you've made changes in any of the cached config files.\n\n## Running Tests\n\n**Run all tests:**\n```sh\n.\\vendor\\bin\\phpunit\n```\n\n**Run all tests from one class**\n```sh\n.\\vendor\\bin\\phpunit --filter MyTestClass\n```\n\n**Run single test method**\n```sh\n.\\vendor\\bin\\phpunit tests/Feature/{testfilename} \n\n.\\vendor\\bin\\phpunit tests/Unit/{testfilename} \n```\n\n## Laravel Architecture\n\n![Scheme](public/img/Lara-Rest.jpg)\n\n\n\n### Contribution guidelines ###\n\n* Writing tests\n* Code review\n* Other guidelines\n\n### Who do I talk to? ###\n\n* Repo owner or admin\n* Other community or team contact","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshabaz-ejaz%2Flaravel-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshabaz-ejaz%2Flaravel-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshabaz-ejaz%2Flaravel-cms/lists"}