A Laravel Admin Starter project with Page Builder, Roles, Impersonation, Analytics, Blog, News, Banners, FAQ, Testimonials and more

Overview

Laravel CMS Starter Project

A Laravel CMS Starter project with AdminLTE theme and core features.

Preview project here

What is New?

  • titan-starter
  • I have started from scratch an updated version. This version includes tests and Laravel 7 with Bootstrap 4.

Features / What it includes

  • Admin LTE admin theme
  • Members (website and admin users)
  • Google Analytics Reports (with charts)
  • Website Page Builder with 3 components (page content, photos, documents)
  • Log Website Activities (if contact us was submitted, etc)
  • Notifications (Laravel notifications)
  • Log Admin Activities (when admin create,edit,delete a resource)
  • Bootstrap Alerts and Form Error messages. bpocallaghan/alert
  • Flash a Notification after a CRUD resource action. bpocallaghan/notify
  • Generate crud resource, individual files. bpocallaghan/generators
  • Impersonate any of your customers. bpocallaghan/impersonate
  • Roles, Assign roles to the user and navigation to exlude navigation for a user.
  • Manage Blog, Banners, FAQ, Photos.
  • Reports with Chartjs

Setup (Basic)

  • composer create-project bpocallaghan/laravel-admin-starter:dev-master laravel-admin-starter
  • create your database
  • setup your virtual host (example: http://titan.local)
  • open .env and add database name and user
  • open database\seeds\UsersTableSeeder.php and set your admin user credentials
  • php titan:install` and complete the answers (setup app_name, app_author, app_url, etc)
  • The above command will set .env values, but you can manually edit it before running titan:install

Setup (Advanced)

TODO

Thank you

Note

  • I hardly maintain this repository anymore as all my free time goes into the new version: titan-starter
  • I do apologize about it (I still have live projects using this repository)

This is my starter project for most crud admin portals. I try to keep it clean, flexibly and friendly to use and to help the community. Please let me know about any issues or if you have any suggestions.

Change log

Please see the CHANGELOG for more information about changes.

My Packages Included

  • File Generators Laravel 5 File Generators with config and publishable stubs
  • Notify Laravel 5 Flash Notifications with icons and animations and with a timeout
  • Alert A helper package to flash a bootstrap alert to the browser via a Facade or a helper function.
  • Impersonate User This allows you to authenticate as any of your customers.
  • Sluggable Provides a HasSlug trait that will generate a unique slug when saving your Laravel Eloquent model.
Comments
  • Error on running the  php artisan db:seed

    Error on running the php artisan db:seed

    Hi

    I am stuck with the following error on running the php artisan db:seed

    [BadMethodCallException]
    Call to undefined method Illuminate\Database\Query\Builder::roles()

    please help me out to resolve the issue

    opened by gautham718 16
  • navigation_admin not found

    navigation_admin not found

    Hi , http://127.0.0.1:8000 = Works http://127.0.0.1:8000/admin =Does not work

    display error : "Whoops. Navigation not found - please see if url is in database (navigation_admin"

    thanks 👍

    opened by milimirstudio 7
  • FatalErrorException  Call to a member function getParentsAndYou() on null

    FatalErrorException Call to a member function getParentsAndYou() on null

    [2017-07-10 09:43:44] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to a member function getUrlParentsAndYou() on null' in C:\xampp\htdocs\laravel-admin-starter\vendor\bpocallaghan\titan\src\Controllers\TitanWebsiteController.php:138 Stack trace: #0 {main}
    [2017-07-10 09:44:00] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to a member function getParentsAndYou() on null' in C:\xampp\htdocs\laravel-admin-starter\vendor\bpocallaghan\titan\src\Controllers\TitanWebsiteController.php:135 Stack trace: #0 {main}

    opened by khaerul10056 7
  • Add Admin Navigation

    Add Admin Navigation

    Hi @truelogicapp

    Thank your trying out this package.

    You've created the new menu item (admin - settings - navigation) Then the new menu item appeared on the left and you clicked on it... - and now the error... I am sure you know this - but any admin navigation - needs a Controller / Model / Views and defined in the routes/web.php for it to work.

    Only the Website's Pages - can be managed from the admin via the page builder...

    Just want to check in before going further... :)

    help wanted 
    opened by bpocallaghan 6
  • Impersonate Package Still Using App\User

    Impersonate Package Still Using App\User

    First and foremost I would like to thank you for this wonderful project.

    The impersonate package is using the namespace App\User instead of App\Models\User which results to an error. Kindly check this out and fixx it

    opened by alhaji-aki 5
  • Controller not exist on new setup

    Controller not exist on new setup

    I just cloned and setting up in local. the setup went good and the website is good. but when trying to login or register it return error as below.

    ReflectionException (-1) Class Bpocallaghan\Titan\Http\Controllers\Auth\RegisterController does not exist

    Class Bpocallaghan\Titan\Http\Controllers\Auth\LoginController does not exist ReflectionException C:\xampp\htdocs\las\vendor\laravel\framework\src\Illuminate\Container\Container.php 779 [object Object]

    please someone help me if anything i missed out during the setup. maybe i need to add spmething in config folder?

    opened by mohd-aidi 4
  • Missing Namespace and Use declaration in the Admin/General controller group

    Missing Namespace and Use declaration in the Admin/General controller group

    There was some missing and improper declaration of the Admin/General controller group generating 'Missing Controller Class Error'.

    To correct the issue: In the file: .../routes/web.php Change line 132 to Route::group(['prefix' => 'general', 'namespace' => 'General'], function () {

    And correct the header all of the Admin/General controller group files. Proper namespace is for this group: namespace App\Http\Controllers\Admin\General;

    And all of the controllers in this group should have a line before the starting Class declaration: use App\Http\Controllers\Admin\AdminController;

    opened by trianity 4
  • CSRF token exception

    CSRF token exception

    Hello again. I forgot to mention about following problem I have encountered on some pages:

    The page has expired due to inactivity.

    Please refresh and try again.

    specifically it has triggered on banners page when user hits the save button which redirect to /admin/general/banners, I just took the screenshot below:

    2017-11-28_16-52-20

    extra : client console error message:

    Failed to load resource: the server responded with a status of 419 (unknown status)

    It might be CSRF token exception, I'm not sure.

    Best regards

    opened by cagcak 4
  • Api problem

    Api problem

    Hi , i was testing your project all working fine and after few test i was checking the api and i see is not working so when i try route:list

    C:\xampp\php\php.exe artisan route:list "/" "Whoops. Navigation not found - please see if url is in database (navigation_admin)"

    Process finished with exit code 1 at 18:10:41. Execution time: 1,413 ms.

    and if i dump-autoload

    C:\ProgramData\ComposerSetup\bin\composer.bat dump-autoload Generating optimized autoload files Warning: Ambiguous class resolution, "App\Events\ActivityWasTriggered" was found in both "C:/xampp/htdocs/app\Events\ActivityWasTriggered.php" and "C:/xampp/htdocs/app\Notifications\ActivityWasTriggered.php", the first will be used. Warning: Ambiguous class resolution, "App\Events\BaseEvent" was found in both "C:/xampp/htdocs/app\Events\BaseEvent.php" and "C:/xampp/htdocs/app\Notifications\BaseEvent.php", the first will be used. Warning: Ambiguous class resolution, "App\Events\ContactUsFeedback" was found in both "C:/xampp/htdocs/app\Events\ContactUsFeedback.php" and "C:/xampp/htdocs/app\Notifications\ContactUsFeedback.php", the first will be used. Warning: Ambiguous class resolution, "App\Events\UserRegistered" was found in both "C:/xampp/htdocs/app\Events\UserRegistered.php" and "C:/xampp/htdocs/app\Notifications\UserRegistered.php", the first will be used. Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover Discovered Package: nesbot/carbon Discovered Package: yajra/laravel-datatables-oracle Discovered Package: spatie/laravel-analytics Discovered Package: intervention/image Discovered Package: bpocallaghan/notify Discovered Package: bpocallaghan/impersonate Discovered Package: bpocallaghan/alert Discovered Package: fideloper/proxy Discovered Package: laravel/tinker Discovered Package: barryvdh/laravel-ide-helper Discovered Package: beyondcode/laravel-dump-server Discovered Package: bpocallaghan/generators Discovered Package: nunomaduro/collision Discovered Package: bpocallaghan/titan Package manifest generated successfully.

    Process finished with exit code 0 at 18:12:59. Execution time: 6,777 ms. i removed the file BaseEvent, ContactUsFeedback, UserRegistered, ActivityWasTriggered from Notifications and all working fine but i dont know why this file extracted there is problem with php artisan titan:publish --files=app??? normaly as i see from titan folder i mast to see ContactUsSubmitted, UserConfirmedAccount and UserRegistered but is not extracted

    Thanks

    opened by madzat 3
  • Admin CRUD always acts on FAQ Categories

    Admin CRUD always acts on FAQ Categories

    Hi, I am trying to use laravel-admin-starter, in an old 5.4 (dev-Laravel_5.4 Laravel_5.4) because I need to execute under PHP 5.6.4 due to my server limitation.

    It run ok, but in admin mode, always it stay on Categories, FAQ Categories.

    I selects on admin menu any option and always apears in breadcrumb, FAQ Categories. For example I selects from menu /admin/general/tags appears thes create Tags form and in the "+ Create" button appears "+ Create Category" if I clicks it, its invokes admin/general/tags/create but when I submits it, the system notifies me that a new FAQ Category was created. Yes! FAQ Category, no TAGS!

    The same occurs with other options.

    It is possible to correct that problem, in this old version?

    Can anyone help me?

    Do anyone have any suggestion?

    TIA

    opened by informas 3
  • install error with php artisan key:generate

    install error with php artisan key:generate

    Hello, I am trying to install the admin, but get the following warning.

    vagrant@homestead:~/code/lav$ composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdat ed dependencies. Run update to update them. Package operations: 100 installs, 0 updates, 0 removals

    I don't know how to "update" that, so i continued to the next step. php artisan key:generate

    I get these errors. PHP Warning: require(/home/vagrant/code/lav/vendor/autoload.php): failed to open stream: No such file or directory in /home/vagrant/code/lav/artisan on line 18

    Warning: require(/home/vagrant/code/lav/vendor/autoload.php): failed to open stream: No such file or directory in /home/vagrant/code/lav/artisan on line 18 PHP Fatal error: require(): Failed opening required '/home/vagrant/code/lav/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/vagrant/code/lav/artisan on line 18

    Fatal error: require(): Failed opening required '/home/vagrant/code/lav/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/vagrant/code/lav/artisan on line 18

    Please advice. Thank you

    opened by greenlevel 3
  • Feature requests

    Feature requests

    Hello @bpocallaghan

    I read on a previous issue that you want to rewrite the code from beginning.

    After successfully installing the site in homestead, I came across some questions which you maybe can take notice off when rewriting the project.

    • Loading time. Overall the site loads pretty fast, also admin. But sometimes it takes a bit when clicking on specific category or page. Is this normal and just the way laravel based sites loads? Or can it be made that it loads really fast. like click and 'bam' it's there (assuming that the content size is just normal of course).

    • I like it that you have integrated a gallery system in the admin, however i miss the option that you can reorder the images after uploading. I like the function that you can just reorder the images by moving them around with your mouse.

    • By the admin blog section. You have the gallery function on a different page. I prefer having everything on 1 page, so its faster to fill everything in and upload the images you want with the specific blog. Same as what you would have with a page when you add a gallery component it shows on the main edit page.

    • When adding images on a blog gallery. Instead having to refresh yourself, it's maybe nice that it refreshes automatic so you can see the results immediately. (when i uploaded the images, i overread your description, and was confused first what to do as i didn't see a 'save' button only a go back button.)

    • your overall site is pretty complete already. Both admin / front. The only main thing i miss is a search function in the front.

    Maybe there are some more points which would be a nice extra feature but this is what i noticed when just checking it out.

    But overall very good job on this admin package. The last week i have checked out many different packages (also big commercial ones) and all of them have their short comings. This is one of the nicest i came across.

    enhancement 
    opened by greenlevel 11
Releases(1.0.1)
Owner
Ben-Piet O'Callaghan
Full Stack Developer at GDC Media and Laravel Developer at Bookamat
Ben-Piet O'Callaghan
A blog website with blog details with laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

PreshDev 3 Mar 6, 2022
Projeto de um blog chamado Blog Codar feito durante o curso PHP: Do zero a maestria, ministrado pelo Matheus Baptisti

PJ- Blog Codar Este projeto é um blog fictício. Apesar de poder ser usado como um blog real, este projeto não tem conexão com banco de dados, então es

João Pedro Sassi Granado 4 Nov 5, 2021
Attempt to recreate kbmti news with laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Raihan Parama 2 Mar 21, 2022
Customize Login and Register Page for User/Admin in Laravel v8

Customize Login and Register Page for User/Admin in Laravel v8

Gaurang Kumar 1 Jan 28, 2022
This package is the official Laravel integration for Pirsch Analytics

Laravel Pirsch This package is the official Laravel integration for Pirsch Analytics. Installation Install this package. composer require pirsch-analy

Pirsch Analytics 13 Nov 10, 2022
A simple job posting application using PHP with an Admin Panel. Register, Login and create the job in apnel. The job gets posted on index page.

Jobee A simple job posting application using PHP with an Admin Panel. Register, Login and create the job in apnel. The job gets posted on index page.

Fahad Makhdoomi 2 Aug 27, 2022
Associate users with roles and permissions

Associate users with permissions and roles Sponsor If you want to quickly add authentication and authorization to Laravel projects, feel free to check

Spatie 10.9k Jan 1, 2023
Proyecto Start-Basic sobre Login y crud de usuarios, mediante Api Rest, usando la plantilla AdminLte 3.1 y manejo de roles y permisos con spatie y autenticacion JWT

Proyecto Start-Basic sobre Login y crud de usuarios, mediante Api Rest, usando la plantilla AdminLte 3.1 y manejo de roles y permisos con spatie y autenticacion JWT

null 9 Jul 5, 2022
this is cv-builder project in php and ajax

download the project make a database has name cv_builder extract the project in xampp/htdocs/ open the project localhost/cv_builder/index.php or use t

Hilal ahmad 6 Jun 21, 2022
Add a general-purpose tools page to your Filament project. 🛠

Add a general-purpose tools page to your Filament project. Installation You can install the package via Composer: composer require ryangjchandler/fila

Ryan Chandler 24 Dec 6, 2022
Simple project to send bulk comma-separated emails using laravel and messenger module from quick admin panel generator.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Novath Thomas 1 Dec 1, 2021
A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

Laravel MongoDB This package adds functionalities to the Eloquent model and Query builder for MongoDB, using the original Laravel API. This library ex

Jens Segers 6.3k Jan 7, 2023
A powerful form builder, for Laravel and other frameworks (stand-alone too)

Former A Laravelish way to create and format forms Former outputs form elements in HTML compatible with your favorite CSS framework (Bootstrap and Fou

null 1.3k Dec 22, 2022
A DynamoDB based Eloquent model and Query builder for Laravel.

Laravel DynamoDB A DynamoDB based Eloquent model and Query builder for Laravel. You can find an example implementation in kitar/simplechat. Motivation

Satoshi Kita 146 Jan 2, 2023
Generate and autoload custom Helpers, Builder Scope, Service class, Trait

laravel-make-extender Generate and autoload custom helpers, It can generate multilevel helpers in the context of the directory. Generate Service class

Limewell 30 Dec 24, 2022
HydePHP - Elegant and Powerful Static App Builder

HydePHP - Elegant and Powerful Static App Builder Make static websites, blogs, and documentation pages with the tools you already know and love. About

HydePHP 31 Dec 29, 2022
A WPDB wrapper and query builder library.

DB A WPDB wrapper and query builder library. Installation It's recommended that you install DB as a project dependency via Composer: composer require

StellarWP 35 Dec 15, 2022
Laravel Form builder for version 5+!

Laravel 5 form builder Form builder for Laravel 5 inspired by Symfony's form builder. With help of Laravels FormBuilder class creates forms that can b

Kristijan Husak 1.7k Dec 31, 2022
Provides a Eloquent query builder for Laravel or Lumen

This package provides an advanced filter for Laravel or Lumen model based on incoming requets.

M.Fouladgar 484 Jan 4, 2023