Create a Laravel project if you do not already have one:
composer create-project laravel/laravel pagible
cd pagible
Configure the database connection and APP_URL in .env before installing the CMS. For Laravel's local server, use:
APP_URL=http://localhost:8000
Install PagibleAI CMS from the application directory:
composer require aimeos/pagible
php artisan cms:install
The installer publishes the package configuration and assets, prepares the database, runs the migrations, and creates the public storage link. You do not need to run the initial migration a second time.
A successful installation ends with:
Congratulations! You successfully set up Pagible CMS!
Fresh Laravel applications contain a static public/robots.txt file, which web servers deliver before Laravel receives the request. If it contains custom rules, copy them into the robots.txt configuration element of the root page and publish the page. Then remove the static file to enable the dynamic route, which also adds the sitemap and news sitemap URLs:
rm public/robots.txt
Alternatively, configure the web server to pass /robots.txt to Laravel even when the static file exists. The same applies to /security.txt, which is generated from the security configuration element of the root page, if you have a static public/security.txt file. See robots.txt, security.txt and Sitemaps for details.